Class BaseValueProducingTag

java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
net.ontopia.topicmaps.nav2.taglibs.value.BaseValueProducingTag
All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable, ValueProducingTagIF
Direct Known Subclasses:
BaseValueProducingAndAcceptingTag, CopyTag, FulltextTag, TologQueryTag

public abstract class BaseValueProducingTag extends jakarta.servlet.jsp.tagext.TagSupport implements ValueProducingTagIF
INTERNAL: Abstract super-class of an Value-Producing Tag.

Note: Not all value producing tags are manipulating collections, so this is not the base class of all value producing tags. Exceptions are StringTag and ClassesTag.

See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    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
    int
    Processes the end tag.
    int
    Process the start tag for this instance.
    protected Collection
    INTERNAL: return collection to work with, throw NavigatorRuntimeException if collection is null.
    void
    Resets the state of the Tag.
    void
    setOf(String variableName)
     

    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

    Methods inherited from interface net.ontopia.topicmaps.nav2.core.ValueProducingTagIF

    process
  • Field Details

    • variableName

      protected String variableName
  • Constructor Details

    • BaseValueProducingTag

      public BaseValueProducingTag()
  • Method Details

    • doStartTag

      public int doStartTag() throws jakarta.servlet.jsp.JspException
      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.JspException
    • doEndTag

      public int doEndTag() throws jakarta.servlet.jsp.JspException
      Processes the end tag.
      Specified by:
      doEndTag in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      doEndTag in class jakarta.servlet.jsp.tagext.TagSupport
      Throws:
      jakarta.servlet.jsp.JspException
    • release

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

      protected Collection getInputCollection(ContextManagerIF ctxtMgr) throws NavigatorRuntimeException
      INTERNAL: return collection to work with, throw NavigatorRuntimeException if collection is null.
      Throws:
      NavigatorRuntimeException
    • setOf

      public void setOf(String variableName)