public class ConfKey extends ConfObject implements Cloneable, Serializable
J_BINARY, J_BIT32, J_BIT64, J_BITBIG, J_BOOL, J_BUF, J_CDBBEGIN, J_DATE, J_DATETIME, J_DECIMAL64, J_DEFAULT, J_DOUBLE, J_DQUAD, J_DURATION, J_ENUMERATION, J_HEXSTR, J_IDENTITYREF, J_INSTANCE_IDENTIFIER, J_INT16, J_INT32, J_INT64, J_INT8, J_IPV4, J_IPV4_AND_PLEN, J_IPV4PREFIX, J_IPV6, J_IPV6_AND_PLEN, J_IPV6PREFIX, J_LIST, J_NOEXISTS, J_OBJECTREF, J_OID, J_PTR, J_QNAME, J_STR, J_SYMBOL, J_TIME, J_UINT16, J_UINT32, J_UINT64, J_UINT8, J_UNION, J_XMLBEGIN, J_XMLBEGINDEL, J_XMLEND, J_XMLMOVEAFTER, J_XMLMOVEFIRST, J_XMLTAG
Constructor and Description |
---|
ConfKey(ConfEObject o) |
ConfKey(ConfObject o) |
ConfKey(ConfObject[] l) |
Modifier and Type | Method and Description |
---|---|
ConfObject |
elementAt(int i) |
ConfObject[] |
elements() |
ConfEObject |
encode() |
boolean |
equals(Object o)
Indicates whether a
ConfKey is "equal to" this. |
int |
hashCode() |
int |
length() |
void |
setPath(InstancePath path)
This method is only useful if at least one of the key elements is an
enumeration.
|
String |
toStrictlyQuotedString()
Returns a string representation of the ConfKey.
|
String |
toString()
Returns a string representation of the ConfKey.
|
clone, decode
public ConfKey(ConfObject o)
public ConfKey(ConfObject[] l)
public ConfKey(ConfEObject o) throws ConfException
ConfException
public ConfObject elementAt(int i)
public ConfObject[] elements()
public int length()
public boolean equals(Object o)
ConfKey
is "equal to" this.
A ConfKey
is equals this if its components
are equals.
equals
in class ConfObject
o
- the reference ConfKey
with which to compare.true
if this ConfKey
is the same as
the o argument; false
otherwise.public int hashCode()
hashCode
in class ConfObject
public String toStrictlyQuotedString()
public String toString()
ConfKey.toStrictlyQuotedString()
.toString
in class ConfObject
public ConfEObject encode()
encode
in class ConfObject
public void setPath(InstancePath path)