|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jrefinery.report.io.simple.AbstractReportDefinitionHandler | +--com.jrefinery.report.io.simple.BandFactory
This class handles the SAX events generated for report bands.
Recognized root bands are:
Field Summary |
Constructor Summary | |
BandFactory(org.jfree.xml.Parser parser,
java.lang.String finishTag)
Initializes this BandFactory based on the data contained in the ReportFactory. |
Method Summary | |
void |
endElement(java.lang.String qName)
SAX-Handler function that is forwarded from the ReportDefinitionContentHandler. |
void |
endItems()
Handles the end of an ItemBand definition. |
void |
endPageHeader()
Handles the end of a PageHeader definition. |
void |
startElement(java.lang.String qName,
org.xml.sax.Attributes atts)
SAX-Handler function that is forwarded from the ReportDefinitionContentHandler. |
void |
startItems(org.xml.sax.Attributes attr)
Handles the start of an ItemBand definition. |
void |
startPageFooter(org.xml.sax.Attributes attr)
Handles the start of a pagefooter definition. |
void |
startPageHeader(org.xml.sax.Attributes attr)
Handles the start of a pageheader definition. |
void |
startReportFooter(org.xml.sax.Attributes attr)
Handles the start of a reportfooter definition. |
void |
startReportHeader(org.xml.sax.Attributes attr)
Handles the start of a reportheader definition. |
Methods inherited from class com.jrefinery.report.io.simple.AbstractReportDefinitionHandler |
characters, getContentBase, getFinishTag, getLocator, getNameGenerator, getParser, getReport |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BandFactory(org.jfree.xml.Parser parser, java.lang.String finishTag)
parser
- the used parser to coordinate the parsing process.finishTag
- the finish tag, that should trigger the deactivation of this parser.
java.lang.NullPointerException
- if the finishTag or the parser are null.Method Detail |
public void startElement(java.lang.String qName, org.xml.sax.Attributes atts) throws org.xml.sax.SAXException
startElement
in interface org.jfree.xml.ElementDefinitionHandler
qName
- the element name.atts
- the element attributes.
org.xml.sax.SAXException
- if an unknown tag is encountered.public void endElement(java.lang.String qName) throws org.xml.sax.SAXException
endElement
in interface org.jfree.xml.ElementDefinitionHandler
qName
- the element name.
org.xml.sax.SAXException
- if an unknown tag is encountered.public void startReportHeader(org.xml.sax.Attributes attr) throws org.xml.sax.SAXException
attr
- the element attributes.
org.xml.sax.SAXException
- if there is a parsing problem.ReportHeader
public void startReportFooter(org.xml.sax.Attributes attr) throws org.xml.sax.SAXException
attr
- the element attributes.
org.xml.sax.SAXException
- if there is a parsing problem.ReportFooter
public void startPageHeader(org.xml.sax.Attributes attr) throws org.xml.sax.SAXException
attr
- the element attributes.
org.xml.sax.SAXException
- if there is a parsing problem.PageHeader
public void startPageFooter(org.xml.sax.Attributes attr) throws org.xml.sax.SAXException
attr
- the element attributes.
org.xml.sax.SAXException
- if there is a parsing problem.PageFooter
public void startItems(org.xml.sax.Attributes attr) throws org.xml.sax.SAXException
attr
- the element attributes.
org.xml.sax.SAXException
- if there is a parsing problem.ItemBand
public void endItems() throws org.xml.sax.SAXException
org.xml.sax.SAXException
- if a Parser error occurs.ItemBand
public void endPageHeader() throws org.xml.sax.SAXException
org.xml.sax.SAXException
- if a parser error occurs.PageHeader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |