public class ConfHexString extends ConfValue implements Cloneable, Serializable, Comparable<ConfHexString>
hex-string type.
 A string of colon-separated hexa-decimal octets e.g. '4F:4C:41:71'.
A hex-list is defined as:
  hex-string {
     type string {
      pattern '([0-9a-fA-F]{2}(:[0-9a-fA-F]{2})*)?';
    }
  }
 
 A hexadecimal string with octets represented as hex digits
 separated by colons.  The canonical representation uses
 lowercase characters.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 | 
|---|
ConfHexString(byte[] val)
Construct a  
ConfHexString from a byte array. | 
ConfHexString(ConfBinary obj)
Constructs a  
ConfHexString from a ConfBinary
 object. | 
ConfHexString(ConfEObject o)  | 
ConfHexString(String str)
Construct a  
ConfHexString from a string  of bytes in the
 format of hexadecimal values separated with colons. | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
compareTo(ConfHexString o)  | 
ConfEObject | 
encode()
encode value. 
 | 
boolean | 
equals(Object o)
Determine if two ConfValue are equal. 
 | 
int | 
hashCode()
Returns a hash code value for the object. 
 | 
String | 
toString()
Returns string representation of a  
ConfHexString. | 
getStringByValue, getStringByValue, getValueByString, getValueByStringclone, decodepublic ConfHexString(String str) throws ConfException
ConfHexString from a string  of bytes in the
 format of hexadecimal values separated with colons.str - string representation of the ConfHexStringConfExceptionpublic ConfHexString(byte[] val)
ConfHexString from a byte array.val - byte array representation of the ConfHexStringpublic ConfHexString(ConfBinary obj)
ConfHexString from a ConfBinary
 object.obj - a ConfBinary objectpublic ConfHexString(ConfEObject o) throws ConfException
ConfExceptionpublic String toString()
ConfHexString.
 Format a HexString as hexadecimal values separated with colons, as for example: "00:4f:4c:41:ff".
public boolean equals(Object o)
ConfValuepublic int hashCode()
java.util.Hashtable.
 The hash code is calculated through the list of bytes that this
 ConfHexString holds.public ConfEObject encode()
ConfValuepublic int compareTo(ConfHexString o)
compareTo in interface Comparable<ConfHexString>