public class HiveMindBuilder extends groovy.xml.SAXBuilder
module descriptors
using a Groovy script. A
single Groovy script must only define one module descriptor.
The markup in the Groovy script is equivalent to the XML markup for module descriptors. The only
difference being that any dashes in element names and attribute names (which would confuse the
Groovy parser) are replaced by a camelCase notation. So for example
configuration-point
becomes configurationPoint
in a Groovy script.
Modifier and Type | Field and Description |
---|---|
static org.xml.sax.Locator |
GROOVY_LOCATOR |
Constructor and Description |
---|
HiveMindBuilder(org.xml.sax.ContentHandler parser) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStartElement(java.lang.Object name,
org.xml.sax.Attributes attributes) |
protected void |
nodeCompleted(java.lang.Object parent,
java.lang.Object node) |
createNode, createNode, createNode, createNode, handleException, setParent
doInvokeMethod, getCurrent, getName, invokeMethod, invokeMethod, postNodeCompletion, setClosureDelegate, setCurrent
public static final org.xml.sax.Locator GROOVY_LOCATOR
public HiveMindBuilder(org.xml.sax.ContentHandler parser)
protected void nodeCompleted(java.lang.Object parent, java.lang.Object node)
nodeCompleted
in class groovy.xml.SAXBuilder
protected void doStartElement(java.lang.Object name, org.xml.sax.Attributes attributes)
doStartElement
in class groovy.xml.SAXBuilder