Class WikiTagBase

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Context m_wikiContext  
      • Fields inherited from class javax.servlet.jsp.tagext.TagSupport

        id, pageContext
      • 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
      WikiTagBase()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void doCatch​(java.lang.Throwable th)  
      int doEndTag()  
      void doFinally()  
      int doStartTag()  
      abstract int doWikiStartTag()
      This method is allowed to do pretty much whatever he wants.
      void initTag()
      This method is called when the tag is encountered within a new request, but before the setXXX() methods are called.
      void setId​(java.lang.String id)  
      void setPageContext​(javax.servlet.jsp.PageContext arg0)
      This method calls the parent setPageContext() but it also provides a way for a tag to initialize itself before any of the setXXX() methods are called.
      • Methods inherited from class javax.servlet.jsp.tagext.TagSupport

        doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setParent, setValue
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setPageContext

        public void setPageContext​(javax.servlet.jsp.PageContext arg0)
        This method calls the parent setPageContext() but it also provides a way for a tag to initialize itself before any of the setXXX() methods are called.
        Specified by:
        setPageContext in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        setPageContext in class javax.servlet.jsp.tagext.TagSupport
      • initTag

        public void initTag()
        This method is called when the tag is encountered within a new request, but before the setXXX() methods are called. The default implementation does nothing.
        Since:
        2.3.92
      • doStartTag

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

        public abstract int doWikiStartTag()
                                    throws java.lang.Exception
        This method is allowed to do pretty much whatever he wants. We then catch all mistakes.
        Throws:
        java.lang.Exception
      • 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
        Throws:
        javax.servlet.jsp.JspException
      • doCatch

        public void doCatch​(java.lang.Throwable th)
                     throws java.lang.Throwable
        Specified by:
        doCatch in interface javax.servlet.jsp.tagext.TryCatchFinally
        Throws:
        java.lang.Throwable
      • doFinally

        public void doFinally()
        Specified by:
        doFinally in interface javax.servlet.jsp.tagext.TryCatchFinally
      • setId

        public void setId​(java.lang.String id)
        Overrides:
        setId in class javax.servlet.jsp.tagext.TagSupport