|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrefinery.report.io.simple.AbstractReportDefinitionHandler
Extends the SAX-DefaultHandler with ContentBase capabilities.
Constructor Summary | |
AbstractReportDefinitionHandler(org.jfree.xml.Parser parser,
java.lang.String finishTag)
Default constructor. |
Method Summary | |
void |
characters(char[] ch,
int start,
int length)
Processes characters (in this case, does nothing). |
java.net.URL |
getContentBase()
Gets the ContentBase used to resolve relative URLs. |
java.lang.String |
getFinishTag()
Gets the selected finishTag for this ElementDefinitionHandler. |
protected org.xml.sax.Locator |
getLocator()
Returns the document locator of the parser or null, if there is no locator defined. |
NameGenerator |
getNameGenerator()
Returns the name generator instance for naming anonymous elements. |
org.jfree.xml.Parser |
getParser()
Returns the parser. |
JFreeReport |
getReport()
Returns the report after the parsing is complete. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jfree.xml.ElementDefinitionHandler |
endElement, startElement |
Constructor Detail |
public AbstractReportDefinitionHandler(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 java.lang.String getFinishTag()
public JFreeReport getReport()
Don't call until the report is completely built or you may get unexpected results.
public java.net.URL getContentBase()
public NameGenerator getNameGenerator()
public org.jfree.xml.Parser getParser()
getParser
in interface org.jfree.xml.ElementDefinitionHandler
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
characters
in interface org.jfree.xml.ElementDefinitionHandler
ch
- the character array.start
- the index of the first valid character.length
- the number of valid characters.
org.xml.sax.SAXException
- if there is a parsing problem.protected org.xml.sax.Locator getLocator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |