Class AbstractStringUnionCodec
java.lang.Object
org.opendaylight.yangtools.yang.data.api.codec.AbstractIllegalArgumentCodec<String,Object>
org.opendaylight.yangtools.yang.data.util.AbstractStringUnionCodec
- All Implemented Interfaces:
IllegalArgumentCodec<String,
Object>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DataSchemaNode
protected final UnionTypeDefinition
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractStringUnionCodec
(DataSchemaNode schema, UnionTypeDefinition typeDefinition) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract IllegalArgumentCodec
<String, Object> codecFor
(TypeDefinition<?> type) protected Object
deserializeImpl
(String stringRepresentation) protected final String
serializeImpl
(Object data) Methods inherited from class org.opendaylight.yangtools.yang.data.api.codec.AbstractIllegalArgumentCodec
deserialize, serialize
-
Field Details
-
schema
-
typeDefinition
-
-
Constructor Details
-
AbstractStringUnionCodec
-
-
Method Details
-
codecFor
-
deserializeImpl
- Specified by:
deserializeImpl
in classAbstractIllegalArgumentCodec<String,
Object>
-
serializeImpl
- Specified by:
serializeImpl
in classAbstractIllegalArgumentCodec<String,
Object>
-