public class XBHexBinary
extends java.lang.Object
Constructor and Description |
---|
XBHexBinary() |
Modifier and Type | Method and Description |
---|---|
static XBByteArray |
decodeXML(java.lang.String text)
Decode the given hexBinary value into a new XBByteArray.
|
static XBByteArray |
decodeXML(java.lang.String text,
XBByteArray bytes)
Decode the given hexBinary value into this object's byte array.
|
static void |
encodeXMLToStream(XBByteArray bytes,
java.io.Writer writer)
Encode this object's byte array into an XML text representation
directly onto the given stream.
|
static java.lang.String |
encodeXMLToString(XBByteArray bytes)
Encode this object's byte array into an XML text representation and
return that text.
|
public static XBByteArray decodeXML(java.lang.String text)
text
- XML text representation of hexBinary value.public static XBByteArray decodeXML(java.lang.String text, XBByteArray bytes)
text
- XML text representation of hexBinary value.bytes
- Receives the decoded value; will first be reset.
If null, a new XBByteArray will be created to decode into.public static java.lang.String encodeXMLToString(XBByteArray bytes)
bytes
- public static void encodeXMLToStream(XBByteArray bytes, java.io.Writer writer)
bytes
- writer
-