org.eclipse.higgins.idas
Class BasicValueHexBinary
java.lang.Object
org.eclipse.higgins.idas.AbstractLiteral
org.eclipse.higgins.idas.BasicValueHexBinary
- All Implemented Interfaces:
- ILiteral, IPropertyValue
public class BasicValueHexBinary
- extends AbstractLiteral
- implements ILiteral
Constructor Summary |
BasicValueHexBinary(byte[] bytes)
Uses the specified byte array to build this object. |
BasicValueHexBinary
public BasicValueHexBinary(byte[] bytes)
- Uses the specified byte array to build this object.
- Parameters:
bytes
- array of bytes used to back this object
getLexical
public String getLexical()
throws IdASException
- Description copied from class:
AbstractLiteral
- Default implementation of getLexical calls toString() on the backing datatype.
- Specified by:
getLexical
in interface ILiteral
- Overrides:
getLexical
in class AbstractLiteral
- Throws:
IdASException
getCanonical
public String getCanonical()
throws IdASException
- TODO: make sure this meets the canonical rules for xsd:base64Binary
- Specified by:
getCanonical
in interface ILiteral
- Overrides:
getCanonical
in class AbstractLiteral
- Throws:
IdASException
getData
public Object getData()
throws IdASException
- Returns the
ByteBuffer
backing this value.
- Specified by:
getData
in interface ILiteral
- Specified by:
getData
in interface IPropertyValue
- Throws:
IdASException