Class WebExpressionParser.AttributeElementListHandler

  • All Implemented Interfaces:
    org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
    Enclosing class:
    WebExpressionParser

    protected class WebExpressionParser.AttributeElementListHandler
    extends AbstractHandler
    • Constructor Detail

      • AttributeElementListHandler

        public AttributeElementListHandler​(SAXSupport _parser,
                                           WebNode parent)
      • AttributeElementListHandler

        public AttributeElementListHandler​(SAXSupport _parser,
                                           WebNode parent,
                                           boolean isUnitObject)
    • Method Detail

      • addAttributeElement

        protected void addAttributeElement​(java.lang.String elemId,
                                           java.lang.String elemDisplayName,
                                           java.lang.String elemConsolidationId)
      • doStartElement

        protected void doStartElement​(java.lang.String uri,
                                      java.lang.String local,
                                      java.lang.String qName,
                                      AttributesXt attrsXt)
                               throws java.lang.Exception
        Overrides:
        doStartElement in class AbstractHandler
        Throws:
        java.lang.Exception
      • doEndElement

        protected void doEndElement​(java.lang.String uri,
                                    java.lang.String local,
                                    java.lang.String qName)
                             throws java.lang.Exception
        Description copied from class: AbstractHandler
        Override this method insted of endElement to process end element event. This way you will not have problems with depth counter while subclassing your event handlers.
        Specified by:
        doEndElement in class AbstractHandler
        Throws:
        org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception
        java.lang.Exception