Class BooleanStringCodec
- java.lang.Object
-
- org.opendaylight.yangtools.concepts.AbstractIllegalArgumentCodec<String,T>
-
- org.opendaylight.yangtools.yang.data.impl.codec.AbstractDataStringCodec<J>
-
- org.opendaylight.yangtools.yang.data.impl.codec.TypeDefinitionAwareCodec<Boolean,BooleanTypeDefinition>
-
- org.opendaylight.yangtools.yang.data.impl.codec.BooleanStringCodec
-
- All Implemented Interfaces:
IllegalArgumentCodec<String,Boolean>
,BooleanCodec<String>
,DataStringCodec<Boolean>
@Beta public final class BooleanStringCodec extends TypeDefinitionAwareCodec<Boolean,BooleanTypeDefinition> implements BooleanCodec<String>
Do not use this class outside of yangtools, its presence does not fall into the API stability contract.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Boolean
deserializeImpl(String product)
static @NonNull BooleanStringCodec
from(BooleanTypeDefinition normalizedType)
protected String
serializeImpl(Boolean input)
-
Methods inherited from class org.opendaylight.yangtools.yang.data.impl.codec.TypeDefinitionAwareCodec
from, fromType, getInputClass, getTypeDefinition
-
Methods inherited from class org.opendaylight.yangtools.concepts.AbstractIllegalArgumentCodec
deserialize, serialize
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.yangtools.concepts.IllegalArgumentCodec
deserialize, serialize
-
-
-
-
Method Detail
-
from
public static @NonNull BooleanStringCodec from(BooleanTypeDefinition normalizedType)
-
deserializeImpl
protected Boolean deserializeImpl(String product)
- Specified by:
deserializeImpl
in classAbstractIllegalArgumentCodec<String,Boolean>
-
serializeImpl
protected String serializeImpl(Boolean input)
- Specified by:
serializeImpl
in classAbstractIllegalArgumentCodec<String,Boolean>
-
-