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

public class StringReadHandler extends AbstractXmlReadHandler
A XmlReadHandler that reads character-data for the given element.
Author:
Thomas Morgner
  • Constructor Details

    • StringReadHandler

      public StringReadHandler()
      Creates a new handler.
  • Method Details

    • characters

      public void characters(char[] ch, int start, int length) throws SAXException
      This method is called to process the character data between element tags.
      Specified by:
      characters in interface XmlReadHandler
      Overrides:
      characters in class AbstractXmlReadHandler
      Parameters:
      ch - the character buffer.
      start - the start index.
      length - the length.
      Throws:
      SAXException - if there is a parsing error.
    • getResult

      public String getResult()
      Returns the result as string.
      Returns:
      the parse-result as string.
    • getObject

      public Object getObject()
      Returns the object for this element.
      Returns:
      the object.