|
|||||||||
| Home >> All >> com >> aendvari >> tethys >> tag >> [ context overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.aendvari.tethys.tag.context
Class ContextBodyTag

java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.aendvari.tethys.tag.data.DataBodyTag
com.aendvari.tethys.tag.context.ContextBodyTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, ContextAncestorTag, com.aendvari.tethys.tag.data.DataAncestorTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public abstract class ContextBodyTag
- extends com.aendvari.tethys.tag.data.DataBodyTag
- implements ContextAncestorTag
- extends com.aendvari.tethys.tag.data.DataBodyTag
A base class for all body tags requiring context.
| Field Summary | |
protected java.lang.String |
context
The relative context in which this tag resides. |
| Fields inherited from class com.aendvari.tethys.tag.data.DataBodyTag |
dataScope, name |
| 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 | |
ContextBodyTag()
Default constructor, all subclasses are required to only define a public constructor with the same signature, and to call the superclass constructor. |
|
| Method Summary | |
protected com.aendvari.tethys.context.Context |
determineContext(com.aendvari.tethys.context.ContextMap contextMap,
java.lang.Class ancestorClass,
java.lang.reflect.Method contextMethod)
Determines the com.aendvari.tethys.context.Context of this tag. |
java.lang.String |
getContext()
|
com.aendvari.tethys.context.Context |
getParentContext(com.aendvari.tethys.context.ContextMap contextMap,
javax.servlet.jsp.tagext.TagSupport tagSupport,
java.lang.Class ancestorClass,
java.lang.reflect.Method contextMethod)
Returns the parent com.aendvari.tethys.context.Context for this tag. |
void |
release()
Release all allocated resources. |
void |
setContext(java.lang.String context)
|
| Methods inherited from class com.aendvari.tethys.tag.data.DataBodyTag |
getDataScope, getName, setDataScope, setName |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doEndTag, doInitBody, doStartTag, 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 |
context
protected java.lang.String context
- The relative context in which this tag resides.
| Constructor Detail |
ContextBodyTag
public ContextBodyTag()
- Default constructor, all subclasses are required to only define a public
constructor with the same signature, and to call the superclass constructor.
| Method Detail |
getContext
public java.lang.String getContext()
setContext
public void setContext(java.lang.String context)
determineContext
protected com.aendvari.tethys.context.Context determineContext(com.aendvari.tethys.context.ContextMap contextMap, java.lang.Class ancestorClass, java.lang.reflect.Method contextMethod) throws javax.servlet.jsp.JspTagException
- Determines the com.aendvari.tethys.context.Context of this tag.
The
contextparameter is used to select the com.aendvari.tethys.context.Context.
getParentContext
public com.aendvari.tethys.context.Context getParentContext(com.aendvari.tethys.context.ContextMap contextMap, javax.servlet.jsp.tagext.TagSupport tagSupport, java.lang.Class ancestorClass, java.lang.reflect.Method contextMethod) throws javax.servlet.jsp.JspTagException
- Returns the parent com.aendvari.tethys.context.Context for this tag.
release
public void release()
- Release all allocated resources.
- Specified by:
releasein interfacejavax.servlet.jsp.tagext.Tag
|
|||||||||
| Home >> All >> com >> aendvari >> tethys >> tag >> [ context overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC