com.siemens.ct.exi.datatype
Class AbstractDatatype
java.lang.Object
com.siemens.ct.exi.datatype.AbstractDatatype
- All Implemented Interfaces:
- Datatype
- Direct Known Subclasses:
- AbstractBinaryDatatype, BigIntegerDatatype, BooleanDatatype, BooleanPatternDatatype, DatetimeDatatype, DecimalDatatype, DoubleDatatype, EnumerationDatatype, FloatDatatype, IntegerDatatype, ListDatatype, LongDatatype, NBitBigIntegerDatatype, NBitIntegerDatatype, NBitLongDatatype, RestrictedCharacterSetDatatype, StringDatatype, UnsignedBigIntegerDatatype, UnsignedIntegerDatatype, UnsignedLongDatatype
public abstract class AbstractDatatype
- extends java.lang.Object
- implements Datatype
TODO Description
- Version:
- 0.4.20081111
- Author:
- Daniel.Peintner.EXT@siemens.com, Joerg.Heuer@siemens.com
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
AbstractDatatype
public AbstractDatatype(BuiltInType builtInType,
javax.xml.namespace.QName datatypeIdentifier)
getDefaultBuiltInType
public BuiltInType getDefaultBuiltInType()
- Specified by:
getDefaultBuiltInType
in interface Datatype
getDatatypeIdentifier
public javax.xml.namespace.QName getDatatypeIdentifier()
- Specified by:
getDatatypeIdentifier
in interface Datatype
getRestrictedCharacterSet
public RestrictedCharacterSet getRestrictedCharacterSet()
- Specified by:
getRestrictedCharacterSet
in interface Datatype
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
isValidRCS
public boolean isValidRCS(java.lang.String value)
- Specified by:
isValidRCS
in interface Datatype
writeValueRCS
public void writeValueRCS(RestrictedCharacterSetDatatype rcsEncoder,
EncoderChannel valueChannel,
StringEncoder stringEncoder,
javax.xml.namespace.QName context)
throws java.io.IOException
- Specified by:
writeValueRCS
in interface Datatype
- Throws:
java.io.IOException
readValueRCS
public Value readValueRCS(RestrictedCharacterSetDatatype rcsDecoder,
DecoderChannel valueChannel,
StringDecoder stringDecoder,
javax.xml.namespace.QName context)
throws java.io.IOException
- Specified by:
readValueRCS
in interface Datatype
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object