|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DocumentHandler
Invoked by the HTMLParser when elements are scanned.
| Method Summary | |
|---|---|
void |
characters(char[] ch,
int off,
int len)
Receive notification of unparsed character data. |
void |
onEnd()
Receive notification of parsing end. |
void |
onEndElement(String name,
char[] ch,
int off,
int len)
Receive notification of the end of an element. |
void |
onStart()
Receive notification of parsing start. |
void |
onStartElement(String name,
AttributeList attList,
char[] ch,
int off,
int len,
boolean endSlash)
Receive notification of the beginning of an element. |
| Method Detail |
|---|
void characters(char[] ch,
int off,
int len)
throws IOException
ch - character dataoff - offset where character data startslen - length of character data
IOException
void onStartElement(String name,
AttributeList attList,
char[] ch,
int off,
int len,
boolean endSlash)
throws IOException
name - tag nameattList - attribute listch - string equivalent to this notificationoff - offset where character data startslen - length of character dataendSlash - flag indicating whether the element is closed with
an ending slash (xhtml-compliant)
IOException
void onEndElement(String name,
char[] ch,
int off,
int len)
throws IOException
name - tag namech - string equivalent to this notificationoff - offset where character data startslen - length of character data
IOException
void onStart()
throws IOException
IOException
void onEnd()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||