@Beta public final class InstanceIdentifierCodec extends Object implements org.opendaylight.yangtools.concepts.Codec<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,InstanceIdentifier<?>>
Constructor and Description |
---|
InstanceIdentifierCodec(BindingCodecContext context)
Prepare codec context.
|
Modifier and Type | Method and Description |
---|---|
InstanceIdentifier<?> |
deserialize(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier input) |
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier |
serialize(InstanceIdentifier<?> input) |
public InstanceIdentifierCodec(BindingCodecContext context)
context
- - binding codec contextpublic org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier serialize(InstanceIdentifier<?> input)
serialize
in interface org.opendaylight.yangtools.concepts.Codec<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,InstanceIdentifier<?>>
serialize
in interface org.opendaylight.yangtools.concepts.Serializer<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,InstanceIdentifier<?>>
public InstanceIdentifier<?> deserialize(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier input)
deserialize
in interface org.opendaylight.yangtools.concepts.Codec<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,InstanceIdentifier<?>>
deserialize
in interface org.opendaylight.yangtools.concepts.Deserializer<InstanceIdentifier<?>,org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier>
Copyright © 2019 OpenDaylight. All rights reserved.