D - - tree node type@Beta public final class SchemaRootCodecContext<D extends TreeNode> extends DataContainerCodecContext<D,org.opendaylight.yangtools.yang.model.api.SchemaContext>
NodeCodecContext.CodecContextFactory| Modifier and Type | Method and Description | 
|---|---|
static SchemaRootCodecContext<?> | 
create(NodeCodecContext.CodecContextFactory factory)
Creates RootNode from supplied CodecContextFactory. 
 | 
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. 
 | 
NotificationCodecContext<?> | 
getNotification(Class<? extends Notification> notification)
Get notification as binding object of binding class. 
 | 
NotificationCodecContext<?> | 
getNotification(org.opendaylight.yangtools.yang.model.api.SchemaPath notification)
Get notification as binding object according to schema path of notification. 
 | 
ContainerNodeCodecContext<?> | 
getOperation(Class<? extends Instantiable<?>> operationInputOrOutput)
Get operation as binding object of binding class. 
 | 
OperationInputCodec<?> | 
getOperation(org.opendaylight.yangtools.yang.model.api.SchemaPath operation)
Get operation input as binding object according to schema path of operation. 
 | 
<E extends TreeNode> | 
possibleStreamChild(Class<E> childClass)
Returns child context as if it was walked by  
BindingStreamEventWriter. | 
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument | 
serializePathArgument(TreeArgument<?> arg)
Serializes path argument for current node. 
 | 
<C extends TreeNode> | 
streamChild(Class<C> childClass)
Returns child context as if it was walked by
  
BindingStreamEventWriter. | 
DataContainerCodecContext<?,?> | 
yangPathArgumentChild(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument arg)
Returns nested node context using supplied YANG Instance Identifier. 
 | 
bindingArg, bindingPathArgumentChild, childNonNull, childNonNull, childNonNull, createCachingCodec, createWriter, eventStreamSerializer, factory, getBindingClass, getBindingPathArgument, getDomPathArgument, getSchema, namespace, serialize, toString, writeAsNormalizedNodeaddYangPathArgumentpublic static SchemaRootCodecContext<?> create(NodeCodecContext.CodecContextFactory factory)
factory - - CodecContextFactory@Nonnull public <C extends TreeNode> DataContainerCodecContext<C,?> streamChild(@Nonnull Class<C> childClass) throws IllegalArgumentException
DataContainerCodecContextBindingStreamEventWriter. This means that to enter case, one
 must issue getChild(ChoiceClass).getChild(CaseClass).streamChild in interface BindingTreeNodeCodec<D extends TreeNode>streamChild in class DataContainerCodecContext<D extends TreeNode,org.opendaylight.yangtools.yang.model.api.SchemaContext>C - data typechildClass - input child classIllegalArgumentException - If supplied child class is not valid in specified context.public <E extends TreeNode> Optional<DataContainerCodecContext<E,?>> possibleStreamChild(@Nonnull Class<E> childClass)
DataContainerCodecContextBindingStreamEventWriter. This means that to enter
 case, one must issue getChild(ChoiceClass).getChild(CaseClass).possibleStreamChild in interface BindingTreeNodeCodec<D extends TreeNode>possibleStreamChild in class DataContainerCodecContext<D extends TreeNode,org.opendaylight.yangtools.yang.model.api.SchemaContext>E - data typechildClass - input child class@Nonnull public DataContainerCodecContext<?,?> yangPathArgumentChild(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument arg)
DataContainerCodecContextyangPathArgumentChild in interface BindingTreeNodeCodec<D extends TreeNode>yangPathArgumentChild in class DataContainerCodecContext<D extends TreeNode,org.opendaylight.yangtools.yang.model.api.SchemaContext>arg - Yang Instance Identifier 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>@Nullable public TreeArgument<?> deserializePathArgument(@Nullable org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument arg)
BindingTreeNodeCodecarg - - Yang Path Argument, may be null if Yang Instance Identifier
            does not have representation for current node (e.g. case)@Nullable public org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument serializePathArgument(@Nullable TreeArgument<?> arg)
BindingTreeNodeCodecarg - - Binding Path Argument, may be null if Binding Instance
            Identifier does not have representation for current node (e.g.
            choice or case)public ContainerNodeCodecContext<?> getOperation(Class<? extends Instantiable<?>> operationInputOrOutput)
operationInputOrOutput - - binding classpublic OperationInputCodec<?> getOperation(org.opendaylight.yangtools.yang.model.api.SchemaPath operation)
operation - - schema path of operationpublic NotificationCodecContext<?> getNotification(Class<? extends Notification> notification)
notification - - binding classpublic NotificationCodecContext<?> getNotification(org.opendaylight.yangtools.yang.model.api.SchemaPath notification)
notification - - schema path of notificationCopyright © 2019 OpenDaylight. All rights reserved.