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.codec.xml | |
org.opendaylight.yangtools.yang.data.impl.schema | |
org.opendaylight.yangtools.yang.data.impl.schema.tree | |
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 |
---|---|
com.google.common.base.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) |
com.google.common.base.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 com.google.common.base.Optional<NormalizedNode<?,?>> |
NormalizedNodes.findNode(NormalizedNode<?,?> tree,
YangInstanceIdentifier path) |
static com.google.common.base.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 |
DataTreeConfiguration.getRootPath() |
YangInstanceIdentifier |
DataTreeCandidate.getRootPath()
Get the candidate tree root path.
|
YangInstanceIdentifier |
DataTree.getRootPath()
Get the root path of this data tree.
|
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,
com.google.common.base.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 . |
DataTree |
DataTreeFactory.create(TreeType treeType,
YangInstanceIdentifier rootPath)
Deprecated.
Use
DataTreeFactory.create(DataTreeConfiguration) instead. |
DataTreeSnapshotCursor |
CursorAwareDataTreeSnapshot.createCursor(YangInstanceIdentifier path)
Create a new
DataTreeSnapshotCursor at specified path. |
DataTreeModificationCursor |
CursorAwareDataTreeModification.createCursor(YangInstanceIdentifier path)
Create a new
DataTreeModificationCursor at specified path. |
void |
SynchronizedDataTreeModification.delete(YangInstanceIdentifier path) |
void |
DataTreeModification.delete(YangInstanceIdentifier path)
Delete the node at specified 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,
com.google.common.base.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 DataTreeCandidate |
DataTreeCandidates.fromNormalizedNode(YangInstanceIdentifier rootPath,
NormalizedNode<?,?> node) |
void |
SynchronizedDataTreeModification.merge(YangInstanceIdentifier path,
NormalizedNode<?,?> data) |
void |
DataTreeModification.merge(YangInstanceIdentifier path,
NormalizedNode<?,?> data)
Merge the specified data with the currently-present data
at specified path.
|
static DataTreeCandidate |
DataTreeCandidates.newDataTreeCandidate(YangInstanceIdentifier rootPath,
DataTreeCandidateNode rootNode) |
com.google.common.base.Optional<NormalizedNode<?,?>> |
SynchronizedDataTreeModification.readNode(YangInstanceIdentifier path) |
com.google.common.base.Optional<NormalizedNode<?,?>> |
DataTreeSnapshot.readNode(YangInstanceIdentifier path)
Read a particular node from the snapshot.
|
DataTreeConfiguration.Builder |
DataTreeConfiguration.Builder.setRootPath(YangInstanceIdentifier rootPath) |
void |
SynchronizedDataTreeModification.write(YangInstanceIdentifier path,
NormalizedNode<?,?> data) |
void |
DataTreeModification.write(YangInstanceIdentifier path,
NormalizedNode<?,?> data)
Replace the data at specified path with supplied data.
|
Constructor and Description |
---|
ConflictingModificationAppliedException(YangInstanceIdentifier path,
String message) |
ConflictingModificationAppliedException(YangInstanceIdentifier path,
String message,
Throwable cause) |
DataValidationFailedException(YangInstanceIdentifier path,
String message)
Create a new instance.
|
DataValidationFailedException(YangInstanceIdentifier path,
String message,
Throwable cause)
Create a new instance, initializing
|
IncorrectDataStructureException(YangInstanceIdentifier path,
String message) |
IncorrectDataStructureException(YangInstanceIdentifier path,
String message,
Throwable cause) |
ModifiedNodeDoesNotExistException(YangInstanceIdentifier path,
String message) |
ModifiedNodeDoesNotExistException(YangInstanceIdentifier path,
String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<? extends XPathResult<?>> |
XPathExpression.evaluate(XPathDocument document,
YangInstanceIdentifier path)
Evaluate this expression at the specified path in a document.
|
com.google.common.util.concurrent.CheckedFuture<com.google.common.base.Optional<? extends XPathResult<?>>,XPathExpressionException> |
LazyXPathExpression.evaluateLazily(XPathDocument document,
YangInstanceIdentifier path)
Deprecated.
Evaluate this expression at the specified path in a document.
|
Modifier and Type | Method and Description |
---|---|
static YangInstanceIdentifier |
InstanceIdentifierForXmlCodec.deserialize(Element element,
SchemaContext schemaContext) |
Modifier and Type | Method and Description |
---|---|
static Element |
InstanceIdentifierForXmlCodec.serialize(YangInstanceIdentifier id,
Element element,
SchemaContext context) |
void |
XmlStreamUtils.writeInstanceIdentifier(XMLStreamWriter writer,
YangInstanceIdentifier value) |
Modifier and Type | Method and Description |
---|---|
static NormalizedNode<?,?> |
ImmutableNodes.fromInstanceId(SchemaContext ctx,
YangInstanceIdentifier id)
Convert YangInstanceIdentifier into a normalized node structure
|
static NormalizedNode<?,?> |
ImmutableNodes.fromInstanceId(SchemaContext ctx,
YangInstanceIdentifier id,
NormalizedNode<?,?> deepestElement)
Convert YangInstanceIdentifier into a normalized node structure
|
static NormalizedNode<?,?> |
ImmutableNodes.fromInstanceId(SchemaContext ctx,
YangInstanceIdentifier id,
com.google.common.base.Optional<NormalizedNode<?,?>> deepestElement,
com.google.common.base.Optional<Map.Entry<QName,ModifyAction>> operation)
Convert YangInstanceIdentifier into a normalized node structure
|
Modifier and Type | Method and Description |
---|---|
TipProducingDataTree |
InMemoryDataTreeFactory.create(TreeType treeType,
YangInstanceIdentifier rootPath)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
YangInstanceIdentifier |
AbstractStringInstanceIdentifierCodec.deserialize(String data) |
Modifier and Type | Method and Description |
---|---|
DataSchemaContextNode<?> |
DataSchemaContextTree.getChild(YangInstanceIdentifier path) |
String |
AbstractStringInstanceIdentifierCodec.serialize(YangInstanceIdentifier data) |
Copyright © 2018 OpenDaylight. All rights reserved.