|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The HtmlHandler implements the callback methods the HTML parser will call during processing of a HTML document
| Field Summary | |
static int |
JSP_DECLARATION
JSP Scriptlet declaration |
static int |
JSP_EXPRESSION
JSP Scriptlet expression |
static int |
JSP_SCRIPT
JSP Scriptlet java code |
static int |
M_CLOSING
Closing element </b> |
static int |
M_INLINE
Inline element <br/> |
static int |
M_OPENING
Opening element <b> |
| Method Summary | |
void |
handleCharacters(char[] ch,
int start,
int length)
Is called to process CDATA |
void |
handleComment(char[] ch,
int start,
int length)
Is called to process a HTML comment |
void |
handleDocument(int mode)
Is called at the beginning or the end of the document |
void |
handleElement(java.lang.String name,
HtmlAttributes attributes,
int mode)
Is called at the beginning or the end of an element |
void |
handleEntity(java.lang.String entity,
char character)
Is called to process an entity |
| Field Detail |
public static final int JSP_DECLARATION
public static final int JSP_EXPRESSION
public static final int JSP_SCRIPT
public static final int M_OPENING
public static final int M_CLOSING
public static final int M_INLINE
| Method Detail |
public void handleDocument(int mode)
mode - one of the M_xxx constants
public void handleElement(java.lang.String name,
HtmlAttributes attributes,
int mode)
name - the element nameattributes - the attribute list of the elementmode - one of the M_xxx constants
public void handleCharacters(char[] ch,
int start,
int length)
ch - the character bufferstart - the starting index within the bufferlength - the number of characters
public void handleComment(char[] ch,
int start,
int length)
ch - the character bufferstart - the starting index within the bufferlength - the number of characters
public void handleEntity(java.lang.String entity,
char character)
entity - the entity name (with '&' and ';')character - the corresponding character code
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||