protected static interface NodeCodecContext.CodecContextFactory
During lifetime of factory all calls for same arguments to method must return equal result (not necessary same instance of result).
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableMap<String,AnyxmlNodeCodecContext<?>> |
getAnyxmlNodes(Class<?> type,
org.opendaylight.yangtools.yang.model.api.DataNodeContainer schema)
Returns anyxml nodes for supplied data container and parent class.
|
TreeNodeSerializer |
getEventStreamSerializer(Class<?> type) |
com.google.common.collect.ImmutableMap<String,LeafNodeCodecContext<?>> |
getLeafNodes(Class<?> type,
org.opendaylight.yangtools.yang.model.api.DataNodeContainer schema)
Returns leaf nodes for supplied data container and parent class.
|
org.opendaylight.yangtools.concepts.Codec<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates,IdentifiableItem<?,?>> |
getPathArgumentCodec(Class<?> type,
org.opendaylight.yangtools.yang.model.api.ListSchemaNode schema)
Returns Path argument codec for list item.
|
BindingRuntimeContext |
getRuntimeContext()
Returns immutable runtime context associated with this factory.
|
BindingRuntimeContext getRuntimeContext()
com.google.common.collect.ImmutableMap<String,LeafNodeCodecContext<?>> getLeafNodes(Class<?> type, org.opendaylight.yangtools.yang.model.api.DataNodeContainer schema)
type
- Binding type for which leaves should be loaded.schema
- Instantiated schema of binding type.com.google.common.collect.ImmutableMap<String,AnyxmlNodeCodecContext<?>> getAnyxmlNodes(Class<?> type, org.opendaylight.yangtools.yang.model.api.DataNodeContainer schema)
type
- Binding type for which anyxml should be loaded.schema
- Instantiated schema of binding type.org.opendaylight.yangtools.concepts.Codec<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates,IdentifiableItem<?,?>> getPathArgumentCodec(Class<?> type, org.opendaylight.yangtools.yang.model.api.ListSchemaNode schema)
type
- Type of list itemschema
- Schema of list itemTreeNodeSerializer getEventStreamSerializer(Class<?> type)
Copyright © 2019 OpenDaylight. All rights reserved.