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
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
ConstructorDescriptionThe Default-Constructor.PropertyReadHandler
(String name, boolean nameMandatory) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the declared property-name.protected void
startParsing
(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 Details
-
PropertyReadHandler
public PropertyReadHandler()The Default-Constructor. -
PropertyReadHandler
-
-
Method Details
-
startParsing
Starts parsing.- Overrides:
startParsing
in classStringReadHandler
- Parameters:
attrs
- the attributes.- Throws:
SAXException
- if there is a parsing error.
-
getName
Returns the declared property-name.- Returns:
- the property name.
-