@Beta @NotThreadSafe public abstract class AbstractDataTreeModificationCursor extends Object implements org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModificationCursor
DataTreeModificationCursor
which tracks the current path. Subclasses can get the current path
via current()
.Constructor and Description |
---|
AbstractDataTreeModificationCursor() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier |
current() |
void |
enter(Iterable<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument> path) |
void |
enter(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument... path) |
void |
enter(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument child) |
void |
exit() |
void |
exit(int depth) |
Optional<org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>> |
readNode(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument child) |
protected final org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier current()
public final void enter(@Nonnull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument child)
enter
in interface org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeSnapshotCursor
public final void enter(@Nonnull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument... path)
enter
in interface org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeSnapshotCursor
public final void enter(@Nonnull Iterable<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument> path)
enter
in interface org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeSnapshotCursor
public final void exit()
exit
in interface org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeSnapshotCursor
public final void exit(int depth)
exit
in interface org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeSnapshotCursor
public final Optional<org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>> readNode(@Nonnull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument child)
readNode
in interface org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeSnapshotCursor
public void close()
close
in interface AutoCloseable
close
in interface org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeSnapshotCursor
Copyright © 2019 OpenDaylight. All rights reserved.