|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jrefinery.report.io.simple.AbstractReportDefinitionHandler
com.jrefinery.report.io.simple.GroupFactory
This class is a SAX handler for reading groups from a report template file.
| Field Summary |
| Constructor Summary | |
GroupFactory(org.jfree.xml.Parser parser,
java.lang.String finishTag)
Creates a new handler. |
|
| Method Summary | |
void |
characters(char[] ch,
int start,
int length)
Receives some (or all) of the text in the current element. |
void |
endElement(java.lang.String qName)
Ends an element. |
protected void |
endField()
Ends the field element. |
protected void |
endFields()
Ends the fields element. |
protected void |
endGroup()
Ends the group element. |
protected void |
endGroupFooter()
Ends the group footer element. |
protected void |
endGroupHeader()
Ends the group header element. |
protected void |
endGroups()
Ends the groups element. |
void |
setCurrentGroup(Group currentGroup)
Sets the current group. |
void |
startElement(java.lang.String qName,
org.xml.sax.Attributes atts)
Starts an element. |
protected void |
startField(org.xml.sax.Attributes atts)
Starts the field element. |
protected void |
startFields(org.xml.sax.Attributes atts)
Starts the fields element. |
protected void |
startGroup(org.xml.sax.Attributes atts)
Starts the group element. |
protected void |
startGroupFooter(org.xml.sax.Attributes atts)
Starts the group footer element. |
protected void |
startGroupHeader(org.xml.sax.Attributes atts)
Starts the group header element. |
| Methods inherited from class com.jrefinery.report.io.simple.AbstractReportDefinitionHandler |
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 GroupFactory(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.ElementDefinitionHandlerqName - the element name.atts - the element attributes.
org.xml.sax.SAXException - if there is a problem parsing the XML.
protected void startFields(org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
atts - the element attributes.
org.xml.sax.SAXException - if there is a problem parsing the report template.
protected void startField(org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
atts - the element attributes.
org.xml.sax.SAXException - if there is a problem parsing the report template.
protected void startGroup(org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
atts - the element attributes.
org.xml.sax.SAXException - if there is a problem parsing the report template.
protected void startGroupHeader(org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
atts - the element attributes.
org.xml.sax.SAXException - if there is a problem parsing the report template.
protected void startGroupFooter(org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
atts - the element attributes.
org.xml.sax.SAXException - if there is a problem parsing the report template.
public void characters(char[] ch,
int start,
int length)
characters in interface org.jfree.xml.ElementDefinitionHandlercharacters in class AbstractReportDefinitionHandlerch - storage space for the characters.start - the first valid character in the array.length - the length of the valid data in the array.
public void endElement(java.lang.String qName)
throws org.xml.sax.SAXException
endElement in interface org.jfree.xml.ElementDefinitionHandlerqName - the element name.
org.xml.sax.SAXException - if there is a problem parsing the XML.
protected void endGroups()
throws org.xml.sax.SAXException
org.xml.sax.SAXException - if there is a problem parsing the report template.
protected void endGroup()
throws org.xml.sax.SAXException
org.xml.sax.SAXException - if there is a problem parsing the report template.
protected void endField()
throws org.xml.sax.SAXException
org.xml.sax.SAXException - if there is a problem parsing the report template.
protected void endFields()
throws org.xml.sax.SAXException
org.xml.sax.SAXException - if there is a problem parsing the report template.
protected void endGroupFooter()
throws org.xml.sax.SAXException
org.xml.sax.SAXException - if there is a problem parsing the report template.
protected void endGroupHeader()
throws org.xml.sax.SAXException
org.xml.sax.SAXException - if there is a problem parsing the report template.
public void setCurrentGroup(Group currentGroup)
throws org.xml.sax.SAXException
currentGroup - the current group.
org.xml.sax.SAXException - if there is a problem parsing the report template.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||