Package com.microstrategy.web.app.tasks
Class ImportSaveRWDTask.ImportDashboardResultHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- com.microstrategy.utils.xml.AbstractHandler
-
- com.microstrategy.web.app.tasks.ImportSaveRWDTask.ImportDashboardResultHandler
-
- All Implemented Interfaces:
org.xml.sax.ContentHandler
,org.xml.sax.DTDHandler
,org.xml.sax.EntityResolver
,org.xml.sax.ErrorHandler
- Enclosing class:
- ImportSaveRWDTask
protected class ImportSaveRWDTask.ImportDashboardResultHandler extends AbstractHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected StringWrapper
_dashboardID
protected StringWrapper
_dashboardName
protected StringWrapper
_errorCode
protected StringWrapper
_errorMessage
-
Fields inherited from class com.microstrategy.utils.xml.AbstractHandler
buf, depth, parser
-
-
Constructor Summary
Constructors Constructor Description ImportDashboardResultHandler()
ImportDashboardResultHandler(StringWrapper dashboardIDSaver, StringWrapper dashboardNameSaver, StringWrapper errorCodeSaver, StringWrapper errorMessageSaver)
-
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, org.xml.sax.Attributes attrs)
Override this method insted ofstartElement
to process start element event.-
Methods inherited from class com.microstrategy.utils.xml.AbstractHandler
characters, clearText, doStartElement, endDocument, endElement, getFloatValue, getIntValue, getText, popContentHandler, setLogErrors, startElement
-
-
-
-
Field Detail
-
_dashboardID
protected StringWrapper _dashboardID
-
_dashboardName
protected StringWrapper _dashboardName
-
_errorCode
protected StringWrapper _errorCode
-
_errorMessage
protected StringWrapper _errorMessage
-
-
Constructor Detail
-
ImportDashboardResultHandler
public ImportDashboardResultHandler()
-
ImportDashboardResultHandler
public ImportDashboardResultHandler(StringWrapper dashboardIDSaver, StringWrapper dashboardNameSaver, StringWrapper errorCodeSaver, StringWrapper errorMessageSaver)
-
-
Method Detail
-
doStartElement
protected void doStartElement(java.lang.String uri, java.lang.String local, java.lang.String qName, org.xml.sax.Attributes attrs) throws java.lang.Exception
Description copied from class:AbstractHandler
Override this method insted ofstartElement
to process start element event. This way you will not have problems with depth counter while subclassing your event handlers.- Overrides:
doStartElement
in classAbstractHandler
- Throws:
org.xml.sax.SAXException
- Any SAX exception, possibly wrapping another exceptionjava.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
-
-