org.jfree.xml.parser.coretypes

Class StringReadHandler

Implemented Interfaces:
XmlReadHandler

public class StringReadHandler
extends AbstractXmlReadHandler

Required for list contents ...

Constructor Summary

StringReadHandler()
Creates a new handler.

Method Summary

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.
Object
getObject()
Returns the object for this element.
String
getResult()
protected void
startParsing(Attributes attrs)
Starts parsing.

Methods inherited from class org.jfree.xml.parser.AbstractXmlReadHandler

characters, doneParsing, endElement, getHandlerForChild, getRootHandler, getTagName, init, startElement, startParsing

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 interface AbstractXmlReadHandler
Parameters:
ch - the character buffer.
start - the start index.
length - the length.

doneParsing

protected void doneParsing()
            throws SAXException,
                   XmlReaderException
Done parsing.
Overrides:
doneParsing in interface AbstractXmlReadHandler
Throws:
XmlReaderException - if there is a reader error.

getObject

public Object getObject()
Returns the object for this element.
Specified by:
getObject in interface XmlReadHandler
Returns:
the object.

getResult

public String getResult()

startParsing

protected void startParsing(Attributes attrs)
            throws SAXException
Starts parsing.
Overrides:
startParsing in interface AbstractXmlReadHandler
Parameters:
attrs - the attributes.