Class IncludeTag

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

    public class IncludeTag
    extends javax.servlet.jsp.tagext.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()
      void setDefaultResourceType​(java.lang.String type)
      Sets the defaultResourceType attribute
      void setFlush​(boolean flush)
      Sets the flush attribute
      void setIgnoreComponentHierarchy​(boolean ignoreComponentHierarchy)
      Set the ignore component hierarchy attribute
      void setPageContext​(javax.servlet.jsp.PageContext pageContext)
      void setPath​(java.lang.String path)
      Sets the path attribute
      void setResourceType​(java.lang.String resourceType)
      Sets the resource type attribute
      void 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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IncludeTag

        public IncludeTag()
    • Method Detail

      • doEndTag

        public int doEndTag()
                     throws javax.servlet.jsp.JspException
        Specified by:
        doEndTag in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doEndTag in class javax.servlet.jsp.tagext.TagSupport
        Returns:
        EVAL_PAGE
        Throws:
        javax.servlet.jsp.JspException - if an error occurs
      • setPageContext

        public void setPageContext​(javax.servlet.jsp.PageContext pageContext)
        Specified by:
        setPageContext in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        setPageContext in class javax.servlet.jsp.tagext.TagSupport
      • 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