|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
nl.imsystems.atag.tags.ATagBase
public class ATagBase
Base class for the ATag family of tag handlers.
Provides common support methods to subclasses.
Field Summary |
---|
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 | |
---|---|
ATagBase()
|
Method Summary | |
---|---|
protected String |
getAlias()
Returns the short name of the refering reference. |
protected ATagContext |
getATagContext()
Returns the current ATagContext instance. |
protected String |
getContextPath()
Returns web application context path |
protected String |
getNamingContext()
Returns the full id of the refering reference. |
protected ContainerBase |
getParentTag()
Returns the parent container of this tag. |
protected String |
getRefererId()
Returns the full id of the refering reference. |
protected HttpServletRequest |
getRequest()
Returns the current HttpServletRequest object |
protected HttpServletResponse |
getResponse()
Returns the current HttpServletResponse object |
protected String |
getTagId()
Returns full id of the tag by appending the value of id attribute to the namespace derived from the ATag component hierarchy. |
protected void |
popContext(HttpServletRequest req)
Puts the previous context on the request scope. |
protected void |
pushContext(HttpServletRequest req,
ATagContext ctx)
Pushes the given context on the request scope. |
protected String |
resolveRelativeName(String name)
Resolves a relative path to a component. |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
doAfterBody, doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, 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 |
Constructor Detail |
---|
public ATagBase()
Method Detail |
---|
protected HttpServletRequest getRequest()
protected HttpServletResponse getResponse()
protected String getContextPath()
protected void pushContext(HttpServletRequest req, ATagContext ctx)
req
- The current requestctx
- The context to pushprotected void popContext(HttpServletRequest req)
req
- The current requestprotected ATagContext getATagContext()
protected String getNamingContext()
protected String getAlias()
protected String getRefererId()
protected String getTagId()
protected ContainerBase getParentTag()
protected String resolveRelativeName(String name)
name
- The relative name to resolve
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |