public class ReportDefinitionReadHandler extends AbstractPropertyXmlReadHandler
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 |
---|
ReportDefinitionReadHandler() |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
init(RootXmlReadHandler rootHandler,
String uri,
String tagName)
Initialises the handler.
|
protected void |
startParsing(PropertyAttributes attrs)
Starts parsing.
|
getHandlerForChild, startParsing
characters, deriveParseParameters, doneParsing, endElement, getLocator, getRootHandler, getTagName, getUri, isSameNamespace, performExternalParsing, performExternalParsing, 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
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.public Object getObject()
Copyright © 2017 Hitachi Vantara. All rights reserved.