|
||||||
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.CmsJspTagDecorate
public class CmsJspTagDecorate
Implements the <cms:decorate></cms:decorate>
tag to decorate HTML content with configurated decoration maps.
Field Summary |
---|
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 | |
---|---|
CmsJspTagDecorate()
|
Method Summary | |
---|---|
java.lang.String |
decorateTagAction(java.lang.String content,
java.lang.String configFile,
java.lang.String locale,
javax.servlet.ServletRequest req)
Internal action method. |
int |
doEndTag()
|
java.lang.String |
getFile()
Returns the file name. |
java.lang.String |
getLocale()
Returns the locale name. |
java.lang.String |
getNoAutoCloseTags()
Getter for the attribute "noAutoCloseTags" of the <cms:parse> tag. |
void |
setFile(java.lang.String file)
Sets the file name. |
void |
setLocale(java.lang.String locale)
Sets the locale name. |
void |
setNoAutoCloseTags(java.lang.String noAutoCloseTagList)
Setter for the attribute "noAutoCloseTags" of the <cms:parse> tag. |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, 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 |
Constructor Detail |
---|
public CmsJspTagDecorate()
Method Detail |
---|
public java.lang.String decorateTagAction(java.lang.String content, java.lang.String configFile, java.lang.String locale, javax.servlet.ServletRequest req)
DEcorates a HTMl content block.
content
- the content to be decoratedconfigFile
- the config filelocale
- the locale to use for decoration or NOLOCALE if not locale should be usedreq
- the current request
CmsLinkManager.substituteLink(org.opencms.file.CmsObject, String)
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
- in case soemthing goes wrongTag.doEndTag()
public java.lang.String getFile()
public java.lang.String getLocale()
public java.lang.String getNoAutoCloseTags()
Returns a String
that consists of the comma-separated upper case tag names for which this
tag will not correct missing closing tags.
public void setFile(java.lang.String file)
file
- the file namepublic void setLocale(java.lang.String locale)
locale
- the locale namepublic void setNoAutoCloseTags(java.lang.String noAutoCloseTagList)
Awaits a String
that consists of the comma-separated upper case tag names for which this
tag should not correct missing closing tags.
noAutoCloseTagList
- a String
that consists of the comma-separated upper case tag names for which this
tag should not correct missing closing tags.
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |