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
protected ElementReadHandler()
Method Summary
protected voidconfigureElement(Element e)
protected abstract ElementgetElement()
protected XmlReadHandlergetHandlerForChild(String uri, String tagName, Attributes atts)
Returns the handler for a child element.
ObjectgetObject()
Returns the object for this element or null, if this element does not create an object.
StringgetStyle()
booleanisEnabled()
protected voidstartParsing(Attributes attrs)
Starts parsing.

Constructor Detail

ElementReadHandler

protected ElementReadHandler()

Method Detail

configureElement

protected void configureElement(Element e)

getElement

protected abstract Element getElement()

getHandlerForChild

protected XmlReadHandler getHandlerForChild(String uri, String tagName, Attributes atts)
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.

Throws: SAXException if there is a parsing error.

getObject

public Object getObject()
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)
Starts parsing.

Parameters: attrs the attributes.

Throws: SAXException if there is a parsing error.