public abstract class ConfValue 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 |
---|
ConfValue() |
Modifier and Type | Method and Description |
---|---|
abstract ConfEObject |
encode()
encode value.
|
abstract boolean |
equals(Object o)
Determine if two ConfValue are equal.
|
static String |
getStringByValue(ConfPath path,
ConfValue val)
Get the string representation of a ConfValue at a given
position in the schema.
|
static String |
getStringByValue(String path,
ConfValue val)
Get the string representation of a ConfValue at a given
position in the schema.
|
static ConfValue |
getValueByString(ConfPath path,
String str)
Get a ConfValue representation a string at a given
position in the schema.
|
static ConfValue |
getValueByString(String path,
String str)
Get a ConfValue representation a string at a given
position in the schema.
|
abstract int |
hashCode() |
abstract String |
toString() |
clone, decode
public abstract String toString()
toString
in class ConfObject
public abstract boolean equals(Object o)
equals
in class ConfObject
o
- The object to compare to.public abstract int hashCode()
hashCode
in class ConfObject
public abstract ConfEObject encode()
encode
in class ConfObject
public static String getStringByValue(ConfPath path, ConfValue val) throws ConfException
path
- ConfPath representing the absolute
schema path to the elementval
- ConfValue subclass representing the valueConfException
public static String getStringByValue(String path, ConfValue val) throws ConfException
path
- String representing the absolute
schema path to the elementval
- ConfValue subclass representing the valueConfException
public static ConfValue getValueByString(ConfPath path, String str) throws ConfException
path
- ConfPath representing the absolute
schema path to the elementstr
- String representation of the valueConfException
public static ConfValue getValueByString(String path, String str) throws ConfException
path
- String representing the absolute
schema path to the elementstr
- String representation of the valueConfException