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

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

public class SimplePageDefinitionReadHandler
extends AbstractPropertyXmlReadHandler


Fields inherited from class org.jfree.report.modules.parser.base.AbstractPropertyXmlReadHandler
CLOSE_TAG_COMMENT, OPEN_TAG_COMMENT
 
Constructor Summary
SimplePageDefinitionReadHandler()
           
 
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 or null, if this element does not create an object.
protected  void startParsing(PropertyAttributes attrs)
           
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
 

Constructor Detail

SimplePageDefinitionReadHandler

public SimplePageDefinitionReadHandler()
Method Detail

startParsing

protected void startParsing(PropertyAttributes attrs)
                     throws org.xml.sax.SAXException,
                            org.jfree.xml.parser.XmlReaderException
Overrides:
startParsing in class AbstractPropertyXmlReadHandler

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 or null, if this element does not create an object.
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