public class LexicalTypeEncoder extends AbstractTypeEncoder
| Modifier and Type | Field and Description |
|---|---|
Datatype |
lastDatatype |
protected Value |
lastValue |
protected RestrictedCharacterSetDatatype |
rcsBase64Binary |
protected RestrictedCharacterSetDatatype |
rcsBoolean |
protected RestrictedCharacterSetDatatype |
rcsDateTime |
protected RestrictedCharacterSetDatatype |
rcsDecimal |
protected RestrictedCharacterSetDatatype |
rcsDouble |
protected RestrictedCharacterSetDatatype |
rcsHexBinary |
protected RestrictedCharacterSetDatatype |
rcsInteger |
protected RestrictedCharacterSetDatatype |
rcsString |
dtrMap, dtrMapInUse, dtrMapRepresentations, dtrMapRepresentationsDatatype, dtrMapTypes| Constructor and Description |
|---|
LexicalTypeEncoder() |
LexicalTypeEncoder(QName[] dtrMapTypes,
QName[] dtrMapRepresentations,
Map<QName,Datatype> dtrMapRepresentationsDatatype) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid(Datatype datatype,
Value value)
Checks whether given value is valid according to the datatype.
|
void |
writeValue(QNameContext qnContext,
EncoderChannel valueChannel,
StringEncoder stringEncoder)
Writes previously checked valid value to channel.
|
writeRCSValuegetDatatypeRepresentation, getDtrDatatype, updateDtrDatatypeprotected RestrictedCharacterSetDatatype rcsBase64Binary
protected RestrictedCharacterSetDatatype rcsHexBinary
protected RestrictedCharacterSetDatatype rcsBoolean
protected RestrictedCharacterSetDatatype rcsDateTime
protected RestrictedCharacterSetDatatype rcsDecimal
protected RestrictedCharacterSetDatatype rcsDouble
protected RestrictedCharacterSetDatatype rcsInteger
protected RestrictedCharacterSetDatatype rcsString
protected Value lastValue
public Datatype lastDatatype
public LexicalTypeEncoder()
throws EXIException
EXIExceptionpublic LexicalTypeEncoder(QName[] dtrMapTypes, QName[] dtrMapRepresentations, Map<QName,Datatype> dtrMapRepresentationsDatatype) throws EXIException
EXIExceptionpublic boolean isValid(Datatype datatype, Value value)
TypeEncoderdatatype - datatypevalue - valuepublic void writeValue(QNameContext qnContext, EncoderChannel valueChannel, StringEncoder stringEncoder) throws IOException
TypeEncoderqnContext - contextvalueChannel - encoder value channelstringEncoder - string encoderIOException - IO exceptionCopyright © 2018 Siemens AG. All rights reserved.