org.eclipse.higgins.idas
Class BasicValueHexBinary

Package class diagram package BasicValueHexBinary
java.lang.Object
  extended by org.eclipse.higgins.idas.AbstractLiteral
      extended by 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.
 
Method Summary
 String getCanonical()
          TODO: make sure this meets the canonical rules for xsd:base64Binary
 Object getData()
          Returns the ByteBuffer backing this value.
 String getLexical()
          Default implementation of getLexical calls toString() on the backing datatype.
 
Methods inherited from class org.eclipse.higgins.idas.AbstractLiteral
isLiteral
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.higgins.idas.IPropertyValue
isLiteral
 

Constructor Detail

BasicValueHexBinary

public BasicValueHexBinary(byte[] bytes)
Uses the specified byte array to build this object.

Parameters:
bytes - array of bytes used to back this object
Method Detail

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