org.semanticweb.HermiT.datatypes.binarydata
Class BinaryData
java.lang.Object
org.semanticweb.HermiT.datatypes.binarydata.BinaryData
public class BinaryData
- extends java.lang.Object
Represents a binary data value.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
INT_TO_HEX
protected static final char[] INT_TO_HEX
HEX_TO_INT
protected static final int[] HEX_TO_INT
m_binaryDataType
protected final BinaryDataType m_binaryDataType
m_data
protected final byte[] m_data
m_hashCode
protected final int m_hashCode
BinaryData
public BinaryData(BinaryDataType binaryDataType,
byte[] data)
getBinaryDataType
public BinaryDataType getBinaryDataType()
getNumberOfBytes
public int getNumberOfBytes()
getByte
public byte getByte(int index)
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toHexBinary
protected java.lang.String toHexBinary()
parseHexBinary
public static BinaryData parseHexBinary(java.lang.String lexicalForm)
parseBase64Binary
public static BinaryData parseBase64Binary(java.lang.String lexicalForm)
removeWhitespace
protected static java.lang.String removeWhitespace(java.lang.String lexicalForm)