|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.opencms.jsp.CmsJspTagParse
public class CmsJspTagParse
Implements the <cms:parse></cms:parse> tag to allow parsing of nested
HTML with the A_CmsConfiguredHtmlParser} implementation specified by the "parserClass" attribute.
| Field Summary | |
|---|---|
static String |
ATT_VISITOR_CLASS
The name of the mandatory Tag attribute for the visitor class an instance of will be guided throught the body content. |
static String |
TAG_NAME
Tag name constant for log output. |
| Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
|---|
bodyContent |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
id, pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
|---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
|---|
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
|---|---|
CmsJspTagParse()
|
|
| Method Summary | |
|---|---|
int |
doEndTag()
|
String |
getParam()
Returns the param. |
String |
getParserClass()
Returns the fully qualified class name of the A_CmsConfiguredHtmlParser class to use
for parsing. |
static String |
parseTagAction(String content,
PageContext context,
A_CmsConfiguredHtmlParser parser)
Internal action method. |
void |
release()
|
void |
setParam(String param)
Sets the param. |
void |
setParserClass(String parserClass)
Sets the fully qualified class name of the A_CmsConfiguredHtmlParser class to use for
parsing. |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
|---|
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
getParent, setPageContext, setParent |
| Field Detail |
|---|
public static final String ATT_VISITOR_CLASS
public static final String TAG_NAME
| Constructor Detail |
|---|
public CmsJspTagParse()
| Method Detail |
|---|
public static String parseTagAction(String content,
PageContext context,
A_CmsConfiguredHtmlParser parser)
Parses (and potentially transforms) a HTMl content block.
content - the content to be parsed / transformed.context - needed for getting the encoding / the locale.parser - the visitor / parser to use.
public int doEndTag()
throws JspException
doEndTag in interface TagdoEndTag in class BodyTagSupportJspException - in case soemthing goes wrongTag.doEndTag()public String getParam()
public String getParserClass()
A_CmsConfiguredHtmlParser class to use
for parsing.
public void release()
release in interface Tagrelease in class BodyTagSupportTag.release()public void setParam(String param)
param - the param to setpublic void setParserClass(String parserClass)
A_CmsConfiguredHtmlParser class to use for
parsing.
parserClass - the fully qualified class name of the A_CmsConfiguredHtmlParser
class to use for parsing.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||