public interface YdtContext
| Modifier and Type | Method and Description |
|---|---|
YdtContext |
getFirstChild()
Returns the context of first child.
|
YdtContext |
getLastChild()
Returns the context of last child.
|
String |
getModuleNameAsNameSpace()
Returns module name as namespace.
|
String |
getName()
Returns the node name.
|
String |
getNamespace()
Returns the node namespace.
|
YdtContext |
getNextSibling()
Returns the context of next sibling.
|
YdtContext |
getParent()
Returns the context of parent node.
|
YdtContext |
getPreviousSibling()
Returns the context of previous sibling.
|
String |
getValue()
Returns value of node, this is only valid for single instance leaf
node, to obtain the nature of the node protocols need to use
getYdtType().
|
Set<String> |
getValueSet()
Returns set of values of a node, this is only valid for multi instance
leaf node, to obtain the nature of the node protocols need to use
getYdtType().
|
<T> T |
getYdtContextExtendedInfo()
Returns the YDT node extended context information corresponding to YDT
node.
|
YdtExtendedInfoType |
getYdtExtendedInfoType()
Returns YANG data tree extended information type.
|
YdtType |
getYdtType()
Returns the type of YDT entity.
|
String getName()
String getNamespace()
String getModuleNameAsNameSpace()
<T> T getYdtContextExtendedInfo()
T - specifies YMS operation specific extended information
associated with YDT context. It will be
YdtContextOperationType in case extended information type
is EDIT_REQUEST and will be YdtContextResponseInfo in case
extended information type is RESPONSE.YdtExtendedInfoType getYdtExtendedInfoType()
YdtType getYdtType()
YdtContext getParent()
YdtContext getFirstChild()
YdtContext getLastChild()
YdtContext getNextSibling()
YdtContext getPreviousSibling()
String getValue()