public class ChainedDigester extends AbstractElementCreatorDigester
Modifier and Type | Field and Description |
---|---|
private java.lang.Object[] |
_args
the argument to pass the constructor of the dynamic digester
|
private java.lang.String |
_attrName
the attribute name that specify the digester class
|
Constructor and Description |
---|
ChainedDigester(java.lang.String name)
Constructor
|
ChainedDigester(java.lang.String name,
java.lang.String attrName)
Constructor
|
ChainedDigester(java.lang.String name,
java.lang.String attrName,
java.lang.Object[] args)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
startDigest(SaxDigesterHandler handler,
org.xml.sax.Attributes attrs)
Start an element with the given attributes
|
addListener, endDigest, getCreatedElement, removeListener, setCreatedElement
characters, getElementName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
characters, getElementName
private java.lang.String _attrName
private java.lang.Object[] _args
public ChainedDigester(java.lang.String name)
name
- the name of elementpublic ChainedDigester(java.lang.String name, java.lang.String attrName)
name
- the element nameattrName
- the attrpublic ChainedDigester(java.lang.String name, java.lang.String attrName, java.lang.Object[] args)
name
- the element nameattrName
- the attribute the specifies the dynamic digesterargs
- arguments to pass to constructor of the dynamic digesterpublic void startDigest(SaxDigesterHandler handler, org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
startDigest
in interface ElementDigester
startDigest
in class DefaultDigester
handler
- the handlerattrs
- the attributesorg.xml.sax.SAXException
- if there's handling exception