Package groovy.util
Class NodeBuilder
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.util.BuilderSupport
groovy.util.NodeBuilder
- All Implemented Interfaces:
GroovyObject
A helper class for creating nested trees of Node objects for
handling arbitrary data
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
createNode
(Object name) protected Object
createNode
(Object name, Object value) protected Object
createNode
(Object name, Map attributes) protected Object
createNode
(Object name, Map attributes, Object value) protected Node
static NodeBuilder
protected void
Methods inherited from class groovy.util.BuilderSupport
doInvokeMethod, getCurrent, getName, invokeMethod, invokeMethod, nodeCompleted, postNodeCompletion, setClosureDelegate, setCurrent
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClass
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface groovy.lang.GroovyObject
getProperty, setProperty
-
Constructor Details
-
NodeBuilder
public NodeBuilder()
-
-
Method Details
-
newInstance
-
setParent
- Specified by:
setParent
in classBuilderSupport
-
createNode
- Specified by:
createNode
in classBuilderSupport
-
createNode
- Specified by:
createNode
in classBuilderSupport
-
createNode
- Specified by:
createNode
in classBuilderSupport
-
createNode
- Specified by:
createNode
in classBuilderSupport
-
getCurrentNode
-