Interface XmlCodec<T>
- Type Parameters:
T
- Normalized value type
- All Superinterfaces:
TypeAwareCodec<T,
NamespaceContext, XMLStreamWriter>
A codec capable of performing normalized value conversion with a
XMLStreamWriter
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeValue
(XMLStreamWriter ctx, T value) Serialize specified value with specified JsonWriter.Methods inherited from interface org.opendaylight.yangtools.yang.data.util.codec.TypeAwareCodec
getDataType, parseValue
-
Method Details
-
writeValue
Description copied from interface:TypeAwareCodec
Serialize specified value with specified JsonWriter.- Specified by:
writeValue
in interfaceTypeAwareCodec<T,
NamespaceContext, XMLStreamWriter> - Parameters:
ctx
- Write contextvalue
- Value in native format- Throws:
XMLStreamException
-