Package | Description |
---|---|
org.opendaylight.yangtools.yang.data.api | |
org.opendaylight.yangtools.yang.data.api.codec | |
org.opendaylight.yangtools.yang.data.api.schema |
Definition of normalized YANG DOM Model
Normalized DOM Model brings more direct mapping between YANG Model, DOM
representation of data
|
org.opendaylight.yangtools.yang.data.api.schema.tree | |
org.opendaylight.yangtools.yang.data.api.schema.xpath | |
org.opendaylight.yangtools.yang.data.impl.schema | |
org.opendaylight.yangtools.yang.data.util |
Modifier and Type | Field and Description |
---|---|
static YangInstanceIdentifier |
YangInstanceIdentifier.EMPTY
An empty
YangInstanceIdentifier . |
Modifier and Type | Method and Description |
---|---|
YangInstanceIdentifier |
YangInstanceIdentifier.InstanceIdentifierBuilder.build()
Builds an
YangInstanceIdentifier with path arguments from this builder. |
static YangInstanceIdentifier |
YangInstanceIdentifier.create(Iterable<? extends YangInstanceIdentifier.PathArgument> path) |
static YangInstanceIdentifier |
YangInstanceIdentifier.create(YangInstanceIdentifier.PathArgument... path) |
abstract YangInstanceIdentifier |
YangInstanceIdentifier.getAncestor(int depth)
Return the ancestor
YangInstanceIdentifier with a particular depth, e.g. |
abstract YangInstanceIdentifier |
YangInstanceIdentifier.getParent()
Return the conceptual parent
YangInstanceIdentifier , which has
one item less in getPathArguments() . |
YangInstanceIdentifier |
YangInstanceIdentifier.node(QName name)
Constructs a new Instance Identifier with new
YangInstanceIdentifier.NodeIdentifier added to the end of path arguments. |
YangInstanceIdentifier |
YangInstanceIdentifier.node(YangInstanceIdentifier.PathArgument arg)
Constructs a new Instance Identifier with new
YangInstanceIdentifier.PathArgument added to the end of path arguments. |
static YangInstanceIdentifier |
YangInstanceIdentifier.of(QName name)
Returns a new InstanceIdentifier with only one path argument of type
YangInstanceIdentifier.NodeIdentifier with supplied
QName. |
abstract YangInstanceIdentifier |
YangInstanceIdentifier.toOptimized()
Return an optimized version of this identifier, useful when the identifier
will be used very frequently.
|
Modifier and Type | Method and Description |
---|---|
Optional<YangInstanceIdentifier> |
YangInstanceIdentifier.relativeTo(YangInstanceIdentifier ancestor)
Get the relative path from an ancestor.
|
Modifier and Type | Method and Description |
---|---|
static YangInstanceIdentifier.InstanceIdentifierBuilder |
YangInstanceIdentifier.builder(YangInstanceIdentifier origin)
Returns new builder for InstanceIdentifier with path arguments copied from original instance identifier.
|
boolean |
YangInstanceIdentifier.contains(YangInstanceIdentifier other) |
Optional<YangInstanceIdentifier> |
YangInstanceIdentifier.relativeTo(YangInstanceIdentifier ancestor)
Get the relative path from an ancestor.
|
Modifier and Type | Method and Description |
---|---|
YangInstanceIdentifier |
InstanceIdentifierCodec.deserialize(T data) |
Modifier and Type | Method and Description |
---|---|
T |
InstanceIdentifierCodec.serialize(YangInstanceIdentifier data) |
Modifier and Type | Method and Description |
---|---|
YangInstanceIdentifier |
DuplicateEntry.getIdentifier() |
Modifier and Type | Method and Description |
---|---|
List<YangInstanceIdentifier> |
DuplicateEntry.getDuplicates() |
List<YangInstanceIdentifier> |
DuplicateEntry.getHardLinks() |
Modifier and Type | Method and Description |
---|---|
static Optional<NormalizedNode<?,?>> |
NormalizedNodes.findNode(NormalizedNode<?,?> tree,
YangInstanceIdentifier path) |
static Optional<NormalizedNode<?,?>> |
NormalizedNodes.findNode(YangInstanceIdentifier rootPath,
NormalizedNode<?,?> rootNode,
YangInstanceIdentifier childPath) |
Modifier and Type | Method and Description |
---|---|
YangInstanceIdentifier |
DataValidationFailedException.getPath()
Returns the offending object path.
|
YangInstanceIdentifier |
DataTreeCandidate.getRootPath()
Get the candidate tree root path.
|
YangInstanceIdentifier |
DataTree.getRootPath()
Get the root path of this data tree.
|
YangInstanceIdentifier |
DataTreeConfiguration.getRootPath() |
Modifier and Type | Method and Description |
---|---|
static <T extends StoreTreeNode<T>> |
StoreTreeNodes.findClosest(T tree,
YangInstanceIdentifier path)
Finds a node or closest parent in the tree.
|
static <T extends StoreTreeNode<T>> |
StoreTreeNodes.findClosestsOrFirstMatch(T tree,
YangInstanceIdentifier path,
Predicate<T> predicate) |
Modifier and Type | Method and Description |
---|---|
static void |
DataTreeCandidateNodes.applyRootedNodeToCursor(DataTreeModificationCursor cursor,
YangInstanceIdentifier rootPath,
DataTreeCandidateNode node)
Applies the
node that is rooted(doesn't have an identifier) in tree A to tree B's cursor
at location specified by rootPath . |
DataTreeSnapshotCursor |
CursorAwareDataTreeSnapshot.createCursor(YangInstanceIdentifier path)
Deprecated.
|
DataTreeModificationCursor |
CursorAwareDataTreeModification.createCursor(YangInstanceIdentifier path)
Deprecated.
|
void |
DataTreeModification.delete(YangInstanceIdentifier path)
Delete the node at specified path.
|
void |
SynchronizedDataTreeModification.delete(YangInstanceIdentifier path) |
static <T extends StoreTreeNode<T>> |
StoreTreeNodes.findClosest(T tree,
YangInstanceIdentifier path)
Finds a node or closest parent in the tree.
|
static <T extends StoreTreeNode<T>> |
StoreTreeNodes.findClosestsOrFirstMatch(T tree,
YangInstanceIdentifier path,
Predicate<T> predicate) |
static <T extends StoreTreeNode<T>> |
StoreTreeNodes.findNode(T tree,
YangInstanceIdentifier path)
Finds a node in tree.
|
static <T extends StoreTreeNode<T>> |
StoreTreeNodes.findNodeChecked(T tree,
YangInstanceIdentifier path) |
static @NonNull DataTreeCandidate |
DataTreeCandidates.fromNormalizedNode(YangInstanceIdentifier rootPath,
NormalizedNode<?,?> node) |
void |
DataTreeModification.merge(YangInstanceIdentifier path,
NormalizedNode<?,?> data)
Merge the specified data with the currently-present data
at specified path.
|
void |
SynchronizedDataTreeModification.merge(YangInstanceIdentifier path,
NormalizedNode<?,?> data) |
static @NonNull DataTreeCandidate |
DataTreeCandidates.newDataTreeCandidate(YangInstanceIdentifier rootPath,
DataTreeCandidateNode rootNode) |
default Optional<? extends DataTreeSnapshotCursor> |
CursorAwareDataTreeSnapshot.openCursor(YangInstanceIdentifier path)
Create a new
DataTreeSnapshotCursor at specified path. |
default Optional<? extends DataTreeModificationCursor> |
CursorAwareDataTreeModification.openCursor(YangInstanceIdentifier path)
Create a new
DataTreeModificationCursor at specified path. |
Optional<NormalizedNode<?,?>> |
DataTreeSnapshot.readNode(YangInstanceIdentifier path)
Read a particular node from the snapshot.
|
Optional<NormalizedNode<?,?>> |
SynchronizedDataTreeModification.readNode(YangInstanceIdentifier path) |
DataTreeConfiguration.Builder |
DataTreeConfiguration.Builder.setRootPath(YangInstanceIdentifier rootPath) |
void |
DataTreeModification.write(YangInstanceIdentifier path,
NormalizedNode<?,?> data)
Replace the data at specified path with supplied data.
|
void |
SynchronizedDataTreeModification.write(YangInstanceIdentifier path,
NormalizedNode<?,?> data) |
Modifier and Type | Method and Description |
---|---|
Optional<? extends XPathResult<?>> |
XPathExpression.evaluate(@NonNull XPathDocument document,
@NonNull YangInstanceIdentifier path)
Evaluate this expression at the specified path in a document.
|
com.google.common.util.concurrent.ListenableFuture<Optional<? extends XPathResult<?>>> |
LazyXPathExpression.evaluateLazily(XPathDocument document,
YangInstanceIdentifier path)
Deprecated.
Evaluate this expression at the specified path in a document.
|
Modifier and Type | Method and Description |
---|---|
static @NonNull NormalizedNode<?,?> |
ImmutableNodes.fromInstanceId(SchemaContext ctx,
YangInstanceIdentifier id)
Convert YangInstanceIdentifier into a normalized node structure.
|
static @NonNull NormalizedNode<?,?> |
ImmutableNodes.fromInstanceId(SchemaContext ctx,
YangInstanceIdentifier id,
NormalizedNode<?,?> deepestElement)
Convert YangInstanceIdentifier into a normalized node structure.
|
static @NonNull NormalizedNode<?,?> |
ImmutableNodes.fromInstanceId(SchemaContext ctx,
YangInstanceIdentifier id,
Optional<NormalizedNode<?,?>> deepestElement,
Optional<Map.Entry<QName,ModifyAction>> operation)
Convert YangInstanceIdentifier into a normalized node structure.
|
Modifier and Type | Method and Description |
---|---|
YangInstanceIdentifier |
AbstractStringInstanceIdentifierCodec.deserialize(String data) |
Modifier and Type | Method and Description |
---|---|
@NonNull Optional<DataSchemaContextNode<?>> |
DataSchemaContextTree.findChild(@NonNull YangInstanceIdentifier path)
Find a child node as identified by an absolute
YangInstanceIdentifier . |
@NonNull Optional<DataSchemaContextNode<?>> |
DataSchemaContextNode.findChild(@NonNull YangInstanceIdentifier path)
Find a child node as identified by a
YangInstanceIdentifier relative to this node. |
@Nullable DataSchemaContextNode<?> |
DataSchemaContextTree.getChild(YangInstanceIdentifier path)
Deprecated.
|
String |
AbstractStringInstanceIdentifierCodec.serialize(YangInstanceIdentifier data) |
Copyright © 2019 OpenDaylight. All rights reserved.