|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.modules.parser.ext.AbstractExtReportParserHandler
org.jfree.report.modules.parser.ext.ElementHandler
org.jfree.report.modules.parser.ext.BandHandler
A band handler. Handles the creation of a band. Bands can contain other bands or elements and have a DefaultStyle, which is assigned to all child elements.
Field Summary | |
static java.lang.String |
BAND_TAG
The 'band' tag. |
static java.lang.String |
DEFAULT_STYLE_TAG
The 'default-style' tag. |
static java.lang.String |
ELEMENT_TAG
The 'element' tag. |
Fields inherited from class org.jfree.report.modules.parser.ext.ElementHandler |
DATASOURCE_TAG, STYLE_TAG, TEMPLATE_TAG |
Constructor Summary | |
BandHandler(ReportParser parser,
java.lang.String finishTag,
Band band,
CommentHintPath path)
Creates a new band handler. |
Method Summary | |
void |
endElement(java.lang.String tagName)
Callback to indicate that an XML element end tag has been read by the parser. |
void |
startElement(java.lang.String tagName,
org.xml.sax.Attributes attrs)
Callback to indicate that an XML element start tag has been read by the parser. |
Methods inherited from class org.jfree.report.modules.parser.ext.ElementHandler |
characters, createCommentPath, getCommentPath, getElement |
Methods inherited from class org.jfree.report.modules.parser.ext.AbstractExtReportParserHandler |
addComment, getFinishTag, getParser, getParserHints, getReport, getReportParser |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String BAND_TAG
public static final java.lang.String ELEMENT_TAG
public static final java.lang.String DEFAULT_STYLE_TAG
Constructor Detail |
public BandHandler(ReportParser parser, java.lang.String finishTag, Band band, CommentHintPath path)
parser
- the parser.finishTag
- the finish tag.band
- the band.path
- the path on where to search for ext-parser comments
in the report builder hints.Method Detail |
public void startElement(java.lang.String tagName, org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
startElement
in interface org.jfree.xml.ElementDefinitionHandler
startElement
in class ElementHandler
tagName
- the tag name.attrs
- the attributes.
org.xml.sax.SAXException
- if a parser error occurs or the validation failed.public void endElement(java.lang.String tagName) throws org.xml.sax.SAXException
endElement
in interface org.jfree.xml.ElementDefinitionHandler
endElement
in class ElementHandler
tagName
- the tag name.
org.xml.sax.SAXException
- if a parser error occurs or the validation failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |