java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
net.ontopia.topicmaps.nav2.taglibs.output.DebugTag
All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable, OutputProducingTagIF

public class DebugTag extends jakarta.servlet.jsp.tagext.TagSupport implements OutputProducingTagIF
INTERNAL: Output-producing tag used for debugging. It calls toString() on the collection to show unambiguously what it contains.
Since:
2.0
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected ContextTag
     
    protected String
     

    Fields inherited from class jakarta.servlet.jsp.tagext.TagSupport

    id, pageContext

    Fields inherited from interface jakarta.servlet.jsp.tagext.IterationTag

    EVAL_BODY_AGAIN

    Fields inherited from interface jakarta.servlet.jsp.tagext.Tag

    EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final int
     
    int
    INTERNAL: Process the start tag for this instance.
    void
    generateOutput(jakarta.servlet.jsp.JspWriter out, Iterator iterator)
    INTERNAL: Generate information extracted from the input collection provided access by specified iterator.
    void
    INTERNAL: Reset the state of the Tag.
    final void
    setOf(String variableName)
    INTERNAL: Tag attribute for setting the variable name of the input collection.

    Methods inherited from class jakarta.servlet.jsp.tagext.TagSupport

    doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • contextTag

      protected ContextTag contextTag
    • variableName

      protected String variableName
  • Constructor Details

    • DebugTag

      public DebugTag()
  • Method Details

    • doStartTag

      public int doStartTag() throws jakarta.servlet.jsp.JspTagException
      INTERNAL: Process the start tag for this instance.
      Specified by:
      doStartTag in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      doStartTag in class jakarta.servlet.jsp.tagext.TagSupport
      Throws:
      jakarta.servlet.jsp.JspTagException
    • doEndTag

      public final int doEndTag()
      Specified by:
      doEndTag in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      doEndTag in class jakarta.servlet.jsp.tagext.TagSupport
    • release

      public void release()
      INTERNAL: Reset the state of the Tag.
      Specified by:
      release in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      release in class jakarta.servlet.jsp.tagext.TagSupport
    • generateOutput

      public void generateOutput(jakarta.servlet.jsp.JspWriter out, Iterator iterator) throws jakarta.servlet.jsp.JspTagException, IOException
      Description copied from interface: OutputProducingTagIF
      INTERNAL: Generate information extracted from the input collection provided access by specified iterator. This is expected to be written to the JspWriter object.
      Specified by:
      generateOutput in interface OutputProducingTagIF
      Throws:
      jakarta.servlet.jsp.JspTagException
      IOException
    • setOf

      public final void setOf(String variableName)
      INTERNAL: Tag attribute for setting the variable name of the input collection.