public class DefaultYangTreeBuilder extends Object implements YangTreeBuilder
| Constructor and Description |
|---|
DefaultYangTreeBuilder()
Creates the YANG tree builder.
|
| Modifier and Type | Method and Description |
|---|---|
YdtExtendedBuilder |
getYdtBuilderForYo(List<Object> moduleObj,
String rootName,
String rootNameSpace,
YmsOperationType opType,
YangSchemaRegistry registry)
Returns the YDT builder after building the tree corresponding to the
response YANG object received from any of the protocol such as YAB or
YCH.
|
YdtExtendedContext |
getYdtForNotification(Object object,
String rootName,
YangSchemaRegistry registry)
Returns the YDT context after building the tree received from the
protocol YNH.
|
YdtExtendedBuilder |
getYdtForRpcResponse(Object outputObj,
YdtExtendedBuilder reqBuilder)
Returns the YDT context after building the RPC response tree.
|
public DefaultYangTreeBuilder()
public YdtExtendedBuilder getYdtBuilderForYo(List<Object> moduleObj, String rootName, String rootNameSpace, YmsOperationType opType, YangSchemaRegistry registry)
YangTreeBuildergetYdtBuilderForYo in interface YangTreeBuildermoduleObj - application module objectrootName - logical root node namerootNameSpace - logical root node namespaceopType - root node operation typeregistry - application schema registrypublic YdtExtendedContext getYdtForNotification(Object object, String rootName, YangSchemaRegistry registry)
YangTreeBuildergetYdtForNotification in interface YangTreeBuilderobject - application notification objectrootName - logical root node nameregistry - application schema registrypublic YdtExtendedBuilder getYdtForRpcResponse(Object outputObj, YdtExtendedBuilder reqBuilder)
YangTreeBuildergetYdtForRpcResponse in interface YangTreeBuilderoutputObj - application output objectreqBuilder - RPC request builder from YDT