public class ExtSubReportReadHandler extends AbstractPropertyXmlReadHandler implements SubReportReadHandler
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_FACTORY_KEY |
static String |
DATASOURCE_FACTORY_KEY |
static String |
ELEMENT_FACTORY_KEY |
static String |
STYLE_FACTORY_KEY |
static String |
TEMPLATE_FACTORY_KEY |
Constructor and Description |
---|
ExtSubReportReadHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
doneParsing()
Done parsing.
|
protected 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.
|
SubReport |
getSubReport() |
void |
init(RootXmlReadHandler rootHandler,
String uri,
String tagName)
Initialises the handler.
|
boolean |
isDisableRootTagWarning() |
void |
setDisableRootTagWarning(boolean disableWarning) |
protected void |
startParsing(PropertyAttributes attrs)
Starts parsing.
|
getHandlerForChild, startParsing
characters, deriveParseParameters, endElement, getLocator, getRootHandler, getTagName, getUri, isSameNamespace, performExternalParsing, performExternalParsing, startElement
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
characters, endElement, startElement
public static final String ELEMENT_FACTORY_KEY
public static final String STYLE_FACTORY_KEY
public static final String CLASS_FACTORY_KEY
public static final String DATASOURCE_FACTORY_KEY
public static final String TEMPLATE_FACTORY_KEY
public void init(RootXmlReadHandler rootHandler, String uri, String tagName) throws SAXException
init
in interface XmlReadHandler
init
in class AbstractXmlReadHandler
rootHandler
- the root handler.tagName
- the tag name.SAXException
public void setDisableRootTagWarning(boolean disableWarning)
setDisableRootTagWarning
in interface SubReportReadHandler
public boolean isDisableRootTagWarning()
protected void startParsing(PropertyAttributes attrs) throws SAXException
startParsing
in class AbstractPropertyXmlReadHandler
attrs
- the attributes.SAXException
- if there is a parsing error.protected XmlReadHandler getHandlerForChild(String uri, String tagName, PropertyAttributes atts) throws SAXException
getHandlerForChild
in class AbstractPropertyXmlReadHandler
tagName
- the tag name.atts
- the attributes.SAXException
- if there is a parsing error.protected void doneParsing() throws SAXException
doneParsing
in class AbstractXmlReadHandler
SAXException
- if there is a parsing error.public Object getObject()
getObject
in interface XmlReadHandler
public SubReport getSubReport()
getSubReport
in interface SubReportReadHandler
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.