public class RegistryKey
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
RegistryKey(java.lang.String namespaceUri,
java.lang.String[] key)
For path /a/b/c and property 'x', put in
|
RegistryKey(java.lang.String namespaceUri,
java.lang.String[] path,
java.lang.String property)
A constructor to specifically declare the path and property portions of the key.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNamespaceUri() |
java.lang.String[] |
getPath() |
java.lang.String |
getProperty() |
int |
hashCode() |
java.lang.String |
toString() |
public RegistryKey(java.lang.String namespaceUri,
java.lang.String[] key)
"a", "b", "c", "x"The property can also be null as in
"a", "b", "c", null
namespaceUri - the key namespace to use. If left null then the
default will be used.key - the path elements followed by the property name.public RegistryKey(java.lang.String namespaceUri,
java.lang.String[] path,
java.lang.String property)
namespaceUri - the key namespace to use. If left null then the
default will be used.path - the path part of the keyproperty - the property name for the key. This may be null.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getNamespaceUri()
public java.lang.String[] getPath()
public java.lang.String getProperty()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.