|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.opencms.jsp.CmsJspTagContentShow
public class CmsJspTagContentShow
Used to access and display XML content item information from the VFS.
| Field Summary |
|---|
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
id, pageContext |
| 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 | |
|---|---|
CmsJspTagContentShow()
|
|
| Method Summary | |
|---|---|
static String |
contentShowTagAction(I_CmsXmlContentContainer container,
PageContext context,
String element,
Locale locale)
Internal action method to show an element from a XML content document. |
int |
doEndTag()
|
int |
doStartTag()
|
String |
getElement()
Returns the name of the content node element to show. |
String |
getLocale()
Returns the locale. |
void |
release()
|
void |
setElement(String element)
Sets the name of the content node element to show. |
void |
setLocale(String locale)
Sets the locale. |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
doAfterBody, 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 |
| Constructor Detail |
|---|
public CmsJspTagContentShow()
| Method Detail |
|---|
public static String contentShowTagAction(I_CmsXmlContentContainer container,
PageContext context,
String element,
Locale locale)
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 show
public int doEndTag()
doEndTag in interface TagdoEndTag in class TagSupportTag.doEndTag()
public int doStartTag()
throws JspException
doStartTag in interface TagdoStartTag in class TagSupportJspExceptionTag.doStartTag()public String getElement()
public String getLocale()
public void release()
release in interface Tagrelease in class TagSupportTag.release()public void setElement(String element)
element - the name of the content node element to showpublic void setLocale(String locale)
locale - the locale to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||