Class TagProxy<T extends javax.servlet.jsp.tagext.Tag>

  • Type Parameters:
    T - Type of the Tag this proxy delegates to
    All Implemented Interfaces:
    javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, ProxiedTag<T>
    Direct Known Subclasses:
    IterationTagProxy

    public abstract class TagProxy<T extends javax.servlet.jsp.tagext.Tag>
    extends AbstractTagProxy<T>
    implements javax.servlet.jsp.tagext.Tag
    A proxy that implements Tag and allows the target implementation to use dependency injection.
    Author:
    Richard "Shred" K├Ârber
    • Method Detail

      • setPageContext

        public void setPageContext​(javax.servlet.jsp.PageContext pageContext)
        Specified by:
        setPageContext in interface javax.servlet.jsp.tagext.Tag
      • doEndTag

        public int doEndTag()
                     throws javax.servlet.jsp.JspException
        Specified by:
        doEndTag in interface javax.servlet.jsp.tagext.Tag
        Throws:
        javax.servlet.jsp.JspException
      • doStartTag

        public int doStartTag()
                       throws javax.servlet.jsp.JspException
        Specified by:
        doStartTag in interface javax.servlet.jsp.tagext.Tag
        Throws:
        javax.servlet.jsp.JspException
      • getParent

        public javax.servlet.jsp.tagext.Tag getParent()
        Specified by:
        getParent in interface javax.servlet.jsp.tagext.Tag
      • release

        public void release()
        Specified by:
        release in interface javax.servlet.jsp.tagext.Tag
      • setParent

        public void setParent​(javax.servlet.jsp.tagext.Tag t)
        Specified by:
        setParent in interface javax.servlet.jsp.tagext.Tag
      • doFinally

        public void doFinally()
        Handles TryCatchFinally implementations.