public class YdtBuilderFromYo extends Object
| Constructor and Description |
|---|
YdtBuilderFromYo(YdtExtendedBuilder rootBuilder,
Object rootObj,
YangSchemaRegistry registry)
Creates YDT builder from YANG object by assigning the mandatory values.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createModuleAndRpcInYdt(YdtExtendedContext rootNode)
Creates the module and RPC node, in YDT tree, from the logical root
node received from request workbench.
|
void |
createModuleInYdt()
Creates the module node for in YDT before beginning with notification
root node traversal.
|
void |
createYdtFromRootObject()
Creates YDT tree from the root object, by traversing through YANG data
model node, and simultaneously checking the object nodes presence and
walking the object.
|
void |
getModuleNodeFromYsr(Object object)
Returns schema root node, received from YSR, which searches based on
the object received from YAB or YCH.
|
void |
getRootNodeWithNotificationFromYsr(Object object)
Returns schema root node, received from YSR, which searches based on
the object received from YNH.
|
public YdtBuilderFromYo(YdtExtendedBuilder rootBuilder, Object rootObj, YangSchemaRegistry registry)
rootBuilder - root node builderrootObj - root node objectregistry - application schema registrypublic void getModuleNodeFromYsr(Object object)
object - root node objectpublic void getRootNodeWithNotificationFromYsr(Object object)
object - notification event objectpublic void createModuleInYdt()
public void createModuleAndRpcInYdt(YdtExtendedContext rootNode)
rootNode - logical root nodepublic void createYdtFromRootObject()