Class DataSourceElementHandler
- java.lang.Object
-
- org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
-
- org.pentaho.reporting.engine.classic.core.modules.parser.bundle.data.DataSourceElementHandler
-
- All Implemented Interfaces:
org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
public class DataSourceElementHandler extends org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
-
-
Constructor Summary
Constructors Constructor Description DataSourceElementHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataFactory
getDataFactory()
Object
getObject()
Returns the object for this element or null, if this element does not create an object.String
getQuery()
int
getQueryLimit()
int
getQueryTimeout()
protected void
startParsing(Attributes attrs)
Starts parsing.-
Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
characters, deriveParseParameters, doneParsing, endElement, getHandlerForChild, getLocator, getRootHandler, getTagName, getUri, init, isSameNamespace, performExternalParsing, performExternalParsing, startElement
-
-
-
-
Method Detail
-
startParsing
protected void startParsing(Attributes attrs) throws SAXException
Starts parsing.- Overrides:
startParsing
in classorg.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
- Parameters:
attrs
- the attributes.- Throws:
SAXException
- if there is a parsing error.
-
getDataFactory
public DataFactory getDataFactory()
-
getQuery
public String getQuery()
-
getQueryLimit
public int getQueryLimit()
-
getQueryTimeout
public int getQueryTimeout()
-
getObject
public Object getObject() throws SAXException
Returns the object for this element or null, if this element does not create an object.- Returns:
- the object.
- Throws:
SAXException
- if an parser error occured.
-
-