Class DebugTag
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
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
FieldsFields inherited from class jakarta.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface jakarta.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface jakarta.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intdoEndTag()intINTERNAL: Process the start tag for this instance.voidgenerateOutput(jakarta.servlet.jsp.JspWriter out, Iterator iterator) INTERNAL: Generate information extracted from the input collection provided access by specified iterator.voidrelease()INTERNAL: Reset the state of the Tag.final voidINTERNAL: 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
-
Field Details
-
contextTag
-
variableName
-
-
Constructor Details
-
DebugTag
public DebugTag()
-
-
Method Details
-
doStartTag
public int doStartTag() throws jakarta.servlet.jsp.JspTagExceptionINTERNAL: Process the start tag for this instance.- Specified by:
doStartTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doStartTagin classjakarta.servlet.jsp.tagext.TagSupport- Throws:
jakarta.servlet.jsp.JspTagException
-
doEndTag
public final int doEndTag()- Specified by:
doEndTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doEndTagin classjakarta.servlet.jsp.tagext.TagSupport
-
release
public void release()INTERNAL: Reset the state of the Tag.- Specified by:
releasein interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
releasein classjakarta.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:OutputProducingTagIFINTERNAL: Generate information extracted from the input collection provided access by specified iterator. This is expected to be written to theJspWriterobject.- Specified by:
generateOutputin interfaceOutputProducingTagIF- Throws:
jakarta.servlet.jsp.JspTagExceptionIOException
-
setOf
INTERNAL: Tag attribute for setting the variable name of the input collection.
-