Package com.microstrategy.web.objects
Class WebExpressionParser.MetricQualHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- com.microstrategy.utils.xml.AbstractHandler
-
- com.microstrategy.web.objects.WebExpressionParser.MetricQualHandler
-
- 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.MetricQualHandler extends AbstractHandler
-
-
Field Summary
-
Fields inherited from class com.microstrategy.utils.xml.AbstractHandler
buf, depth, parser
-
-
Constructor Summary
Constructors Constructor Description MetricQualHandler(SAXSupport _parser, WebNode parent)
MetricQualHandler(SAXSupport _parser, WebNode parent, boolean isUnitObject)
MetricQualHandler(SAXSupport _parser, WebNode parent, boolean isUnitObject, AttributesXt attrsXt)
MetricQualHandler(SAXSupport _parser, WebNode parent, AttributesXt attrsXt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doEndElement(java.lang.String uri, java.lang.String local, java.lang.String qName)
Override this method insted ofendElement
to process end element event.protected void
doStartElement(java.lang.String uri, java.lang.String local, java.lang.String qName, AttributesXt attrsXt)
-
Methods inherited from class com.microstrategy.utils.xml.AbstractHandler
characters, clearText, doStartElement, endDocument, endElement, getFloatValue, getIntValue, getText, popContentHandler, setLogErrors, startElement
-
-
-
-
Constructor Detail
-
MetricQualHandler
public MetricQualHandler(SAXSupport _parser, WebNode parent)
-
MetricQualHandler
public MetricQualHandler(SAXSupport _parser, WebNode parent, AttributesXt attrsXt)
-
MetricQualHandler
public MetricQualHandler(SAXSupport _parser, WebNode parent, boolean isUnitObject)
-
MetricQualHandler
public MetricQualHandler(SAXSupport _parser, WebNode parent, boolean isUnitObject, AttributesXt attrsXt)
-
-
Method Detail
-
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 classAbstractHandler
- 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 ofendElement
to process end element event. This way you will not have problems with depth counter while subclassing your event handlers.- Specified by:
doEndElement
in classAbstractHandler
- Throws:
org.xml.sax.SAXException
- Any SAX exception, possibly wrapping another exceptionjava.lang.Exception
-
-