net.ontopia.topicmaps.nav2.taglibs.value
Class BaseValueProducingTag

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

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

Field Summary
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
BaseValueProducingTag()
           
 
Method Summary
 int doEndTag()
          Processes the end tag.
 int doStartTag()
          Process the start tag for this instance.
protected  Collection getInputCollection(ContextManagerIF ctxtMgr)
          INTERNAL: return collection to work with, throw NavigatorRuntimeException if collection is null.
 void release()
          Resets the state of the Tag.
 void setOf(String variableName)
           
 
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
 
Methods inherited from interface net.ontopia.topicmaps.nav2.core.ValueProducingTagIF
process
 

Field Detail

variableName

protected String variableName
Constructor Detail

BaseValueProducingTag

public BaseValueProducingTag()
Method Detail

doStartTag

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

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Processes the end tag.

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException

release

public void release()
Resets the state of the Tag.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.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)


Copyright © 2000-2012 Ontopia.