|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XMLParserHandlerInterface
Defines the methods that an XML parser handler needs to
implement to be able to parse an XML document using an
XML parser implementing XMLParserInterface
Method Summary | |
---|---|
void |
characters(String chars,
int start,
int length)
Called one or several times for each values of a node in the XML document. |
void |
endDocument()
Called in the end of the document when parsing has finished |
void |
endElement(String name)
Called once at the end of each node in the XML document. |
void |
startDocument()
Called in the beginning of the document before parsing starts |
void |
startElement(String name,
Map attributes)
Called once at the start of each node in the XML document. |
Method Detail |
---|
void startDocument()
void endDocument()
void startElement(String name, Map attributes)
characters(String,int,int)
name
- The name of the nodeattributes
- The attributes of the nodevoid endElement(String name)
name
- The name of the nodevoid characters(String chars, int start, int length)
chars
- The String object containing the valuestart
- The start position of the valuelength
- The length of the value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |