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 uri,
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 uri,
String tagName)
Initialise.
|
void |
startElement(String uri,
String tagName,
Attributes attrs)
This method is called at the start of an element.
|
void startElement(String uri, String tagName, Attributes attrs) throws SAXException
uri - the namespace uri.tagName - the tag name.attrs - the attributes.SAXException - if there is a parsing error.void characters(char[] ch,
int start,
int length)
throws SAXException
ch - the character buffer.start - the start index.length - the length.SAXException - if there is a parsing error.void endElement(String uri, String tagName) throws SAXException
uri - the namespace uri.tagName - the tag name.SAXException - if there is a parsing error.Object getObject() throws SAXException
SAXException - if an parser error occured.void init(RootXmlReadHandler rootHandler, String uri, String tagName) throws SAXException
rootHandler - the root handler.uri - the namespace uri.tagName - the tag name.SAXException - if an parser-error occured.