Package introspector.model
Class BuiltinTypeNode
java.lang.Object
introspector.model.AbstractNode
introspector.model.BuiltinTypeNode
- All Implemented Interfaces:
Node,Serializable
BuiltinTypeNode provides a Node implementation to represent any value whose type is built-in.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBuiltinTypeNode(String name, Object value) BuiltinTypeNode(String name, Object value, Class<?> type) -
Method Summary
Modifier and TypeMethodDescriptionA builtin node has no children.booleanisLeaf()A builtin node is leaf.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
-
BuiltinTypeNode
- Parameters:
name- the name of the nodevalue- the object to be wrapped by the node- See Also:
-
BuiltinTypeNode
- Parameters:
name- the name of the nodevalue- the object to be wrapped by the nodetype- the type of the object wrapped by the node- See Also:
-
-
Method Details
-
isLeaf
public boolean isLeaf()A builtin node is leaf. -
getChildren
A builtin node has no children.- Specified by:
getChildrenin classAbstractNode- Returns:
- The children of this node (null if there are no children)
- See Also:
-