public class JFreeReportReadHandler extends AbstractPropertyXmlReadHandler
<!ELEMENT report (configuration?, reportheader?, reportfooter?, pageheader?, pagefooter?, watermark?, groups?, items?, functions?)> <!ATTLIST report width CDATA #IMPLIED height CDATA #IMPLIED name CDATA #IMPLIED pageformat %pageFormats; #IMPLIED orientation (%orientations;) "portrait" leftmargin CDATA #IMPLIED rightmargin CDATA #IMPLIED topmargin CDATA #IMPLIED bottommargin CDATA #IMPLIED >
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 |
---|
JFreeReportReadHandler() |
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.
|
void |
init(RootXmlReadHandler rootHandler,
String uri,
String tagName)
Initialises the handler.
|
protected void |
startParsing(PropertyAttributes attrs)
Starts parsing.
|
getHandlerForChild, startParsing
characters, deriveParseParameters, endElement, getLocator, getRootHandler, getTagName, getUri, isSameNamespace, performExternalParsing, performExternalParsing, 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
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()
Copyright © 2017 Hitachi Vantara. All rights reserved.