public interface BindingNormalizedNodeSerializer
Modifier and Type | Method and Description |
---|---|
@Nullable Map.Entry<InstanceIdentifier<?>,DataObject> |
fromNormalizedNode(@NonNull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path,
org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> data)
Translates supplied YANG Instance Identifier and NormalizedNode into Binding data.
|
<T extends RpcInput> |
fromNormalizedNodeActionInput(@NonNull Class<? extends Action<?,?,?>> action,
@NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode input)
Translates supplied ContainerNode action input.
|
<T extends RpcOutput> |
fromNormalizedNodeActionOutput(@NonNull Class<? extends Action<?,?,?>> action,
@NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode output)
Translates supplied ContainerNode action output.
|
@Nullable Notification |
fromNormalizedNodeNotification(@NonNull org.opendaylight.yangtools.yang.model.api.SchemaPath path,
@NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode data)
Translates supplied NormalizedNode Notification into Binding data.
|
@Nullable DataObject |
fromNormalizedNodeRpcData(@NonNull org.opendaylight.yangtools.yang.model.api.SchemaPath path,
@NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode data)
Translates supplied NormalizedNode RPC input or output into Binding data.
|
<T extends DataObject> |
fromYangInstanceIdentifier(@NonNull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier dom)
Translates supplied YANG Instance Identifier into Binding instance identifier.
|
default @NonNull BindingLazyContainerNode<RpcInput> |
toLazyNormalizedNodeActionInput(@NonNull Class<? extends Action<?,?,?>> action,
@NonNull RpcInput input)
Lazily translates supplied Binding action input into NormalizedNode data.
|
@NonNull BindingLazyContainerNode<RpcInput> |
toLazyNormalizedNodeActionInput(@NonNull Class<? extends Action<?,?,?>> action,
@NonNull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier identifier,
@NonNull RpcInput input)
Lazily translates supplied Binding action input into NormalizedNode data.
|
default @NonNull BindingLazyContainerNode<RpcOutput> |
toLazyNormalizedNodeActionOutput(@NonNull Class<? extends Action<?,?,?>> action,
@NonNull RpcOutput output)
Lazily translates supplied Binding action output into NormalizedNode data.
|
@NonNull BindingLazyContainerNode<RpcOutput> |
toLazyNormalizedNodeActionOutput(@NonNull Class<? extends Action<?,?,?>> action,
@NonNull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier identifier,
@NonNull RpcOutput output)
Lazily translates supplied Binding action output into NormalizedNode data.
|
<T extends DataObject> |
toNormalizedNode(InstanceIdentifier<T> path,
T data)
Translates supplied Binding Instance Identifier and data into NormalizedNode representation.
|
default @NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode |
toNormalizedNodeActionInput(@NonNull Class<? extends Action<?,?,?>> action,
@NonNull RpcInput input)
Translates supplied Binding action input into NormalizedNode data.
|
default @NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode |
toNormalizedNodeActionOutput(@NonNull Class<? extends Action<?,?,?>> action,
@NonNull RpcOutput output)
Translates supplied Binding action output into NormalizedNode data.
|
@NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode |
toNormalizedNodeNotification(@NonNull Notification data)
Translates supplied Binding Notification or output into NormalizedNode notification.
|
@NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode |
toNormalizedNodeRpcData(@NonNull DataContainer data)
Translates supplied Binding RPC input or output into NormalizedNode data.
|
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier |
toYangInstanceIdentifier(@NonNull InstanceIdentifier<?> binding)
Translates supplied Binding Instance Identifier into NormalizedNode instance identifier.
|
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier toYangInstanceIdentifier(@NonNull InstanceIdentifier<?> binding)
binding
- Binding Instance IdentifierIllegalArgumentException
- If supplied Instance Identifier is not valid.<T extends DataObject> @Nullable InstanceIdentifier<T> fromYangInstanceIdentifier(@NonNull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier dom)
dom
- YANG Instance Identifier<T extends DataObject> Map.Entry<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier,org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>> toNormalizedNode(InstanceIdentifier<T> path, T data)
path
- Binding Instance Identifier pointing to datadata
- Data object representing dataIllegalArgumentException
- If supplied Instance Identifier is not valid.@Nullable Map.Entry<InstanceIdentifier<?>,DataObject> fromNormalizedNode(@NonNull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path, org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> data)
path
- Binding Instance Identifierdata
- NormalizedNode representing data@Nullable Notification fromNormalizedNodeNotification(@NonNull org.opendaylight.yangtools.yang.model.api.SchemaPath path, @NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode data)
path
- Schema Path of Notification, schema path is absolute, and consists of Notification QName.data
- NormalizedNode representing data@Nullable DataObject fromNormalizedNodeRpcData(@NonNull org.opendaylight.yangtools.yang.model.api.SchemaPath path, @NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode data)
path
- Schema path of RPC data, Schema path consists of rpc QName and input / output QName.data
- NormalizedNode representing data@Beta <T extends RpcInput> T fromNormalizedNodeActionInput(@NonNull Class<? extends Action<?,?,?>> action, @NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode input)
action
- Binding action classinput
- ContainerNode representing dataNullPointerException
- if any of the arguments is null@Beta <T extends RpcOutput> T fromNormalizedNodeActionOutput(@NonNull Class<? extends Action<?,?,?>> action, @NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode output)
action
- Binding action classoutput
- ContainerNode representing dataNullPointerException
- if any of the arguments is null@NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode toNormalizedNodeNotification(@NonNull Notification data)
data
- NormalizedNode representing notification data@NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode toNormalizedNodeRpcData(@NonNull DataContainer data)
data
- NormalizedNode representing rpc data@Beta @NonNull BindingLazyContainerNode<RpcInput> toLazyNormalizedNodeActionInput(@NonNull Class<? extends Action<?,?,?>> action, @NonNull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier identifier, @NonNull RpcInput input)
action
- Binding action classinput
- Binding action inputNullPointerException
- if any of the arguments is null@Beta default @NonNull BindingLazyContainerNode<RpcInput> toLazyNormalizedNodeActionInput(@NonNull Class<? extends Action<?,?,?>> action, @NonNull RpcInput input)
action
- Binding action classinput
- Binding action inputNullPointerException
- if any of the arguments is null@Beta default @NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode toNormalizedNodeActionInput(@NonNull Class<? extends Action<?,?,?>> action, @NonNull RpcInput input)
action
- Binding action classinput
- Binding action inputNullPointerException
- if any of the arguments is null@Beta @NonNull BindingLazyContainerNode<RpcOutput> toLazyNormalizedNodeActionOutput(@NonNull Class<? extends Action<?,?,?>> action, @NonNull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier identifier, @NonNull RpcOutput output)
action
- Binding action classoutput
- Binding action output@Beta default @NonNull BindingLazyContainerNode<RpcOutput> toLazyNormalizedNodeActionOutput(@NonNull Class<? extends Action<?,?,?>> action, @NonNull RpcOutput output)
action
- Binding action classoutput
- Binding action output@Beta default @NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode toNormalizedNodeActionOutput(@NonNull Class<? extends Action<?,?,?>> action, @NonNull RpcOutput output)
output
- Binding action outputCopyright © 2019 OpenDaylight. All rights reserved.