public class InstanceIdentifierCodec
extends org.opendaylight.yangtools.yang.data.util.AbstractModuleStringInstanceIdentifierCodec
implements org.opendaylight.yangtools.yang.model.api.SchemaContextListener
Constructor and Description |
---|
InstanceIdentifierCodec(org.opendaylight.controller.sal.core.api.model.SchemaService schemaService,
org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer bindingNormalizedNodeSerializer) |
Modifier and Type | Method and 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) |
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> |
bindingDeserializerOrNull(String iidString) |
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) |
createQName
public InstanceIdentifierCodec(org.opendaylight.controller.sal.core.api.model.SchemaService schemaService, org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer bindingNormalizedNodeSerializer)
protected org.opendaylight.yangtools.yang.data.util.DataSchemaContextTree getDataContextTree()
getDataContextTree
in class org.opendaylight.yangtools.yang.data.util.AbstractStringInstanceIdentifierCodec
protected org.opendaylight.yangtools.yang.model.api.Module moduleForPrefix(String prefix)
moduleForPrefix
in class org.opendaylight.yangtools.yang.data.util.AbstractModuleStringInstanceIdentifierCodec
public void onGlobalContextUpdated(org.opendaylight.yangtools.yang.model.api.SchemaContext schemaContext)
onGlobalContextUpdated
in interface org.opendaylight.yangtools.yang.model.api.SchemaContextListener
public String serialize(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
public org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier getYangInstanceIdentifier(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> bindingDeserializer(String iidString) throws org.opendaylight.yangtools.yang.data.impl.codec.DeserializationException
org.opendaylight.yangtools.yang.data.impl.codec.DeserializationException
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> bindingDeserializer(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier yangIID)
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> bindingDeserializerOrNull(String iidString)
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, @Nullable org.opendaylight.yangtools.yang.common.QNameModule arg2)
protected final org.opendaylight.yangtools.yang.common.QName parseQName(String arg0)
Copyright © 2018 OpenDaylight. All rights reserved.