public interface TypeEncoder extends TypeCoder
| 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.
|
boolean isValid(Datatype datatype, Value value)
datatype - datatypevalue - valuevoid writeValue(QNameContext qnContext, EncoderChannel valueChannel, StringEncoder stringEncoder) throws IOException
qnContext - contextvalueChannel - encoder value channelstringEncoder - string encoderIOException - IO exceptionCopyright © 2018 Siemens AG. All rights reserved.