Class ChainedDigester

    • Field Detail

      • _attrName

        private java.lang.String _attrName
        the attribute name that specify the digester class
      • _args

        private java.lang.Object[] _args
        the argument to pass the constructor of the dynamic digester
    • Constructor Detail

      • ChainedDigester

        public ChainedDigester​(java.lang.String name)
        Constructor
        Parameters:
        name - the name of element
      • ChainedDigester

        public ChainedDigester​(java.lang.String name,
                               java.lang.String attrName)
        Constructor
        Parameters:
        name - the element name
        attrName - the attr
      • ChainedDigester

        public ChainedDigester​(java.lang.String name,
                               java.lang.String attrName,
                               java.lang.Object[] args)
        Constructor
        Parameters:
        name - the element name
        attrName - the attribute the specifies the dynamic digester
        args - arguments to pass to constructor of the dynamic digester
    • Method Detail

      • startDigest

        public void startDigest​(SaxDigesterHandler handler,
                                org.xml.sax.Attributes attrs)
                         throws org.xml.sax.SAXException
        Start an element with the given attributes
        Specified by:
        startDigest in interface ElementDigester
        Overrides:
        startDigest in class DefaultDigester
        Parameters:
        handler - the handler
        attrs - the attributes
        Throws:
        org.xml.sax.SAXException - if there's handling exception