net.ontopia.topicmaps.nav2.taglibs.output
Class DebugTag

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

public class DebugTag
extends javax.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:
Serialized Form

Field Summary
protected  ContextTag contextTag
           
protected  String variableName
           
 
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
DebugTag()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
          INTERNAL: Process the start tag for this instance.
 void generateOutput(javax.servlet.jsp.JspWriter out, Iterator iterator)
          INTERNAL: Generate information extracted from the input collection provided access by specified iterator.
 void release()
          INTERNAL: Reset the state of the Tag.
 void setOf(String variableName)
          INTERNAL: Tag attribute for setting the variable name of the input collection.
 
Methods inherited from class javax.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 Detail

contextTag

protected ContextTag contextTag

variableName

protected String variableName
Constructor Detail

DebugTag

public DebugTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspTagException
INTERNAL: Process the start tag for this instance.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspTagException

doEndTag

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

release

public void release()
INTERNAL: Reset the state of the Tag.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.tagext.TagSupport

generateOutput

public void generateOutput(javax.servlet.jsp.JspWriter out,
                           Iterator iterator)
                    throws javax.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:
javax.servlet.jsp.JspTagException
IOException

setOf

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



Copyright © 2000-2012 Ontopia.