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
Required for list contents ...
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringBuffer
A string buffer.private String
The string under construction. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] ch, int start, int length) This method is called to process the character data between element tags.protected void
Done parsing.Returns the object for this element.Returns the result.protected void
startParsing
(Attributes attrs) Starts parsing.Methods inherited from class org.jfree.xml.parser.AbstractXmlReadHandler
endElement, getHandlerForChild, getRootHandler, getTagName, init, startElement
-
Field Details
-
buffer
A string buffer. -
result
The string under construction.
-
-
Constructor Details
-
StringReadHandler
public StringReadHandler()Creates a new handler.
-
-
Method Details
-
startParsing
Starts parsing.- Overrides:
startParsing
in classAbstractXmlReadHandler
- Parameters:
attrs
- the attributes.- Throws:
SAXException
- if there is a parsing error.
-
characters
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:
SAXException
- if there is a parsing error.
-
doneParsing
Done parsing.- Overrides:
doneParsing
in classAbstractXmlReadHandler
- Throws:
SAXException
- if there is a parsing error.XmlReaderException
- if there is a reader error.
-
getResult
Returns the result.- Returns:
- The result.
-
getObject
Returns the object for this element.- Returns:
- the object.
-