Class IgnoreAnyChildReadHandler
java.lang.Object
org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
org.pentaho.reporting.libraries.xmlns.parser.IgnoreAnyChildReadHandler
- All Implemented Interfaces:
XmlReadHandler
A read-handler that silently ignores all childs. This readhandler produces no output.
- Author:
- Thomas Morgner
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected XmlReadHandler
getHandlerForChild
(String uri, String tagName, Attributes atts) Returns the handler for a child element.Returns the object for this element or null, if this element does not create an object.Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
characters, deriveParseParameters, doneParsing, endElement, getLocator, getRootHandler, getTagName, getUri, init, isSameNamespace, performExternalParsing, performExternalParsing, startElement, startParsing
-
Constructor Details
-
IgnoreAnyChildReadHandler
public IgnoreAnyChildReadHandler()Default Constructor.
-
-
Method Details
-
getHandlerForChild
protected XmlReadHandler getHandlerForChild(String uri, String tagName, Attributes atts) throws SAXException Returns the handler for a child element.- Overrides:
getHandlerForChild
in classAbstractXmlReadHandler
- Parameters:
tagName
- the tag name.atts
- the attributes.uri
- the URI of the namespace of the current element.- Returns:
- the handler or null, if the tagname is invalid.
- Throws:
SAXException
- if there is a parsing error.
-
getObject
Returns the object for this element or null, if this element does not create an object.- Returns:
- the object.
- Throws:
SAXException
- if an parser error occured.
-