org.apache.ws.jaxme.util

Class HexBinary


public class HexBinary
extends java.lang.Object

Utility class for xs: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.

Method Details

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.

getClone

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