# com.bea.xml
XmlHexBinary Interface

public interface XmlHexBinary
extends `XmlAnySimpleType`

Corresponds to the XML Schema xs:hexBinary type.

Convertible to a byte array.

All Superinterfaces
  `XmlAnySimpleType`, `XmlObject`, `XmlTokenSource`

## Nested Class Summary

`public static final class` | `XmlHexBinary.Factory` A class with methods for creating instances of `XmlHexBinary```.

Nested classes from interface com.bea.xml`.`XmlAnySimpleType``
``XmlAnySimpleType.Factory``

Nested classes from interface com.bea.xml`.`XmlObject``
``XmlObject.Factory``

## Field Summary

`public static final `SchemaType`` | `type` The constant `SchemaType``` object representing this schema type.

Fields from interface com.bea.xml`.`XmlAnySimpleType``
``type``

Fields from interface com.bea.xml`.`XmlObject``
``EQUAL`, `GREATER_THAN`, `LESS_THAN`, `NOT_EQUAL`, `type``

## Method Summary

`public byte[]` | `byteArrayValue`() Returns this value as a byte array.
`public byte[]` | `getByteArrayValue`() Returns this value as a byte array.
`public void` | `set`(byte[] ba) Sets this value as a byte array.
`public void` | `setByteArrayValue`(byte[] ba) Sets this value as a byte array.

Methods from interface `com.bea.xml.`XmlAnySimpleType``
``getStringValue`, `set`, `setStringValue`, `stringValue``

Methods from interface `com.bea.xml.`XmlObject``
``changeType`, `compareTo`, `compareValue`, `copy`, `execQuery`, `execQuery`, `isImmutable`, `isNil`, `schemaType`, `selectPath`, `selectPath`, `set`, `setNil`, `toString`, `validate`, `validate`, `valueEquals`, `valueHashCode``

Methods from interface `com.bea.xml.`XmlTokenSource``
``documentProperties`, `monitor`, `newCursor`, `newDomNode`, `newDomNode`, `newInputStream`, `newInputStream`, `newReader`, `newReader`, `newXMLInputStream`, `newXMLInputStream`, `save`, `save`, `save`, `save`, `save`, `save`, `save`, `save`, `xmlText`, `xmlText``

## Field Detail

### type

    public static final SchemaType type

  The constant `SchemaType``` object representing this schema type.

## Method Detail

### byteArrayValue() Method

DEPRECATED replaced by `com.bea.xml.XmlHexBinary.getByteArrayValue()```

    public byte[] byteArrayValue()

Returns this value as a byte array.

### getByteArrayValue() Method

    public byte[] getByteArrayValue()

Returns this value as a byte array.

### set(byte[]) Method

DEPRECATED replaced by `com.bea.xml.XmlHexBinary.setByteArrayValue(byte[])```

    public void set(byte[] ba)

Sets this value as a byte array.

### setByteArrayValue(byte[]) Method

    public void setByteArrayValue(byte[] ba)

Sets this value as a byte array.