public interface YdtExtendedBuilder extends YdtBuilder
| Modifier and Type | Method and Description |
|---|---|
YdtExtendedContext |
addChild(YdtContextOperationType opType,
org.onosproject.yangutils.datamodel.YangSchemaNode yangSchemaNode)
Adds a last child to YANG data tree; this method is to be used by
YANG object builder.
|
YdtExtendedContext |
addLeaf(String value,
org.onosproject.yangutils.datamodel.YangSchemaNode yangSchemaNode)
Adds a last leaf to YANG data tree; this method is to be used by
YANG object builder.
|
YdtExtendedContext |
addLeafList(Set<String> valueSet,
org.onosproject.yangutils.datamodel.YangSchemaNode yangSchemaNode)
Adds a last leaf list to YANG data tree; this method is to be used by
YANG object builder.
|
YdtExtendedContext |
getCurNode()
Returns the current context information available in YDT node.
|
YdtExtendedContext |
getRootNode()
Returns the root context information available in YDT node.
|
void |
traverseToParentWithoutValidation()
Traverses up in YANG data tree to the parent node, it is to be used when
protocol is using extended context type and wanted to traverse
up the tree without doing any validation.
|
addChild, addChild, addChild, addChild, addLeaf, addLeaf, addMultiInstanceChild, getRootTagAttributeMap, setDefaultEditOperationType, setRootTagAttributeMap, traverseToParentgetYmsOperationTypeYdtExtendedContext addChild(YdtContextOperationType opType, org.onosproject.yangutils.datamodel.YangSchemaNode yangSchemaNode)
yangSchemaNode - schema node from YANG metadataopType - type of requested operation over a nodeYdtExtendedContext addLeafList(Set<String> valueSet, org.onosproject.yangutils.datamodel.YangSchemaNode yangSchemaNode)
valueSet - list of value of the childyangSchemaNode - schema node from YANG metadataYdtExtendedContext addLeaf(String value, org.onosproject.yangutils.datamodel.YangSchemaNode yangSchemaNode)
value - value of the childyangSchemaNode - schema node from YANG metadatavoid traverseToParentWithoutValidation()
throws IllegalStateException
IllegalStateException - when user request for traverse to logical
root node parentYdtExtendedContext getRootNode()
YdtgetRootNode in interface YdtYdtExtendedContext getCurNode()
YdtBuildergetCurNode in interface YdtBuilder