EXIficient

com.siemens.ct.exi.datatype
Class StringDatatype

java.lang.Object
  extended by com.siemens.ct.exi.datatype.AbstractDatatype
      extended by com.siemens.ct.exi.datatype.StringDatatype
All Implemented Interfaces:
Datatype

public class StringDatatype
extends AbstractDatatype

TODO Description

Version:
0.4.20080718
Author:
Daniel.Peintner.EXT@siemens.com, Joerg.Heuer@siemens.com

Constructor Summary
StringDatatype(javax.xml.namespace.QName datatypeIdentifier)
           
 
Method Summary
 boolean isValid(java.lang.String value)
           
 Value readValue(DecoderChannel valueChannel, StringDecoder stringDecoder, javax.xml.namespace.QName context)
           
 Value readValueRCS(RestrictedCharacterSetDatatype rcsDecoder, DecoderChannel valueChannel, StringDecoder stringDecoder, javax.xml.namespace.QName context)
           
 void writeValue(EncoderChannel valueChannel, StringEncoder stringEncoder, javax.xml.namespace.QName context)
           
 void writeValueRCS(RestrictedCharacterSetDatatype rcsEncoder, EncoderChannel valueChannel, StringEncoder stringEncoder, javax.xml.namespace.QName context)
           
 
Methods inherited from class com.siemens.ct.exi.datatype.AbstractDatatype
equals, getDatatypeIdentifier, getDefaultBuiltInType, getRestrictedCharacterSet, hashCode, isValidRCS, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringDatatype

public StringDatatype(javax.xml.namespace.QName datatypeIdentifier)
Method Detail

isValid

public boolean isValid(java.lang.String value)

writeValue

public void writeValue(EncoderChannel valueChannel,
                       StringEncoder stringEncoder,
                       javax.xml.namespace.QName context)
                throws java.io.IOException
Throws:
java.io.IOException

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
Overrides:
writeValueRCS in class AbstractDatatype
Throws:
java.io.IOException

readValue

public Value readValue(DecoderChannel valueChannel,
                       StringDecoder stringDecoder,
                       javax.xml.namespace.QName context)
                throws java.io.IOException
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
Overrides:
readValueRCS in class AbstractDatatype
Throws:
java.io.IOException

EXIficient