org.apache.tuscany.sca.databinding.impl
Class XSDDataTypeConverter.HexBinary

java.lang.Object
  extended by org.apache.tuscany.sca.databinding.impl.XSDDataTypeConverter.HexBinary
Enclosing class:
XSDDataTypeConverter

public static final class XSDDataTypeConverter.HexBinary
extends java.lang.Object

Utility class for xs:hexbinary.


Method Summary
static byte[] decode(java.lang.String pValue)
          Converts the string pValue into an array of hex bytes.
static java.lang.String encode(byte[] pHexBinary)
          Converts the byte array pHexBinary into a string.
static byte[] getClone(byte[] pHexBinary)
          Creates a clone of the given byte array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

decode

public static byte[] decode(java.lang.String pValue)
Converts the string pValue into an array of hex bytes.


encode

public static java.lang.String encode(byte[] pHexBinary)
Converts the byte array pHexBinary into a string.


getClone

public static byte[] getClone(byte[] pHexBinary)
Creates a clone of the given byte array.