Class AbstractKettleTransformationProducerReadHandler
- java.lang.Object
-
- org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
-
- org.pentaho.reporting.engine.classic.extensions.datasources.kettle.parser.AbstractKettleTransformationProducerReadHandler
-
- All Implemented Interfaces:
KettleTransformationProducerReadHandler
,org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
- Direct Known Subclasses:
KettleEmbeddedTransReadHandler
,KettleTransFromFileReadHandler
,KettleTransFromRepositoryReadHandler
public abstract class AbstractKettleTransformationProducerReadHandler extends org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler implements KettleTransformationProducerReadHandler
-
-
Constructor Summary
Constructors Constructor Description AbstractKettleTransformationProducerReadHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
doneParsing()
Done parsing.FormulaArgument[]
getDefinedArgumentNames()
FormulaParameter[]
getDefinedVariableNames()
protected org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
getHandlerForChild(String uri, String tagName, Attributes atts)
Returns the handler for a child element.String
getName()
abstract KettleTransformationProducer
getObject()
String
getPassword()
String
getRepositoryName()
String
getStepName()
KettleTransformationProducer
getTransformationProducer()
String
getUsername()
boolean
isStopOnError()
protected void
startParsing(Attributes attrs)
Starts parsing.-
Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
characters, deriveParseParameters, endElement, getLocator, getRootHandler, getTagName, getUri, init, isSameNamespace, performExternalParsing, performExternalParsing, startElement
-
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceKettleTransformationProducerReadHandler
-
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.
-
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
Done parsing.- Overrides:
doneParsing
in classorg.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
- Throws:
SAXException
- if there is a parsing error.
-
getStepName
public String getStepName()
- Specified by:
getStepName
in interfaceKettleTransformationProducerReadHandler
-
getUsername
public String getUsername()
- Specified by:
getUsername
in interfaceKettleTransformationProducerReadHandler
-
getPassword
public String getPassword()
- Specified by:
getPassword
in interfaceKettleTransformationProducerReadHandler
-
getRepositoryName
public String getRepositoryName()
- Specified by:
getRepositoryName
in interfaceKettleTransformationProducerReadHandler
-
getDefinedArgumentNames
public FormulaArgument[] getDefinedArgumentNames()
- Specified by:
getDefinedArgumentNames
in interfaceKettleTransformationProducerReadHandler
-
getDefinedVariableNames
public FormulaParameter[] getDefinedVariableNames()
- Specified by:
getDefinedVariableNames
in interfaceKettleTransformationProducerReadHandler
-
isStopOnError
public boolean isStopOnError()
-
getTransformationProducer
public final KettleTransformationProducer getTransformationProducer() throws SAXException
- Specified by:
getTransformationProducer
in interfaceKettleTransformationProducerReadHandler
- Throws:
SAXException
-
getObject
public abstract KettleTransformationProducer getObject() throws SAXException
- Specified by:
getObject
in interfaceorg.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
- Throws:
SAXException
-
-