Class InstanceIdentifierCodec

java.lang.Object
org.opendaylight.yangtools.yang.data.api.codec.AbstractIllegalArgumentCodec<String,org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier>
org.opendaylight.yangtools.yang.data.util.AbstractStringInstanceIdentifierCodec
org.opendaylight.ovsdb.southbound.InstanceIdentifierCodec
All Implemented Interfaces:
org.opendaylight.yangtools.yang.data.api.codec.IllegalArgumentCodec<String,org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier>, org.opendaylight.yangtools.yang.data.api.codec.InstanceIdentifierCodec<String>

public class InstanceIdentifierCodec extends org.opendaylight.yangtools.yang.data.util.AbstractStringInstanceIdentifierCodec
  • Constructor Summary

    Constructors
    Constructor
    Description
    InstanceIdentifierCodec(org.opendaylight.mdsal.dom.api.DOMSchemaService schemaService, org.opendaylight.yangtools.binding.data.codec.api.BindingNormalizedNodeSerializer bindingNormalizedNodeSerializer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final 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<?>
     
    org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>
    bindingDeserializer(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier yangIID)
     
    org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>
     
    protected Object
    deserializeKeyValue(org.opendaylight.yangtools.yang.model.api.DataSchemaNode schemaNode, org.opendaylight.yangtools.yang.model.util.LeafrefResolver resolver, String value)
     
    protected org.opendaylight.yangtools.yang.data.util.DataSchemaContextTree
     
    org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier
    getYangInstanceIdentifier(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
     
    protected org.opendaylight.yangtools.yang.common.QNameModule
     
    protected final org.opendaylight.yangtools.yang.common.QName
     
    protected String
    prefixForNamespace(org.opendaylight.yangtools.yang.common.XMLNamespace namespace)
     
    serialize(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
     

    Methods inherited from class org.opendaylight.yangtools.yang.data.util.AbstractStringInstanceIdentifierCodec

    createQName, createQName, deserializeImpl, serializeImpl

    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
  • Constructor Details

    • InstanceIdentifierCodec

      public InstanceIdentifierCodec(org.opendaylight.mdsal.dom.api.DOMSchemaService schemaService, org.opendaylight.yangtools.binding.data.codec.api.BindingNormalizedNodeSerializer bindingNormalizedNodeSerializer)
  • Method Details

    • getDataContextTree

      protected org.opendaylight.yangtools.yang.data.util.DataSchemaContextTree getDataContextTree()
      Specified by:
      getDataContextTree in class org.opendaylight.yangtools.yang.data.util.AbstractStringInstanceIdentifierCodec
    • moduleForPrefix

      protected org.opendaylight.yangtools.yang.common.QNameModule moduleForPrefix(String prefix)
      Specified by:
      moduleForPrefix in class org.opendaylight.yangtools.yang.data.util.AbstractStringInstanceIdentifierCodec
    • prefixForNamespace

      protected String prefixForNamespace(org.opendaylight.yangtools.yang.common.XMLNamespace namespace)
    • deserializeKeyValue

      protected Object deserializeKeyValue(org.opendaylight.yangtools.yang.model.api.DataSchemaNode schemaNode, org.opendaylight.yangtools.yang.model.util.LeafrefResolver resolver, String value)
      Specified by:
      deserializeKeyValue in class org.opendaylight.yangtools.yang.data.util.AbstractStringInstanceIdentifierCodec
    • 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)
    • bindingDeserializerOrNull

      public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> bindingDeserializerOrNull(String iidString)
    • 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)