org.pentaho.reporting.libraries.xmlns.parser

Class IgnoreAnyChildReadHandler

public class IgnoreAnyChildReadHandler extends AbstractXmlReadHandler

A read-handler that silently ignores all childs. This readhandler produces no output.

Author: Thomas Morgner

Constructor Summary
IgnoreAnyChildReadHandler()
Default Constructor.
Method Summary
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.

Constructor Detail

IgnoreAnyChildReadHandler

public IgnoreAnyChildReadHandler()
Default Constructor.

Method Detail

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: org.xml.sax.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.