Class ElementReadHandler
- java.lang.Object
-
- org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
-
- org.jfree.report.modules.factories.report.flow.ElementReadHandler
-
- All Implemented Interfaces:
org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
public abstract class ElementReadHandler extends org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandlerCreation-Date: 09.04.2006, 13:55:36- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedElementReadHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidconfigureElement(Element e)protected abstract ElementgetElement()protected org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandlergetHandlerForChild(java.lang.String uri, java.lang.String tagName, org.xml.sax.Attributes atts)Returns the handler for a child element.java.lang.ObjectgetObject()Returns the object for this element or null, if this element does not create an object.java.lang.StringgetStyle()booleanisEnabled()protected voidstartParsing(org.xml.sax.Attributes attrs)Starts parsing.
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
getStyle
public java.lang.String getStyle()
-
startParsing
protected void startParsing(org.xml.sax.Attributes attrs) throws org.xml.sax.SAXExceptionStarts parsing.- Overrides:
startParsingin classorg.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler- Parameters:
attrs- the attributes.- Throws:
org.xml.sax.SAXException- if there is a parsing error.
-
getHandlerForChild
protected org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler getHandlerForChild(java.lang.String uri, java.lang.String tagName, org.xml.sax.Attributes atts) throws org.xml.sax.SAXExceptionReturns the handler for a child element.- Overrides:
getHandlerForChildin classorg.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler- 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.
-
configureElement
protected void configureElement(Element e)
-
getElement
protected abstract Element getElement()
-
getObject
public java.lang.Object getObject() throws org.xml.sax.SAXExceptionReturns the object for this element or null, if this element does not create an object.- Returns:
- the object.
- Throws:
org.xml.sax.SAXException
-
-