Package introspector.model
Class EnumNode
java.lang.Object
introspector.model.AbstractNode
introspector.model.EnumNode
- All Implemented Interfaces:
Node,Serializable
EnumNode provides a Node implementation to represent any enum object.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the child node of the current node.booleanisLeaf()To know if a node is a leaf node.Methods inherited from class introspector.model.AbstractNode
compareTrees, equals, getChild, getChildrenCount, getClassName, getIndexOfChild, getName, getNodeDescription, getType, getValue, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface introspector.model.Node
compareTrees, getChild, getChildrenCount, getClassName, getIndexOfChild, getName, getNodeDescription, getType, getValue
-
Constructor Details
-
EnumNode
-
-
Method Details
-
isLeaf
public boolean isLeaf()Description copied from interface:NodeTo know if a node is a leaf node. -
getChildren
Description copied from class:AbstractNodeReturns the child node of the current node. Template method to implementNode.getChild(int),Node.getChildrenCount()andNode.getIndexOfChild(Object)- Specified by:
getChildrenin classAbstractNode- Returns:
- The children of this node (null if there are no children)
- See Also:
-