@Beta public abstract class DelegatingWriteCursorStrategy extends com.google.common.collect.ForwardingObject implements WriteCursorStrategy
WriteCursorStrategy
.Constructor and Description |
---|
DelegatingWriteCursorStrategy() |
Modifier and Type | Method and Description |
---|---|
protected DelegatingWriteCursorStrategy |
childStrategy()
Returns strategy to be used on child nodes.
|
protected abstract DOMDataTreeWriteCursor |
delegate() |
void |
delete(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument arg) |
WriteCursorStrategy |
enter(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument arg) |
void |
exit()
Operation performed to exit current logical level, default implementation calls
DOMDataTreeCursor.exit() on underlaying cursor. |
void |
merge(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument arg,
org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> data) |
void |
mergeToCurrent(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNodeContainer<?,?,?> data) |
void |
write(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument arg,
org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> data) |
void |
writeToCurrent(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNodeContainer<?,?,?> data) |
protected abstract DOMDataTreeWriteCursor delegate()
delegate
in class com.google.common.collect.ForwardingObject
protected DelegatingWriteCursorStrategy childStrategy()
public WriteCursorStrategy enter(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument arg)
enter
in interface WriteCursorStrategy
public void delete(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument arg)
delete
in interface WriteCursorStrategy
public void merge(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument arg, org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> data)
merge
in interface WriteCursorStrategy
public void write(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument arg, org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?> data)
write
in interface WriteCursorStrategy
public void mergeToCurrent(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNodeContainer<?,?,?> data)
mergeToCurrent
in interface WriteCursorStrategy
public void writeToCurrent(org.opendaylight.yangtools.yang.data.api.schema.NormalizedNodeContainer<?,?,?> data)
writeToCurrent
in interface WriteCursorStrategy
public void exit()
DOMDataTreeCursor.exit()
on underlaying cursor.
Subclasses may override this to customize exit strategy.
Copyright © 2019 OpenDaylight. All rights reserved.