Class DataSourceReadHandler
- java.lang.Object
-
- org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
-
- org.pentaho.reporting.engine.classic.core.modules.parser.base.common.AbstractPropertyXmlReadHandler
-
- org.pentaho.reporting.engine.classic.core.modules.parser.ext.readhandlers.BasicObjectReadHandler
-
- org.pentaho.reporting.engine.classic.core.modules.parser.ext.readhandlers.CompoundObjectReadHandler
-
- org.pentaho.reporting.engine.classic.core.modules.parser.ext.readhandlers.DataSourceReadHandler
-
- All Implemented Interfaces:
org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
- Direct Known Subclasses:
LegacyDataSourceReadHandler
public class DataSourceReadHandler extends CompoundObjectReadHandler
-
-
Constructor Summary
Constructors Constructor Description DataSourceReadHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
getHandlerForChild(String uri, String tagName, PropertyAttributes 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.protected void
startParsing(PropertyAttributes attrs)
Starts parsing.-
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.parser.ext.readhandlers.CompoundObjectReadHandler
doneParsing, getBasicObjects, getCompoundObjects, handleBasicObject, handleCompoundObject
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.parser.ext.readhandlers.BasicObjectReadHandler
getClassFactory, getObjectDescription, handleStartParsing, init, setObjectDescription
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.parser.base.common.AbstractPropertyXmlReadHandler
getHandlerForChild, startParsing
-
-
-
-
Method Detail
-
startParsing
protected void startParsing(PropertyAttributes attrs) throws SAXException
Starts parsing.- Overrides:
startParsing
in classCompoundObjectReadHandler
- 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, PropertyAttributes atts) throws SAXException
Returns the handler for a child element.- Overrides:
getHandlerForChild
in classCompoundObjectReadHandler
- Parameters:
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.
-
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 classBasicObjectReadHandler
- Returns:
- the object.
-
-