public class SimpleSubReportReadHandler extends AbstractPropertyXmlReadHandler implements SubReportReadHandler
Modifier and Type | Field and Description |
---|---|
static String |
BOTTOMMARGIN_ATT
Literal text for an XML attribute.
|
static String |
HEIGHT_ATT
Literal text for an XML attribute.
|
static String |
LEFTMARGIN_ATT
Literal text for an XML attribute.
|
static String |
NAME_ATT
Literal text for an XML attribute.
|
static String |
ORIENTATION_ATT
Literal text for an XML attribute.
|
static String |
ORIENTATION_LANDSCAPE_VAL
Literal text for an XML attribute.
|
static String |
ORIENTATION_PORTRAIT_VAL
Literal text for an XML attribute.
|
static String |
ORIENTATION_REVERSE_LANDSCAPE_VAL
Literal text for an XML attribute.
|
static String |
PAGEFORMAT_ATT
Literal text for an XML attribute.
|
static String |
PAGESPAN_ATT
Literal text for an XML attribute.
|
static String |
REPORT_TAG
Literal text for an XML report element.
|
static String |
RIGHTMARGIN_ATT
Literal text for an XML attribute.
|
static String |
TOPMARGIN_ATT
Literal text for an XML attribute.
|
static String |
UNIT_ATT
Literal text for an XML attribute.
|
static String |
WIDTH_ATT
Literal text for an XML attribute.
|
Constructor and Description |
---|
SimpleSubReportReadHandler() |
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.
|
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 REPORT_TAG
public static final String NAME_ATT
public static final String PAGEFORMAT_ATT
public static final String PAGESPAN_ATT
public static final String UNIT_ATT
public static final String LEFTMARGIN_ATT
public static final String RIGHTMARGIN_ATT
public static final String TOPMARGIN_ATT
public static final String BOTTOMMARGIN_ATT
public static final String WIDTH_ATT
public static final String HEIGHT_ATT
public static final String ORIENTATION_ATT
public static final String ORIENTATION_PORTRAIT_VAL
public static final String ORIENTATION_LANDSCAPE_VAL
public static final String ORIENTATION_REVERSE_LANDSCAPE_VAL
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 © 2017 Hitachi Vantara. All rights reserved.