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, setCreatedElementcharacters, getElementNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharacters, getElementNameprivate 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 ElementDigesterstartDigest in class DefaultDigesterhandler - the handlerattrs - the attributesorg.xml.sax.SAXException - if there's handling exception