org.pentaho.reporting.libraries.xmlns.parser
public class PropertiesReadHandler extends AbstractXmlReadHandler
Constructor Summary | |
---|---|
PropertiesReadHandler()
Creates a properties read-handler using "property" as child-tagname. | |
PropertiesReadHandler(String propertyTagName)
Creates a properties read-handler using the specified propertyTagName as child-tagname.
|
Method Summary | |
---|---|
protected void | doneParsing()
Done parsing.
|
protected XmlReadHandler | getHandlerForChild(String uri, String tagName, Attributes atts)
Returns the handler for a child element.
|
Object | getObject()
Returns the resulting properties collection, never null.
|
Properties | getResult()
Returns the resulting properties collection, never null.
|
Parameters: propertyTagName the tag name for the child elements that define the properties.
Throws: SAXException if there is a parsing error.
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.
Returns: the properties.
Throws: SAXException if there is a parsing error.
Returns: the properties.