public class CmsJspTagContentShow
extends javax.servlet.jsp.tagext.TagSupport
| 构造器和说明 |
|---|
CmsJspTagContentShow() |
| 限定符和类型 | 方法和说明 |
|---|---|
static java.lang.String |
contentShowTagAction(I_CmsXmlContentContainer container,
javax.servlet.jsp.PageContext context,
java.lang.String element,
java.util.Locale locale,
boolean escape)
Internal action method to show an element from a XML content document.
|
int |
doEndTag() |
int |
doStartTag() |
java.lang.String |
getElement()
Returns the name of the content node element to show.
|
java.lang.String |
getLocale()
Returns the locale.
|
void |
release() |
void |
setElement(java.lang.String element)
Sets the name of the content node element to show.
|
void |
setEscapeHtml(java.lang.String value)
Set the escape html flag.
|
void |
setLocale(java.lang.String locale)
Sets the locale.
|
public static java.lang.String contentShowTagAction(I_CmsXmlContentContainer container, javax.servlet.jsp.PageContext context, java.lang.String element, java.util.Locale locale, boolean escape)
container - the content container to read the XML content fromcontext - the current JSP page contextelement - the node name of the element to showlocale - the locale of the element to showescape - if the result html should be escaped or notpublic int doEndTag()
doEndTag 在接口中 javax.servlet.jsp.tagext.TagdoEndTag 在类中 javax.servlet.jsp.tagext.TagSupportTag.doEndTag()public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag 在接口中 javax.servlet.jsp.tagext.TagdoStartTag 在类中 javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspExceptionTag.doStartTag()public java.lang.String getElement()
public java.lang.String getLocale()
public void release()
release 在接口中 javax.servlet.jsp.tagext.Tagrelease 在类中 javax.servlet.jsp.tagext.TagSupportTag.release()public void setElement(java.lang.String element)
element - the name of the content node element to showpublic void setEscapeHtml(java.lang.String value)
value - should be "true" or "false" (all values other then "true" are
considered to be false)public void setLocale(java.lang.String locale)
locale - the locale to set