com.jmex.xml.types
Class SchemaBinaryBase

java.lang.Object
  extended by com.jmex.xml.types.SchemaBinaryBase
All Implemented Interfaces:
SchemaType, SchemaTypeBinary, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
Direct Known Subclasses:
SchemaBase64Binary, SchemaHexBinary

public abstract class SchemaBinaryBase
extends java.lang.Object
implements SchemaTypeBinary

See Also:
Serialized Form

Field Summary
protected  boolean isempty
           
protected  boolean isnull
           
protected  byte[] value
           
 
Fields inherited from interface com.jmex.xml.types.SchemaTypeBinary
BINARY_VALUE_BASE64, BINARY_VALUE_HEX, BINARY_VALUE_UNDEFINED
 
Constructor Summary
SchemaBinaryBase()
           
 
Method Summary
 void assign(SchemaType newvalue)
           
 boolean booleanValue()
           
 int compareTo(java.lang.Object obj)
           
 int compareTo(SchemaBinaryBase obj)
           
 boolean equals(java.lang.Object obj)
           
 byte[] getValue()
           
 int hashCode()
           
 boolean isEmpty()
           
 boolean isNull()
           
 int length()
           
abstract  void parse(java.lang.String s)
           
 void setEmpty()
           
 void setNull()
           
 void setValue(byte[] newvalue)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.jmex.xml.types.SchemaTypeBinary
binaryType
 
Methods inherited from interface com.jmex.xml.types.SchemaType
toString
 

Field Detail

value

protected byte[] value

isempty

protected boolean isempty

isnull

protected boolean isnull
Constructor Detail

SchemaBinaryBase

public SchemaBinaryBase()
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

assign

public void assign(SchemaType newvalue)

getValue

public byte[] getValue()

setValue

public void setValue(byte[] newvalue)

parse

public abstract void parse(java.lang.String s)
Specified by:
parse in interface SchemaType

setNull

public void setNull()
Specified by:
setNull in interface SchemaType

setEmpty

public void setEmpty()
Specified by:
setEmpty in interface SchemaType

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

length

public int length()
Specified by:
length in interface SchemaType

booleanValue

public boolean booleanValue()
Specified by:
booleanValue in interface SchemaType

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface SchemaType

isNull

public boolean isNull()
Specified by:
isNull in interface SchemaType

compareTo

public int compareTo(java.lang.Object obj)
Specified by:
compareTo in interface java.lang.Comparable

compareTo

public int compareTo(SchemaBinaryBase obj)