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