Package org.jfree.xml.parser.coretypes
Class StringReadHandler
- java.lang.Object
-
- org.jfree.xml.parser.AbstractXmlReadHandler
-
- org.jfree.xml.parser.coretypes.StringReadHandler
-
- All Implemented Interfaces:
XmlReadHandler
public class StringReadHandler extends AbstractXmlReadHandler
Required for list contents ...
-
-
Constructor Summary
Constructors Constructor Description StringReadHandler()
Creates a new handler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
protected void
startParsing(org.xml.sax.Attributes attrs)
Starts parsing.-
Methods inherited from class org.jfree.xml.parser.AbstractXmlReadHandler
endElement, getHandlerForChild, getRootHandler, getTagName, init, startElement
-
-
-
-
Constructor Detail
-
StringReadHandler
public StringReadHandler()
Creates a new handler.
-
-
Method Detail
-
startParsing
protected void startParsing(org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
Starts parsing.- Overrides:
startParsing
in classAbstractXmlReadHandler
- Parameters:
attrs
- the attributes.- Throws:
org.xml.sax.SAXException
- if there is a parsing error.
-
characters
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
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:
org.xml.sax.SAXException
- if there is a parsing error.
-
doneParsing
protected void doneParsing() throws org.xml.sax.SAXException, XmlReaderException
Done parsing.- Overrides:
doneParsing
in classAbstractXmlReadHandler
- Throws:
org.xml.sax.SAXException
- if there is a parsing error.XmlReaderException
- if there is a reader error.
-
getResult
public java.lang.String getResult()
-
getObject
public java.lang.Object getObject()
Returns the object for this element.- Returns:
- the object.
-
-