org.pentaho.reporting.libraries.xmlns.parser
public class StringReadHandler extends AbstractXmlReadHandler
| Constructor and Description |
|---|
StringReadHandler()
Creates a new handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length)
This method is called to process the character data between element tags.
|
protected void |
doneParsing()
Done parsing.
|
java.lang.Object |
getObject()
Returns the object for this element.
|
java.lang.String |
getResult()
Returns the result as string.
|
protected void |
startParsing(org.xml.sax.Attributes attrs)
Starts parsing.
|
deriveParseParameters, endElement, getHandlerForChild, getLocator, getRootHandler, getTagName, getUri, init, isSameNamespace, performExternalParsing, performExternalParsing, startElementprotected void startParsing(org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXException
startParsing in class AbstractXmlReadHandlerattrs - the attributes.org.xml.sax.SAXException - if there is a parsing error.public void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
characters in interface XmlReadHandlercharacters in class AbstractXmlReadHandlerch - the character buffer.start - the start index.length - the length.org.xml.sax.SAXException - if there is a parsing error.protected void doneParsing()
throws org.xml.sax.SAXException
doneParsing in class AbstractXmlReadHandlerorg.xml.sax.SAXException - if there is a parsing error.public java.lang.String getResult()
public java.lang.Object getObject()