Class DecimalStringCodec
- 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<Decimal64,DecimalTypeDefinition>
-
- org.opendaylight.yangtools.yang.data.impl.codec.DecimalStringCodec
-
- All Implemented Interfaces:
IllegalArgumentCodec<String,Decimal64>
,DecimalCodec<String>
,DataStringCodec<Decimal64>
@Beta public final class DecimalStringCodec extends TypeDefinitionAwareCodec<Decimal64,DecimalTypeDefinition> implements DecimalCodec<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 Decimal64
deserializeImpl(String product)
static @NonNull DecimalStringCodec
from(DecimalTypeDefinition type)
protected String
serializeImpl(Decimal64 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 DecimalStringCodec from(DecimalTypeDefinition type)
-
deserializeImpl
protected Decimal64 deserializeImpl(String product)
- Specified by:
deserializeImpl
in classAbstractIllegalArgumentCodec<String,Decimal64>
-
serializeImpl
protected String serializeImpl(Decimal64 input)
- Specified by:
serializeImpl
in classAbstractIllegalArgumentCodec<String,Decimal64>
-
-