Class InstanceIdentifierCodec
- java.lang.Object
-
- org.opendaylight.yangtools.concepts.AbstractCodec<P,I,X>
-
- org.opendaylight.yangtools.concepts.AbstractUncheckedCodec<P,I,IllegalArgumentException>
-
- org.opendaylight.yangtools.concepts.AbstractIllegalArgumentCodec<String,T>
-
- org.opendaylight.yangtools.yang.data.util.AbstractStringInstanceIdentifierCodec
-
- org.opendaylight.yangtools.yang.data.util.AbstractModuleStringInstanceIdentifierCodec
-
- org.opendaylight.ovsdb.hwvtepsouthbound.InstanceIdentifierCodec
-
- All Implemented Interfaces:
EventListener
,org.opendaylight.yangtools.concepts.Codec<String,org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,IllegalArgumentException>
,org.opendaylight.yangtools.concepts.Deserializer<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,String,IllegalArgumentException>
,org.opendaylight.yangtools.concepts.IllegalArgumentCodec<String,org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier>
,org.opendaylight.yangtools.concepts.Serializer<String,org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,IllegalArgumentException>
,org.opendaylight.yangtools.concepts.UncheckedCodec<String,org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,IllegalArgumentException>
,org.opendaylight.yangtools.concepts.UncheckedDeserializer<String,org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,IllegalArgumentException>
,org.opendaylight.yangtools.concepts.UncheckedSerializer<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,String,IllegalArgumentException>
,org.opendaylight.yangtools.yang.data.api.codec.InstanceIdentifierCodec<String>
,org.opendaylight.yangtools.yang.model.api.SchemaContextListener
public class InstanceIdentifierCodec extends org.opendaylight.yangtools.yang.data.util.AbstractModuleStringInstanceIdentifierCodec implements org.opendaylight.yangtools.yang.model.api.SchemaContextListener
-
-
Constructor Summary
Constructors Constructor Description InstanceIdentifierCodec(org.opendaylight.mdsal.dom.api.DOMSchemaService schemaService, org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer bindingNormalizedNodeSerializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringBuilder
appendQName(StringBuilder arg0, org.opendaylight.yangtools.yang.common.QName arg1)
protected StringBuilder
appendQName(StringBuilder arg0, org.opendaylight.yangtools.yang.common.QName arg1, org.opendaylight.yangtools.yang.common.QNameModule arg2)
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>
bindingDeserializer(String iidString)
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>
bindingDeserializer(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier yangIID)
protected org.opendaylight.yangtools.yang.data.util.DataSchemaContextTree
getDataContextTree()
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier
getYangInstanceIdentifier(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
protected org.opendaylight.yangtools.yang.model.api.Module
moduleForPrefix(String prefix)
void
onGlobalContextUpdated(org.opendaylight.yangtools.yang.model.api.SchemaContext schemaContext)
protected org.opendaylight.yangtools.yang.common.QName
parseQName(String arg0)
protected String
prefixForNamespace(URI namespace)
String
serialize(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
-
Methods inherited from class org.opendaylight.yangtools.yang.data.util.AbstractModuleStringInstanceIdentifierCodec
createQName
-
Methods inherited from class org.opendaylight.yangtools.yang.data.util.AbstractStringInstanceIdentifierCodec
createQName, deserializeImpl, deserializeKeyValue, serializeImpl
-
Methods inherited from class org.opendaylight.yangtools.concepts.AbstractCodec
deserialize, serialize
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
getDataContextTree
protected org.opendaylight.yangtools.yang.data.util.DataSchemaContextTree getDataContextTree()
- Specified by:
getDataContextTree
in classorg.opendaylight.yangtools.yang.data.util.AbstractStringInstanceIdentifierCodec
-
moduleForPrefix
protected org.opendaylight.yangtools.yang.model.api.Module moduleForPrefix(String prefix)
- Specified by:
moduleForPrefix
in classorg.opendaylight.yangtools.yang.data.util.AbstractModuleStringInstanceIdentifierCodec
-
onGlobalContextUpdated
public void onGlobalContextUpdated(org.opendaylight.yangtools.yang.model.api.SchemaContext schemaContext)
- Specified by:
onGlobalContextUpdated
in interfaceorg.opendaylight.yangtools.yang.model.api.SchemaContextListener
-
serialize
public String serialize(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
-
getYangInstanceIdentifier
public org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier getYangInstanceIdentifier(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
-
bindingDeserializer
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> bindingDeserializer(String iidString) throws org.opendaylight.yangtools.yang.data.impl.codec.DeserializationException
- Throws:
org.opendaylight.yangtools.yang.data.impl.codec.DeserializationException
-
bindingDeserializer
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> bindingDeserializer(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier yangIID)
-
appendQName
protected final StringBuilder appendQName(StringBuilder arg0, org.opendaylight.yangtools.yang.common.QName arg1)
-
appendQName
protected StringBuilder appendQName(StringBuilder arg0, org.opendaylight.yangtools.yang.common.QName arg1, org.opendaylight.yangtools.yang.common.QNameModule arg2)
-
parseQName
protected final org.opendaylight.yangtools.yang.common.QName parseQName(String arg0)
-
-