Class StringReadHandler
java.lang.Object
org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
org.pentaho.reporting.libraries.xmlns.parser.StringReadHandler
- All Implemented Interfaces:
XmlReadHandler
- Direct Known Subclasses:
PropertyReadHandler
A XmlReadHandler that reads character-data for the given element.
- Author:
- Thomas Morgner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] ch, int start, int length) This method is called to process the character data between element tags.Returns the object for this element.Returns the result as string.Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
endElement, getLocator, getRootHandler, getTagName, getUri, init, startElement
-
Constructor Details
-
StringReadHandler
public StringReadHandler()Creates a new handler.
-
-
Method Details
-
characters
This method is called to process the character data between element tags.- Specified by:
characters
in interfaceXmlReadHandler
- Overrides:
characters
in classAbstractXmlReadHandler
- Parameters:
ch
- the character buffer.start
- the start index.length
- the length.- Throws:
SAXException
- if there is a parsing error.
-
getResult
-
getObject
-