public class SAXBuilder extends BuilderSupport
Constructor and Description |
---|
SAXBuilder(ContentHandler handler) |
Modifier and Type | Method and Description |
---|---|
protected Object |
createNode(Object name) |
protected Object |
createNode(Object name,
Map attributes) |
protected Object |
createNode(Object name,
Map attributeMap,
Object text) |
protected Object |
createNode(Object name,
Object value) |
protected void |
doStartElement(Object name,
Attributes attributes) |
protected void |
handleException(SAXException e) |
protected void |
nodeCompleted(Object parent,
Object name)
A hook to allow nodes to be processed once they have had all of their
children applied.
|
protected void |
setParent(Object parent,
Object child) |
doInvokeMethod, getCurrent, getName, invokeMethod, invokeMethod, postNodeCompletion, setClosureDelegate, setCurrent
getMetaClass, getProperty, setMetaClass, setProperty
public SAXBuilder(ContentHandler handler)
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 attributeMap, Object text)
createNode
in class BuilderSupport
protected void doStartElement(Object name, Attributes attributes)
protected void nodeCompleted(Object parent, Object name)
BuilderSupport
nodeCompleted
in class BuilderSupport
parent
- the parent of the node being processedname
- the current node being processedprotected void handleException(SAXException e)
protected Object createNode(Object name, Map attributes)
createNode
in class BuilderSupport