public class NodeBuilder extends BuilderSupport
Constructor and Description |
---|
NodeBuilder() |
Modifier and Type | Method and Description |
---|---|
protected Object |
createNode(Object name) |
protected Object |
createNode(Object name,
Map attributes) |
protected Object |
createNode(Object name,
Map attributes,
Object value) |
protected Object |
createNode(Object name,
Object value) |
protected Node |
getCurrentNode() |
static NodeBuilder |
newInstance() |
protected void |
setParent(Object parent,
Object child) |
doInvokeMethod, getCurrent, getName, invokeMethod, invokeMethod, nodeCompleted, postNodeCompletion, setClosureDelegate, setCurrent
getMetaClass, getProperty, setMetaClass, setProperty
public static NodeBuilder newInstance()
protected void setParent(Object parent, Object child)
setParent
in class BuilderSupport
protected Object createNode(Object name)
createNode
in class BuilderSupport
protected Object createNode(Object name, Object value)
createNode
in class BuilderSupport
protected Object createNode(Object name, Map attributes)
createNode
in class BuilderSupport
protected Object createNode(Object name, Map attributes, Object value)
createNode
in class BuilderSupport
protected Node getCurrentNode()