org.geotools.xml.impl
Class HexBinary

Object
  extended by HexBinary

public class HexBinary
extends Object

Utility class for xs:hexbinary.

Module:
modules/extension/xsd-core (gt-xsd-core.jar)

Constructor Summary
HexBinary()
           
 
Method Summary
static byte[] decode(String pValue)
          Converts the string pValue into an array of hex bytes.
static 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HexBinary

public HexBinary()
Method Detail

getClone

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


decode

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


encode

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



Copyright © 1996-2009 Geotools. All Rights Reserved.