net.ontopia.topicmaps.nav2.taglibs.value
Class BaseValueProducingAndAcceptingTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
net.ontopia.topicmaps.nav2.taglibs.value.BaseValueProducingTag
net.ontopia.topicmaps.nav2.taglibs.value.BaseValueProducingAndAcceptingTag
- All Implemented Interfaces:
- Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, ValueAcceptingTagIF, ValueProducingTagIF
- Direct Known Subclasses:
- BaseScopedTag, ClassesOfTag, FilterTag, IndicatorsTag, InstancesTag, LocatorTag, LookupTag, NameTag, ReifiedTag, ReifierTag, ScopeTag, SourceLocatorsTag, SplitterTag, SubclassesTag, SubjectAddressTag, SuperclassesTag, TopicsTag
public abstract class BaseValueProducingAndAcceptingTag
- extends BaseValueProducingTag
- implements ValueProducingTagIF, ValueAcceptingTagIF
INTERNAL: Abstract super-class of a tag that is both value-producing
and value-accepting.
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
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 |
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 |
contextTag
protected ContextTag contextTag
inputCollection
protected Collection inputCollection
BaseValueProducingAndAcceptingTag
public BaseValueProducingAndAcceptingTag()
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspTagException
- Process the start tag for this instance.
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class BaseValueProducingTag
- Throws:
javax.servlet.jsp.JspTagException
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Process the end tag. Subclasses implementing this method must
clear member variables.
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class BaseValueProducingTag
- Throws:
javax.servlet.jsp.JspException
getInputCollection
protected Collection getInputCollection(ContextManagerIF ctxtMgr)
throws NavigatorRuntimeException
- INTERNAL: Return
inputCollection
if it was already
set, then call implementation from superclass.
- Overrides:
getInputCollection
in class BaseValueProducingTag
- Throws:
NavigatorRuntimeException
accept
public void accept(Collection inputCollection)
- Description copied from interface:
ValueAcceptingTagIF
- Accepts input collection and make it accessible for tag.
- Specified by:
accept
in interface ValueAcceptingTagIF
Copyright © 2000-2012 Ontopia.