D - - type of tree node@Beta public final class CaseNodeCodecContext<D extends TreeNode> extends TreeNodeCodecContext<D,org.opendaylight.yangtools.yang.model.api.ChoiceCaseNode>
NodeCodecContext.CodecContextFactory| Constructor and Description | 
|---|
CaseNodeCodecContext(DataContainerCodecPrototype<org.opendaylight.yangtools.yang.model.api.ChoiceCaseNode> prototype)
Prepare context for choice case node from prototype. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
addYangPathArgument(TreeArgument arg,
                   List<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument> builder)
Serializes supplied Binding Path Argument
 and adds all necessary YANG instance identifiers to supplied list. 
 | 
D | 
deserialize(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> normalizedNode)
Converts from Normalized Node to Binding representation of data. 
 | 
protected Object | 
deserializeObject(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> normalizedNode)  | 
TreeArgument | 
deserializePathArgument(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument arg)
Deserializes path argument for current node. 
 | 
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument | 
serializePathArgument(TreeArgument arg)
Serializes path argument for current node. 
 | 
bindingPathArgumentChild, createBindingProxy, getAllAugmentationsFrom, getBindingChildValue, getHashCodeAndEqualsMethods, getLeafChild, possibleStreamChild, streamChild, yangPathArgumentChildbindingArg, childNonNull, childNonNull, childNonNull, createCachingCodec, createWriter, eventStreamSerializer, factory, getBindingClass, getBindingPathArgument, getDomPathArgument, getSchema, namespace, serialize, toString, writeAsNormalizedNodepublic CaseNodeCodecContext(DataContainerCodecPrototype<org.opendaylight.yangtools.yang.model.api.ChoiceCaseNode> prototype)
prototype - - codec prototype of choice case nodeprotected void addYangPathArgument(TreeArgument arg, List<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument> builder)
NodeCodecContextaddYangPathArgument in class NodeCodecContext<D extends TreeNode>arg - Binding Path Argumentbuilder - DOM Path argument.@Nonnull public D deserialize(@Nonnull org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> normalizedNode)
BindingNormalizedNodeCodecnormalizedNode - - Normalized Node representation of dataprotected Object deserializeObject(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> normalizedNode)
deserializeObject in class NodeCodecContext<D extends TreeNode>public org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument serializePathArgument(TreeArgument arg)
BindingTreeNodeCodecserializePathArgument in interface BindingTreeNodeCodec<D extends TreeNode>serializePathArgument in class TreeNodeCodecContext<D extends TreeNode,org.opendaylight.yangtools.yang.model.api.ChoiceCaseNode>arg - - Binding Path Argument, may be null if Binding Instance
            Identifier does not have representation for current node (e.g.
            choice or case)public TreeArgument deserializePathArgument(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument arg)
BindingTreeNodeCodecdeserializePathArgument in interface BindingTreeNodeCodec<D extends TreeNode>deserializePathArgument in class TreeNodeCodecContext<D extends TreeNode,org.opendaylight.yangtools.yang.model.api.ChoiceCaseNode>arg - - Yang Path Argument, may be null if Yang Instance Identifier
            does not have representation for current node (e.g. case)Copyright © 2018 OpenDaylight. All rights reserved.