Class DecimalStringCodec
java.lang.Object
org.opendaylight.yangtools.yang.data.api.codec.AbstractIllegalArgumentCodec<String,Decimal64>
org.opendaylight.yangtools.yang.data.impl.codec.AbstractDataStringCodec<Decimal64>
org.opendaylight.yangtools.yang.data.impl.codec.TypeDefinitionAwareCodec<Decimal64,DecimalTypeDefinition>
org.opendaylight.yangtools.yang.data.impl.codec.DecimalStringCodec
- All Implemented Interfaces:
DecimalCodec<String>
,IllegalArgumentCodec<String,
,Decimal64> 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
Modifier and TypeMethodDescriptionprotected 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, typeDefinition
Methods inherited from class org.opendaylight.yangtools.yang.data.api.codec.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.yang.data.api.codec.IllegalArgumentCodec
deserialize, serialize
-
Method Details
-
from
-
deserializeImpl
- Specified by:
deserializeImpl
in classAbstractIllegalArgumentCodec<String,
Decimal64>
-
serializeImpl
- Specified by:
serializeImpl
in classAbstractIllegalArgumentCodec<String,
Decimal64>
-