|
|||||||||||
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.DefaultHandler com.cc.framework.util.parser.formatter.HtmlFormatterHandler
Creates a formated HTML output
Field Summary |
Fields inherited from class com.cc.framework.util.parser.formatter.DefaultHandler |
|
Fields inherited from interface com.cc.framework.util.parser.HtmlHandler |
JSP_DECLARATION, JSP_EXPRESSION, JSP_SCRIPT, M_CLOSING, M_INLINE, M_OPENING |
Constructor Summary | |
HtmlFormatterHandler(java.io.OutputStream out)
Constructor |
Method Summary | |
void |
handleCharacters(char[] ch,
int start,
int length)
Is called to process CDATA |
protected void |
handleCharacters(java.lang.String str)
|
void |
handleComment(char[] ch,
int start,
int length)
Is called to process a HTML comment |
void |
handleElement(java.lang.String name,
HtmlAttributes attributes,
int mode)
Is called at the beginning or the end of an element |
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 com.cc.framework.util.parser.formatter.DefaultHandler |
handleDocument, handleEntity, print, print, print |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HtmlFormatterHandler(java.io.OutputStream out)
out
- the output streamMethod Detail |
public void handleElement(java.lang.String name, HtmlAttributes attributes, int mode)
HtmlHandler
handleElement
in interface HtmlHandler
handleElement
in class DefaultHandler
DefaultHandler.handleElement(java.lang.String, com.cc.framework.util.parser.HtmlAttributes, int)
public void handleComment(char[] ch, int start, int length)
HtmlHandler
handleComment
in interface HtmlHandler
handleComment
in class DefaultHandler
DefaultHandler.handleComment(char[], int, int)
protected void handleCharacters(java.lang.String str)
public void handleCharacters(char[] ch, int start, int length)
HtmlHandler
handleCharacters
in interface HtmlHandler
handleCharacters
in class DefaultHandler
DefaultHandler.handleCharacters(char[], int, int)
public void handleJspComment(char[] ch, int start, int length)
JspHandler
handleJspComment
in interface JspHandler
handleJspComment
in class DefaultHandler
DefaultHandler.handleJspComment(char[], int, int)
public void handleJspScriptlet(int type, char[] ch, int start, int length)
JspHandler
handleJspScriptlet
in interface JspHandler
handleJspScriptlet
in class DefaultHandler
DefaultHandler.handleJspScriptlet(int, char[], int, int)
public void handleJspDirective(java.lang.String directive, HtmlAttributes attributes)
JspHandler
handleJspDirective
in interface JspHandler
handleJspDirective
in class DefaultHandler
DefaultHandler.handleJspDirective(java.lang.String, com.cc.framework.util.parser.HtmlAttributes)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |