|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XmlReadHandler
A handler for reading an XML element.
Method Summary | |
---|---|
void |
characters(char[] ch,
int start,
int length)
This method is called to process the character data between element tags. |
void |
endElement(java.lang.String uri,
java.lang.String tagName)
This method is called at the end of an element. |
java.lang.Object |
getObject()
Returns the object for this element or null, if this element does not create an object. |
void |
init(RootXmlReadHandler rootHandler,
java.lang.String uri,
java.lang.String tagName)
Initialise. |
void |
startElement(java.lang.String uri,
java.lang.String tagName,
org.xml.sax.Attributes attrs)
This method is called at the start of an element. |
Method Detail |
---|
void startElement(java.lang.String uri, java.lang.String tagName, org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
uri
- the namespace uri.tagName
- the tag name.attrs
- the attributes.
org.xml.sax.SAXException
- if there is a parsing 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(java.lang.String uri, java.lang.String tagName) throws org.xml.sax.SAXException
uri
- the namespace uri.tagName
- the tag name.
org.xml.sax.SAXException
- if there is a parsing error.java.lang.Object getObject() throws org.xml.sax.SAXException
org.xml.sax.SAXException
- if an parser error occured.void init(RootXmlReadHandler rootHandler, java.lang.String uri, java.lang.String tagName) throws org.xml.sax.SAXException
rootHandler
- the root handler.uri
- the namespace uri.tagName
- the tag name.
org.xml.sax.SAXException
- if an parser-error occured.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |