org.jfree.report.modules.factories.report.flow

Class ElementReadHandler


public abstract class ElementReadHandler
extends AbstractXmlReadHandler

Creation-Date: 09.04.2006, 13:55:36
Author:
Thomas Morgner

Constructor Summary

ElementReadHandler()

Method Summary

protected void
configureElement(Element e)
protected abstract Element
getElement()
protected XmlReadHandler
getHandlerForChild(String uri, String tagName, Attributes atts)
Returns the handler for a child element.
Object
getObject()
Returns the object for this element or null, if this element does not create an object.
String
getStyle()
boolean
isEnabled()
protected void
startParsing(Attributes attrs)
Starts parsing.

Constructor Details

ElementReadHandler

protected ElementReadHandler()

Method Details

configureElement

protected void configureElement(Element e)

getElement

protected abstract Element getElement()

getHandlerForChild

protected XmlReadHandler getHandlerForChild(String uri,
                                            String tagName,
                                            Attributes atts)
            throws SAXException
Returns the handler for a child element.
Parameters:
tagName - the tag name.
atts - the attributes.
Returns:
the handler or null, if the tagname is invalid.

getObject

public Object getObject()
            throws SAXException
Returns the object for this element or null, if this element does not create an object.
Returns:
the object.

getStyle

public String getStyle()

isEnabled

public boolean isEnabled()

startParsing

protected void startParsing(Attributes attrs)
            throws SAXException
Starts parsing.
Parameters:
attrs - the attributes.