D
- - type of tree node@Beta public final class NotificationCodecContext<D extends TreeNode & Notification> extends TreeNodeCodecContext<D,org.opendaylight.yangtools.yang.model.api.NotificationDefinition>
NodeCodecContext.CodecContextFactory
Constructor and Description |
---|
NotificationCodecContext(Class<?> key,
org.opendaylight.yangtools.yang.model.api.NotificationDefinition schema,
NodeCodecContext.CodecContextFactory factory)
Prepare context for notification from prototype.
|
Modifier and Type | Method and Description |
---|---|
D |
deserialize(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> data)
Converts from Normalized Node to Binding representation of data.
|
protected Object |
deserializeObject(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> normalizedNode) |
bindingPathArgumentChild, createBindingProxy, deserializePathArgument, getAllAugmentationsFrom, getAnyxmlChild, getBindingChildValue, getHashCodeAndEqualsMethods, getLeafChild, possibleStreamChild, serializePathArgument, streamChild, yangPathArgumentChild
bindingArg, childNonNull, childNonNull, childNonNull, createCachingCodec, createWriter, eventStreamSerializer, factory, getBindingClass, getBindingPathArgument, getDomPathArgument, getSchema, namespace, serialize, toString, writeAsNormalizedNode
addYangPathArgument
public NotificationCodecContext(Class<?> key, org.opendaylight.yangtools.yang.model.api.NotificationDefinition schema, NodeCodecContext.CodecContextFactory factory)
key
- - binding classschema
- - schema of notificationfactory
- - codec context factory@Nonnull public D deserialize(@Nonnull org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> data)
BindingNormalizedNodeCodec
data
- - Normalized Node representation of dataprotected Object deserializeObject(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> normalizedNode)
deserializeObject
in class NodeCodecContext<D extends TreeNode & Notification>
Copyright © 2019 OpenDaylight. All rights reserved.