Class BinaryStringCodec
- 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<byte[],BinaryTypeDefinition>
-
- org.opendaylight.yangtools.yang.data.impl.codec.BinaryStringCodec
-
- All Implemented Interfaces:
IllegalArgumentCodec<String,byte[]>
,BinaryCodec<String>
,DataStringCodec<byte[]>
@Beta public abstract class BinaryStringCodec extends TypeDefinitionAwareCodec<byte[],BinaryTypeDefinition> implements BinaryCodec<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 byte[]
deserializeImpl(String product)
static BinaryStringCodec
from(BinaryTypeDefinition type)
protected String
serializeImpl(byte[] data)
-
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 BinaryStringCodec from(BinaryTypeDefinition type)
-
deserializeImpl
public final byte[] deserializeImpl(String product)
- Specified by:
deserializeImpl
in classAbstractIllegalArgumentCodec<String,byte[]>
-
serializeImpl
protected final String serializeImpl(byte[] data)
- Specified by:
serializeImpl
in classAbstractIllegalArgumentCodec<String,byte[]>
-
-