public class LazySerializedContainerNode extends Object implements org.opendaylight.yangtools.yang.data.api.schema.ContainerNode
Modifier and Type | Method and Description |
---|---|
TreeNode |
bindingData()
Get binding data.
|
static org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> |
create(org.opendaylight.yangtools.yang.model.api.SchemaPath operationName,
TreeNode data,
BindingNormalizedNodeCodecRegistry codec)
Prepare serializer of binding data with specific codec.
|
Map<org.opendaylight.yangtools.yang.common.QName,String> |
getAttributes() |
Object |
getAttributeValue(org.opendaylight.yangtools.yang.common.QName name) |
Optional<org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>> |
getChild(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument child) |
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier |
getIdentifier() |
org.opendaylight.yangtools.yang.common.QName |
getNodeType() |
Collection<org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>> |
getValue() |
static org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> |
withContextRef(org.opendaylight.yangtools.yang.model.api.SchemaPath operationName,
TreeNode data,
org.opendaylight.yangtools.yang.data.api.schema.LeafNode<?> contextRef,
BindingNormalizedNodeCodecRegistry codec)
Prepare serializer of binding data with specific codec and pre-cached serialized leaf holding routing
information.
|
public static org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> create(org.opendaylight.yangtools.yang.model.api.SchemaPath operationName, TreeNode data, BindingNormalizedNodeCodecRegistry codec)
operationName
- - qname of operationdata
- - binding operationcodec
- - specifc codec for operationpublic static org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> withContextRef(org.opendaylight.yangtools.yang.model.api.SchemaPath operationName, TreeNode data, org.opendaylight.yangtools.yang.data.api.schema.LeafNode<?> contextRef, BindingNormalizedNodeCodecRegistry codec)
operationName
- - operation namedata
- - Binding datacontextRef
- - leaf context referencecodec
- - specific codecpublic Map<org.opendaylight.yangtools.yang.common.QName,String> getAttributes()
getAttributes
in interface org.opendaylight.yangtools.yang.data.api.AttributesContainer
public final org.opendaylight.yangtools.yang.common.QName getNodeType()
getNodeType
in interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier,Collection<org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>>>
public final Collection<org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>> getValue()
getValue
in interface org.opendaylight.yangtools.yang.data.api.schema.DataContainerNode<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier>
getValue
in interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier,Collection<org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>>>
getValue
in interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNodeContainer<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier,org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>>
@Nonnull public final org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier getIdentifier()
getIdentifier
in interface org.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier>
getIdentifier
in interface org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier,Collection<org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>>>
getIdentifier
in interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier,Collection<org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>>>
getIdentifier
in interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNodeContainer<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier,org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>>
public Optional<org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>> getChild(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument child)
getChild
in interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNodeContainer<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier,org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>>
public final Object getAttributeValue(org.opendaylight.yangtools.yang.common.QName name)
getAttributeValue
in interface org.opendaylight.yangtools.yang.data.api.AttributesContainer
public final TreeNode bindingData()
Copyright © 2019 OpenDaylight. All rights reserved.