Class QueryReadHandler
- java.lang.Object
-
- org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
-
- org.pentaho.reporting.libraries.xmlns.parser.StringReadHandler
-
- org.pentaho.reporting.libraries.xmlns.parser.PropertyReadHandler
-
- org.pentaho.reporting.engine.classic.extensions.datasources.cda.parser.QueryReadHandler
-
- All Implemented Interfaces:
org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
public class QueryReadHandler extends org.pentaho.reporting.libraries.xmlns.parser.PropertyReadHandler
-
-
Constructor Summary
Constructors Constructor Description QueryReadHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doneParsing()
protected org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
getHandlerForChild(String uri, String tagName, Attributes atts)
Returns the handler for a child element.Object
getObject()
Returns the object for this element or null, if this element does not create an object.org.pentaho.reporting.engine.classic.core.ParameterMapping[]
getParameters()
String
getQueryId()
String
getQueryName()
protected void
startParsing(Attributes attrs)
Starts parsing.-
Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.PropertyReadHandler
getName
-
Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.StringReadHandler
characters, getResult
-
-
-
-
Method Detail
-
startParsing
protected void startParsing(Attributes attrs) throws SAXException
Starts parsing.- Overrides:
startParsing
in classorg.pentaho.reporting.libraries.xmlns.parser.PropertyReadHandler
- Parameters:
attrs
- the attributes.- Throws:
SAXException
- if there is a parsing error.
-
getHandlerForChild
protected org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler getHandlerForChild(String uri, String tagName, Attributes atts) throws SAXException
Returns the handler for a child element.- Overrides:
getHandlerForChild
in classorg.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
- Parameters:
uri
- the URI of the namespace of the current element.tagName
- the tag name.atts
- the attributes.- Returns:
- the handler or null, if the tagname is invalid.
- Throws:
SAXException
- if there is a parsing error.
-
doneParsing
protected void doneParsing() throws SAXException
- Overrides:
doneParsing
in classorg.pentaho.reporting.libraries.xmlns.parser.StringReadHandler
- Throws:
SAXException
-
getObject
public Object getObject()
Returns the object for this element or null, if this element does not create an object.- Specified by:
getObject
in interfaceorg.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
- Overrides:
getObject
in classorg.pentaho.reporting.libraries.xmlns.parser.StringReadHandler
- Returns:
- the object.
- Throws:
SAXException
- if an parser error occured.
-
getQueryId
public String getQueryId()
-
getQueryName
public String getQueryName()
-
getParameters
public org.pentaho.reporting.engine.classic.core.ParameterMapping[] getParameters()
-
-