Class ContentElementReadHandler
- java.lang.Object
-
- org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
-
- org.jfree.report.modules.factories.report.flow.AbstractElementReadHandler
-
- org.jfree.report.modules.factories.report.flow.ContentElementReadHandler
-
- All Implemented Interfaces:
NodeReadHandler
,org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
public class ContentElementReadHandler extends AbstractElementReadHandler
Creation-Date: 09.04.2006, 14:38:32- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description ContentElementReadHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doneParsing()
Done parsing.protected Element
getElement()
protected org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
getHandlerForChild(java.lang.String uri, java.lang.String tagName, org.xml.sax.Attributes 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(org.xml.sax.Attributes attrs)
Starts parsing.-
Methods inherited from class org.jfree.report.modules.factories.report.flow.AbstractElementReadHandler
configureElement, getNode, getStyle, init, isEnabled
-
Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
characters, deriveParseParameters, endElement, getLocator, getRootHandler, getTagName, getUri, isSameNamespace, performExternalParsing, performExternalParsing, startElement
-
-
-
-
Method Detail
-
startParsing
protected void startParsing(org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
Starts parsing.- Overrides:
startParsing
in classAbstractElementReadHandler
- 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.SAXException
Returns the handler for a child element.- Overrides:
getHandlerForChild
in classAbstractElementReadHandler
- 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.
-
doneParsing
protected void doneParsing() throws org.xml.sax.SAXException
Done parsing.- Overrides:
doneParsing
in classorg.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
- Throws:
org.xml.sax.SAXException
- if there is a parsing error.
-
getObject
public java.lang.Object getObject() throws org.xml.sax.SAXException
Returns the object for this element or null, if this element does not create an object.- Specified by:
getObject
in interfaceorg.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
- Overrides:
getObject
in classAbstractElementReadHandler
- Returns:
- the object.
- Throws:
org.xml.sax.SAXException
- if there's a parsing error
-
getElement
protected Element getElement()
- Specified by:
getElement
in classAbstractElementReadHandler
-
-