Package com.tailf.navu
Class NavuNodeInfo
Object
com.tailf.navu.NavuNodeInfo
This class contains meta information for a node.
- 
Constructor Summary
ConstructorsConstructorDescriptionCreates a NavuNodeInfo based on a schema node. - 
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the schema node from which the object is derive from.inthashCode()booleanisAction()Checks if a node is an action.booleanChecks if a node is an action parameter node.booleanChecks if a node is an action result node.booleanisCase()Checks if a node is top level of a case.booleanisCdb()booleanbooleanChecks if a node is a container node.booleanbooleanisLeaf()Checks if a node is a leaf node.booleanChecks if the node is a leaf-list node.booleanChecks if the node is a YANG 'leafref'.booleanisList()Checks if a node is a list node.booleanbooleanisModule()booleanisNotif()Checks if the node is a notificationbooleanisOper()booleanbooleanChecks if the node is writable.booleanChecks if the node is writable for all data.toString() 
- 
Constructor Details
- 
NavuNodeInfo
Creates a NavuNodeInfo based on a schema node.- Parameters:
 node-
 
 - 
 - 
Method Details
- 
isListEntry
public boolean isListEntry() - 
getCsNode
Returns the schema node from which the object is derive from.- Returns:
 - a given schema node.
 
 - 
getCSNode
 - 
isAction
public boolean isAction()Checks if a node is an action.- Returns:
 - true if it is an action.
 
 - 
isCase
public boolean isCase()Checks if a node is top level of a case.- Returns:
 - true if the node is part of a case.
 
 - 
isCdb
public boolean isCdb() - 
isContainer
public boolean isContainer()Checks if a node is a container node.- Returns:
 - true if the node is a container node.
 
 - 
isEmptyLeaf
public boolean isEmptyLeaf() - 
isLeaf
public boolean isLeaf()Checks if a node is a leaf node.- Returns:
 - true if the node is leaf node.
 
 - 
isLeafList
public boolean isLeafList()Checks if the node is a leaf-list node.- Returns:
 - true if the node is leaf-list node.
 
 - 
isList
public boolean isList()Checks if a node is a list node.- Returns:
 - true if the node is list node.
 
 - 
isActionParam
public boolean isActionParam()Checks if a node is an action parameter node.- Returns:
 - true if the node is an action parameter node.
 
 - 
isActionResult
public boolean isActionResult()Checks if a node is an action result node.- Returns:
 - true if the node is action result node.
 
 - 
isModule
public boolean isModule() - 
isWritable
public boolean isWritable()Checks if the node is writable.- Returns:
 - true if the node is writable.
 
 - 
isWritableAll
public boolean isWritableAll()Checks if the node is writable for all data.- Returns:
 - true if the node is writable for all data.
 
 - 
isNotif
public boolean isNotif()Checks if the node is a notification- Returns:
 - true if the node a notification
 
 - 
isLeafref
public boolean isLeafref()Checks if the node is a YANG 'leafref'.- Returns:
 - true if node is a YANG 'leafref'.
 
 - 
toString
 - 
isOper
public boolean isOper()- Returns:
 - true if node is OPER data.
 
 - 
printNodeType
 - 
getCSSchema
- Returns:
 - the schema of a module.
 
 - 
getCSSchemas
- Returns:
 - the schema of a module.
 
 - 
isRootOfModules
public boolean isRootOfModules()- Returns:
 - true if this is the true root above all loaded modules.
 
 - 
isChildNode
public boolean isChildNode()- Returns:
 - true is this is a child node, not a module or root of modules.
 
 - 
equals
 - 
hashCode
public int hashCode() 
 -