|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.apache.jackrabbit.taglib.SetTag
Stores the given node or property in a scoped variable.
Field Summary | |
protected java.lang.String |
item
Item |
protected int |
scope
Scope |
protected java.lang.String |
session
Name of the scoped variable where the jcr session will be stored. |
static java.lang.String |
TAG_NAME
Tag Name |
protected java.lang.String |
var
Scoped variable where the jcr Item will be stored |
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 | |
SetTag()
Constructor |
Method Summary | |
int |
doEndTag()
|
int |
doStartTag()
|
protected javax.jcr.Item |
getItem()
Gets the item |
void |
release()
|
void |
setItem(java.lang.String item)
Sets the item |
void |
setProperty(java.lang.String property)
Sets the property. |
void |
setScope(java.lang.String scope)
Sets the scope |
void |
setSession(java.lang.String session)
Sets the session |
void |
setVar(java.lang.String var)
Sets the variable name where the Item will be stored. |
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 |
Field Detail |
public static java.lang.String TAG_NAME
protected java.lang.String session
protected java.lang.String item
protected java.lang.String var
protected int scope
Constructor Detail |
public SetTag()
Method Detail |
public int doEndTag() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public void setItem(java.lang.String item)
item
- public void setSession(java.lang.String session)
session
- public void release()
public void setVar(java.lang.String var)
var
- public int doStartTag() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
protected javax.jcr.Item getItem() throws javax.servlet.jsp.JspException, javax.jcr.RepositoryException
javax.jcr.RepositoryException
javax.servlet.jsp.JspException
public void setProperty(java.lang.String property)
property
- public void setScope(java.lang.String scope)
scope
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |