public class ConfXPath extends InstancePath
Class Representing an XPath path. This class only supports a restriction of the XPath 1.0 grammar.
| Constructor and Description | 
|---|
| ConfXPath(String xpath) | 
| ConfXPath(String xpath,
         MountIdInterface mountGetter) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o) | 
| ConfObject[] | getKP()
 Returns an array of  ConfTagandConfKeyobjects which represents the path in reverted order. | 
| int | hashCode()Returns a hash code value for the path. | 
| String | toKeyPathString()return this path as a keypath string. | 
| String | toString()return the Default String representation, which is the XPath string
 representation. | 
atoString, encode, encodeIKP, getCSNode, getLatestMountId, getMountIdGetter, isKey, isParsingDeferred, isRel, setMountIdGetter, toXPathStringpublic ConfXPath(String xpath) throws ConfException
ConfExceptionpublic ConfXPath(String xpath, MountIdInterface mountGetter) throws ConfException
ConfExceptionpublic boolean equals(Object o)
equals in class InstancePathpublic int hashCode()
InstancePathjava.util.Hashtable.
 The hash code is calculated from its component of ConfTag
 and ConfKey.hashCode in class InstancePathpublic ConfObject[] getKP()
 Returns an array of ConfTag and ConfKey
 objects which represents the path in reverted order.
 
 This method requires that the path is absolute and that
 the schema prefix for the root element is defined, if not
 a ConfException is thrown.
 The ConfKey is composed of the proper
 ConfValue types which are determined by the
 loaded schema. However, if this the schema information is not available,
 and the type therefore cannot be determined the key elements are
 defaulted to ConfBinary.
 
getKP in class InstancePathConfPathConfException - If schema information is not loaded,
         the path is not valid or the parsed path
         has no namespace information.public String toString()
toString in class InstancePathpublic String toKeyPathString()