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.
|
Object |
getObject()
Returns the object for this element.
|
String |
getResult()
Returns the result as string.
|
endElement, getLocator, getRootHandler, getTagName, getUri, init, startElementpublic void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface XmlReadHandlercharacters in class AbstractXmlReadHandlerch - the character buffer.start - the start index.length - the length.SAXException - if there is a parsing error.public String getResult()
public Object getObject()