public class BindingDOMDataTreeWriteCursorAdapter<T extends DOMDataTreeWriteCursor> extends Object implements DataTreeWriteCursor
| Constructor and Description |
|---|
BindingDOMDataTreeWriteCursorAdapter(DataTreeIdentifier<?> path,
T delegate,
BindingToNormalizedNodeCodec codec) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this cursor.
|
void |
delete(InstanceIdentifier.PathArgument child)
Delete the specified child.
|
void |
enter(InstanceIdentifier.PathArgument... path)
Move the cursor to the specified child of the current position.
|
void |
enter(InstanceIdentifier.PathArgument child)
Move the cursor to the specified child of the current position.
|
void |
enter(Iterable<InstanceIdentifier.PathArgument> path)
Move the cursor to the specified child of the current position.
|
void |
exit()
Move the cursor up to the parent of current position.
|
void |
exit(int depth)
Move the cursor up by specified amounts of steps from the current position.
|
protected BindingToNormalizedNodeCodec |
getCodec() |
T |
getDelegate() |
<P extends DataObject> |
merge(InstanceIdentifier.PathArgument child,
P data)
Merge the specified data with the currently-present data at specified path.
|
<P extends DataObject> |
write(InstanceIdentifier.PathArgument child,
P data)
Replace the data at specified path with supplied data.
|
public BindingDOMDataTreeWriteCursorAdapter(DataTreeIdentifier<?> path, T delegate, BindingToNormalizedNodeCodec codec)
public void delete(InstanceIdentifier.PathArgument child)
DataTreeWriteCursordelete in interface DataTreeWriteCursorchild - Child identifierpublic <P extends DataObject> void merge(InstanceIdentifier.PathArgument child, P data)
DataTreeWriteCursormerge in interface DataTreeWriteCursorchild - Child identifierdata - Data to be mergedpublic <P extends DataObject> void write(InstanceIdentifier.PathArgument child, P data)
DataTreeWriteCursorwrite in interface DataTreeWriteCursorchild - Child identifierdata - New node datapublic void enter(InstanceIdentifier.PathArgument child)
DataTreeCursorenter in interface DataTreeCursorchild - Child identifierpublic void enter(InstanceIdentifier.PathArgument... path)
DataTreeCursor#enter(PathArgument), except the operation is performed all
at once.enter in interface DataTreeCursorpath - Nested child identifierpublic void enter(Iterable<InstanceIdentifier.PathArgument> path)
DataTreeCursor#enter(PathArgument...), except it takes an Iterable argument.enter in interface DataTreeCursorpath - Nested child identifierpublic void exit()
DataTreeCursorexit(1).exit in interface DataTreeCursorpublic void exit(int depth)
DataTreeCursorDataTreeCursor.exit() multiple times, except the operation is performed
atomically.exit in interface DataTreeCursordepth - number of steps to exitpublic void close()
DataTreeCursorclose in interface AutoCloseableclose in interface DataTreeCursorpublic final T getDelegate()
getDelegate in interface org.opendaylight.yangtools.concepts.Delegator<T>protected final BindingToNormalizedNodeCodec getCodec()
Copyright © 2019 OpenDaylight. All rights reserved.