org.jfree.report.modules.parser.ext.readhandlers
Class GroupReadHandler

java.lang.Object
  |
  +--org.jfree.xml.parser.AbstractXmlReadHandler
        |
        +--org.jfree.report.modules.parser.base.AbstractPropertyXmlReadHandler
              |
              +--org.jfree.report.modules.parser.ext.readhandlers.GroupReadHandler

public class GroupReadHandler
extends AbstractPropertyXmlReadHandler


Field Summary
static java.lang.String FIELD_TAG
          Literal text for an XML report element.
static java.lang.String FIELDS_TAG
          Literal text for an XML report element.
static java.lang.String GROUP_FOOTER_TAG
          Literal text for an XML report element.
static java.lang.String GROUP_HEADER_TAG
          Literal text for an XML report element.
 
Fields inherited from class org.jfree.report.modules.parser.base.AbstractPropertyXmlReadHandler
CLOSE_TAG_COMMENT, OPEN_TAG_COMMENT
 
Constructor Summary
GroupReadHandler(GroupList groupList)
           
 
Method Summary
protected  void doneParsing()
          Done parsing.
protected  org.jfree.xml.parser.XmlReadHandler getHandlerForChild(java.lang.String tagName, PropertyAttributes atts)
          Returns the handler for a child element.
 java.lang.Object getObject()
          Returns the object for this element.
protected  void startParsing(PropertyAttributes attrs)
          Starts parsing.
protected  void storeComments()
           
 
Methods inherited from class org.jfree.report.modules.parser.base.AbstractPropertyXmlReadHandler
defaultStoreComments, getBuilderHints, getHandlerForChild, getPreCloseTagComments, getPreOpenTagComments, startParsing, storeCloseComments
 
Methods inherited from class org.jfree.xml.parser.AbstractXmlReadHandler
characters, endElement, getRootHandler, getTagName, init, startElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GROUP_HEADER_TAG

public static final java.lang.String GROUP_HEADER_TAG
Literal text for an XML report element.

GROUP_FOOTER_TAG

public static final java.lang.String GROUP_FOOTER_TAG
Literal text for an XML report element.

FIELDS_TAG

public static final java.lang.String FIELDS_TAG
Literal text for an XML report element.

FIELD_TAG

public static final java.lang.String FIELD_TAG
Literal text for an XML report element.
Constructor Detail

GroupReadHandler

public GroupReadHandler(GroupList groupList)
Method Detail

startParsing

protected void startParsing(PropertyAttributes attrs)
                     throws org.xml.sax.SAXException
Starts parsing.
Overrides:
startParsing in class AbstractPropertyXmlReadHandler
Parameters:
attrs - the attributes.
Throws:
org.xml.sax.SAXException - if there is a parsing error.

getHandlerForChild

protected org.jfree.xml.parser.XmlReadHandler getHandlerForChild(java.lang.String tagName,
                                                                 PropertyAttributes atts)
                                                          throws org.jfree.xml.parser.XmlReaderException,
                                                                 org.xml.sax.SAXException
Returns the handler for a child element.
Overrides:
getHandlerForChild in class AbstractPropertyXmlReadHandler
Parameters:
tagName - the tag name.
atts - the attributes.
Returns:
the handler or null, if the tagname is invalid.
Throws:
org.xml.sax.SAXException - if there is a parsing error.
org.jfree.xml.parser.XmlReaderException - if there is a reader error.

doneParsing

protected void doneParsing()
                    throws org.xml.sax.SAXException,
                           org.jfree.xml.parser.XmlReaderException
Done parsing.
Overrides:
doneParsing in class AbstractPropertyXmlReadHandler
Throws:
org.xml.sax.SAXException - if there is a parsing error.
org.jfree.xml.parser.XmlReaderException - if there is a reader error.

getObject

public java.lang.Object getObject()
                           throws org.jfree.xml.parser.XmlReaderException
Returns the object for this element.
Overrides:
getObject in class org.jfree.xml.parser.AbstractXmlReadHandler
Returns:
the object.
Throws:
org.jfree.xml.parser.XmlReaderException - if there is a parsing error.

storeComments

protected void storeComments()
                      throws org.xml.sax.SAXException
Overrides:
storeComments in class AbstractPropertyXmlReadHandler