public interface XmlReadHandler
| 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.
|
void |
endElement(String tagName)
This method is called at the end of an element.
|
Object |
getObject()
Returns the object for this element or null, if this element does
not create an object.
|
void |
init(RootXmlReadHandler rootHandler,
String tagName)
Initialise.
|
void |
startElement(String tagName,
org.xml.sax.Attributes attrs)
This method is called at the start of an element.
|
void startElement(String tagName, org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException, XmlReaderException
tagName - the tag name.attrs - the attributes.org.xml.sax.SAXException - if there is a parsing error.XmlReaderException - if there is a reader error.void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
ch - the character buffer.start - the start index.length - the length.org.xml.sax.SAXException - if there is a parsing error.void endElement(String tagName) throws org.xml.sax.SAXException, XmlReaderException
tagName - the tag name.org.xml.sax.SAXException - if there is a parsing error.XmlReaderException - if there is a reader error.Object getObject() throws XmlReaderException
XmlReaderException - if there is a parsing error.void init(RootXmlReadHandler rootHandler, String tagName)
rootHandler - the root handler.tagName - the tag name.Copyright © 2001-2014 JFree.org. All Rights Reserved.