|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.util.parser.formatter.NullHandler
This handler generates no output at all
Field Summary |
Fields inherited from interface com.cc.framework.util.parser.HtmlHandler |
JSP_DECLARATION, JSP_EXPRESSION, JSP_SCRIPT, M_CLOSING, M_INLINE, M_OPENING |
Constructor Summary | |
NullHandler()
|
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 |
void |
handleJspComment(char[] ch,
int start,
int length)
Is called to process a JSP comment |
void |
handleJspDirective(java.lang.String directive,
HtmlAttributes attributes)
Is called for a JSP directive |
void |
handleJspScriptlet(int type,
char[] ch,
int start,
int length)
Is called to process a JSP scriptlet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NullHandler()
Method Detail |
public void handleJspComment(char[] ch, int start, int length)
JspHandler
handleJspComment
in interface JspHandler
ch
- the character bufferstart
- the starting index within the bufferlength
- the number of charactersJspHandler.handleJspComment(char[], int, int)
public void handleJspDirective(java.lang.String directive, HtmlAttributes attributes)
JspHandler
handleJspDirective
in interface JspHandler
directive
- the directive nameattributes
- the attribute list of the elementJspHandler.handleJspDirective(java.lang.String, com.cc.framework.util.parser.HtmlAttributes)
public void handleJspScriptlet(int type, char[] ch, int start, int length)
JspHandler
handleJspScriptlet
in interface JspHandler
type
- the type of the scriptlet (JSP_xxxx)ch
- the character bufferstart
- the starting index within the bufferlength
- the number of charactersJspHandler.handleJspScriptlet(int, char[], int, int)
public void handleCharacters(char[] ch, int start, int length)
HtmlHandler
handleCharacters
in interface HtmlHandler
ch
- the character bufferstart
- the starting index within the bufferlength
- the number of charactersHtmlHandler.handleCharacters(char[], int, int)
public void handleComment(char[] ch, int start, int length)
HtmlHandler
handleComment
in interface HtmlHandler
ch
- the character bufferstart
- the starting index within the bufferlength
- the number of charactersHtmlHandler.handleComment(char[], int, int)
public void handleDocument(int mode)
HtmlHandler
handleDocument
in interface HtmlHandler
mode
- one of the M_xxx constantsHtmlHandler.handleDocument(int)
public void handleElement(java.lang.String name, HtmlAttributes attributes, int mode)
HtmlHandler
handleElement
in interface HtmlHandler
name
- the element nameattributes
- the attribute list of the elementmode
- one of the M_xxx constantsHtmlHandler.handleElement(java.lang.String, com.cc.framework.util.parser.HtmlAttributes, int)
public void handleEntity(java.lang.String entity, char character)
HtmlHandler
handleEntity
in interface HtmlHandler
entity
- the entity name (with '&' and ';')character
- the corresponding character codeHtmlHandler.handleEntity(java.lang.String, char)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |