org.jfree.report.modules.parser.ext.readhandlers
Class BasicObjectReadHandler
java.lang.Object
|
+--org.jfree.xml.parser.AbstractXmlReadHandler
|
+--org.jfree.report.modules.parser.base.AbstractPropertyXmlReadHandler
|
+--org.jfree.report.modules.parser.ext.readhandlers.BasicObjectReadHandler
- Direct Known Subclasses:
- CompoundObjectReadHandler
- public class BasicObjectReadHandler
- extends AbstractPropertyXmlReadHandler
| Methods inherited from class org.jfree.xml.parser.AbstractXmlReadHandler |
characters,
endElement,
getRootHandler,
getTagName,
startElement |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
BasicObjectReadHandler
public BasicObjectReadHandler(org.jfree.xml.factory.objects.ObjectDescription objectDescription,
CommentHintPath commentHintPath)
- Parameters:
objectDescription - may be null.commentHintPath - never null.
init
public void init(org.jfree.xml.parser.RootXmlReadHandler rootHandler,
java.lang.String tagName)
- Initialises the handler.
- Overrides:
- init in class org.jfree.xml.parser.AbstractXmlReadHandler
- Parameters:
rootHandler - the root handler.tagName - the tag name.
getObjectDescription
protected org.jfree.xml.factory.objects.ObjectDescription getObjectDescription()
setObjectDescription
protected void setObjectDescription(org.jfree.xml.factory.objects.ObjectDescription objectDescription)
getClassFactory
protected org.jfree.xml.factory.objects.ClassFactory getClassFactory()
startParsing
protected void startParsing(PropertyAttributes attrs)
throws org.xml.sax.SAXException,
org.jfree.xml.parser.XmlReaderException
- Starts parsing.
- Overrides:
- startParsing in class AbstractPropertyXmlReadHandler
- Parameters:
attrs - the attributes.- Throws:
- org.xml.sax.SAXException - if there is a parsing error.
handleStartParsing
protected void handleStartParsing(org.xml.sax.Attributes attrs)
throws org.jfree.xml.ElementDefinitionException
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.
getCommentHintPath
protected CommentHintPath getCommentHintPath()
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