|
||||||||
| 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.CmsJspScopedVarBodyTagSuport
org.opencms.jsp.CmsJspTagFormatter
public class CmsJspTagFormatter
Implementation of the <cms:formatter var="..." val="..." /> tag,
used to access and display XML content item information in a formatter.
| Field Summary | |
|---|---|
protected CmsObject |
m_cms
The CmsObject for the current user. |
protected CmsFlexController |
m_controller
The FlexController for the current request. |
protected CmsResource |
m_resource
Reference to the last loaded resource element. |
| 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 | |
|---|---|
CmsJspTagFormatter()
Empty constructor, required for JSP tags. |
|
CmsJspTagFormatter(javax.servlet.jsp.PageContext context,
java.util.Locale locale)
Constructor used when using formatter from scriptlet code. |
|
| Method Summary | |
|---|---|
int |
doEndTag()
|
int |
doStartTag()
|
java.lang.String |
getLocale()
Returns the locale. |
java.lang.String |
getRdfa()
Returns the name for the optional attribute that provides direct access to the RDFA map. |
java.lang.String |
getVal()
Returns the name for the optional attribute that provides direct access to the content value map. |
protected void |
init()
Initializes this formatter tag. |
void |
release()
|
void |
setLocale(java.lang.String locale)
Sets the locale. |
void |
setRdfa(java.lang.String rdfa)
Sets the name for the optional attribute that provides direct access to the RDFA map. |
void |
setVal(java.lang.String val)
Sets the name for the optional attribute that provides direct access to the content value map. |
| Methods inherited from class org.opencms.jsp.CmsJspScopedVarBodyTagSuport |
|---|
getScope, getScopeAsInt, getScopeAsString, getScopeInt, getVar, isScopeVarSet, setScope, setVar, storeAttribute, storeAttribute |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
|---|
doAfterBody, doInitBody, 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 |
|---|
protected transient CmsObject m_cms
protected CmsFlexController m_controller
protected transient CmsResource m_resource
| Constructor Detail |
|---|
public CmsJspTagFormatter()
public CmsJspTagFormatter(javax.servlet.jsp.PageContext context,
java.util.Locale locale)
throws javax.servlet.jsp.JspException
formatter from scriptlet code.
context - the JSP page contextlocale - the locale to use
javax.servlet.jsp.JspException - in case something goes wrong| Method Detail |
|---|
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionBodyTagSupport.doEndTag()
public int doStartTag()
throws javax.servlet.jsp.JspException,
CmsIllegalArgumentException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspException
CmsIllegalArgumentExceptionTag.doStartTag()public java.lang.String getLocale()
public java.lang.String getRdfa()
public java.lang.String getVal()
public void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class CmsJspScopedVarBodyTagSuportTag.release()public void setLocale(java.lang.String locale)
locale - the locale to setpublic void setRdfa(java.lang.String rdfa)
rdfa - the name for the optional attribute that provides direct access to the RDFA mappublic void setVal(java.lang.String val)
val - the name for the optional attribute that provides direct access to the content value map
protected void init()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException - in case something goes wrong
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||