Class AbstractDispatcherTagHandler
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- org.apache.sling.scripting.jsp.taglib.AbstractDispatcherTagHandler
-
- All Implemented Interfaces:
Serializable,IterationTag,JspTag,Tag
- Direct Known Subclasses:
ForwardTagHandler,IncludeTagHandler
public abstract class AbstractDispatcherTagHandler extends TagSupport
TheIncludeTagHandlerimplements the<sling:include>custom tag.- See Also:
- Serialized Form
-
-
Field Summary
-
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
Constructors Constructor Description AbstractDispatcherTagHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdoEndTag()Called after the body has been processed.voidrelease()Release state.voidsetAddSelectors(String selectors)voidsetPageContext(PageContext pageContext)Set the page context.voidsetPath(String path)voidsetReplaceSelectors(String selectors)voidsetReplaceSuffix(String suffix)voidsetResource(Resource rsrc)voidsetResourceType(String rsrcType)-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setParent, setValue
-
-
-
-
Method Detail
-
doEndTag
public int doEndTag() throws JspExceptionCalled after the body has been processed.- Specified by:
doEndTagin interfaceTag- Overrides:
doEndTagin classTagSupport- Returns:
- whether additional evaluations of the body are desired
- Throws:
JspException- if an error occurs while processing this tag- See Also:
Tag.doEndTag()
-
setPageContext
public void setPageContext(PageContext pageContext)
Description copied from class:TagSupportSet the page context.- Specified by:
setPageContextin interfaceTag- Overrides:
setPageContextin classTagSupport- Parameters:
pageContext- The PageContext.- See Also:
Tag.setPageContext(javax.servlet.jsp.PageContext)
-
setResource
public void setResource(Resource rsrc)
-
setPath
public void setPath(String path)
-
setResourceType
public void setResourceType(String rsrcType)
-
setReplaceSelectors
public void setReplaceSelectors(String selectors)
-
setAddSelectors
public void setAddSelectors(String selectors)
-
setReplaceSuffix
public void setReplaceSuffix(String suffix)
-
release
public void release()
Description copied from class:TagSupportRelease state.- Specified by:
releasein interfaceTag- Overrides:
releasein classTagSupport- See Also:
Tag.release()
-
-