Class PropertyReadHandler
- java.lang.Object
 - 
- org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
 - 
- org.pentaho.reporting.libraries.xmlns.parser.StringReadHandler
 - 
- org.pentaho.reporting.libraries.xmlns.parser.PropertyReadHandler
 
 
 
 
- 
- All Implemented Interfaces:
 XmlReadHandler
public class PropertyReadHandler extends StringReadHandler
The Property-ReadHandler reads character data from an element along with a 'name' attribute. This way, this class is most suitable for creating name-value-pairs.- Author:
 - Thomas Morgner
 
 
- 
- 
Constructor Summary
Constructors Constructor Description PropertyReadHandler()The Default-Constructor.PropertyReadHandler(String name, boolean nameMandatory) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Returns the declared property-name.protected voidstartParsing(Attributes attrs)Starts parsing.- 
Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.StringReadHandler
characters, doneParsing, getObject, getResult 
- 
Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
deriveParseParameters, endElement, getHandlerForChild, getLocator, getRootHandler, getTagName, getUri, init, isSameNamespace, performExternalParsing, performExternalParsing, startElement 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
PropertyReadHandler
public PropertyReadHandler()
The Default-Constructor. 
- 
PropertyReadHandler
public PropertyReadHandler(String name, boolean nameMandatory)
 
 - 
 
- 
Method Detail
- 
startParsing
protected void startParsing(Attributes attrs) throws SAXException
Starts parsing.- Overrides:
 startParsingin classStringReadHandler- Parameters:
 attrs- the attributes.- Throws:
 SAXException- if there is a parsing error.
 
- 
getName
public String getName()
Returns the declared property-name.- Returns:
 - the property name.
 
 
 - 
 
 -