Class AbstractStringUnionCodec
- java.lang.Object
-
- org.opendaylight.yangtools.concepts.AbstractIllegalArgumentCodec<String,Object>
-
- org.opendaylight.yangtools.yang.data.util.AbstractStringUnionCodec
-
- All Implemented Interfaces:
IllegalArgumentCodec<String,Object>
public abstract class AbstractStringUnionCodec extends AbstractIllegalArgumentCodec<String,Object>
-
-
Field Summary
Fields Modifier and Type Field Description protected DataSchemaNode
schema
protected UnionTypeDefinition
typeDefinition
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractStringUnionCodec(DataSchemaNode schema, UnionTypeDefinition typeDefinition)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract IllegalArgumentCodec<String,Object>
codecFor(TypeDefinition<?> type)
protected Object
deserializeImpl(String stringRepresentation)
protected String
serializeImpl(Object data)
-
Methods inherited from class org.opendaylight.yangtools.concepts.AbstractIllegalArgumentCodec
deserialize, serialize
-
-
-
-
Field Detail
-
schema
protected final DataSchemaNode schema
-
typeDefinition
protected final UnionTypeDefinition typeDefinition
-
-
Constructor Detail
-
AbstractStringUnionCodec
protected AbstractStringUnionCodec(DataSchemaNode schema, UnionTypeDefinition typeDefinition)
-
-
Method Detail
-
codecFor
protected abstract IllegalArgumentCodec<String,Object> codecFor(TypeDefinition<?> type)
-
deserializeImpl
protected Object deserializeImpl(String stringRepresentation)
- Specified by:
deserializeImpl
in classAbstractIllegalArgumentCodec<String,Object>
-
serializeImpl
protected final String serializeImpl(Object data)
- Specified by:
serializeImpl
in classAbstractIllegalArgumentCodec<String,Object>
-
-