Package com.day.cq.wcm.tags
Class IncludeTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- com.day.cq.wcm.tags.IncludeTag
-
- All Implemented Interfaces:
java.io.Serializable
,IterationTag
,JspTag
,Tag
public class IncludeTag extends TagSupport
IncludeTag
implements the <cq:include/> 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 IncludeTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doEndTag()
Default processing of the end tag returning EVAL_PAGE.void
setDefaultResourceType(java.lang.String type)
Sets the defaultResourceType attributevoid
setFlush(boolean flush)
Sets the flush attributevoid
setIgnoreComponentHierarchy(boolean ignoreComponentHierarchy)
Set the ignore component hierarchy attributevoid
setPageContext(PageContext pageContext)
Set the page context.void
setPath(java.lang.String path)
Sets the path attributevoid
setResourceType(java.lang.String resourceType)
Sets the resource type attributevoid
setScript(java.lang.String script)
Sets the script attribute-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setParent, setValue
-
-
-
-
Method Detail
-
doEndTag
public int doEndTag() throws JspException
Default processing of the end tag returning EVAL_PAGE.- Specified by:
doEndTag
in interfaceTag
- Overrides:
doEndTag
in classTagSupport
- Returns:
- EVAL_PAGE
- Throws:
JspException
- if an error occurs- See Also:
Tag.doEndTag()
-
setPageContext
public void setPageContext(PageContext pageContext)
Set the page context.- Specified by:
setPageContext
in interfaceTag
- Overrides:
setPageContext
in classTagSupport
- Parameters:
pageContext
- The PageContext.- See Also:
Tag.setPageContext(javax.servlet.jsp.PageContext)
-
setDefaultResourceType
public void setDefaultResourceType(java.lang.String type)
Sets the defaultResourceType attribute- Parameters:
type
- attribute value
-
setResourceType
public void setResourceType(java.lang.String resourceType)
Sets the resource type attribute- Parameters:
resourceType
- attribute value
-
setPath
public void setPath(java.lang.String path)
Sets the path attribute- Parameters:
path
- attribute value
-
setScript
public void setScript(java.lang.String script)
Sets the script attribute- Parameters:
script
- attribute value
-
setFlush
public void setFlush(boolean flush)
Sets the flush attribute- Parameters:
flush
- attribute value
-
setIgnoreComponentHierarchy
public void setIgnoreComponentHierarchy(boolean ignoreComponentHierarchy)
Set the ignore component hierarchy attribute- Parameters:
ignoreComponentHierarchy
- attribute value
-
-