Class BaseValueProducingAndAcceptingTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
net.ontopia.topicmaps.nav2.taglibs.value.BaseValueProducingTag
net.ontopia.topicmaps.nav2.taglibs.value.BaseValueProducingAndAcceptingTag
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag,jakarta.servlet.jsp.tagext.JspTag,jakarta.servlet.jsp.tagext.Tag,Serializable,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:
-
Field Summary
FieldsFields inherited from class net.ontopia.topicmaps.nav2.taglibs.value.BaseValueProducingTag
variableNameFields 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 TypeMethodDescriptionvoidaccept(Collection inputCollection) Accepts input collection and make it accessible for tag.intdoEndTag()Process the end tag.intProcess the start tag for this instance.protected CollectiongetInputCollection(ContextManagerIF ctxtMgr) INTERNAL: ReturninputCollectionif it was already set, then call implementation from superclass.Methods inherited from class net.ontopia.topicmaps.nav2.taglibs.value.BaseValueProducingTag
release, setOfMethods inherited from class jakarta.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.ontopia.topicmaps.nav2.core.ValueProducingTagIF
process
-
Field Details
-
contextTag
-
inputCollection
-
-
Constructor Details
-
BaseValueProducingAndAcceptingTag
public BaseValueProducingAndAcceptingTag()
-
-
Method Details
-
doStartTag
public int doStartTag() throws jakarta.servlet.jsp.JspTagExceptionProcess the start tag for this instance.- Specified by:
doStartTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doStartTagin classBaseValueProducingTag- Throws:
jakarta.servlet.jsp.JspTagException
-
doEndTag
public int doEndTag() throws jakarta.servlet.jsp.JspExceptionProcess the end tag. Subclasses implementing this method must clear member variables.- Specified by:
doEndTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doEndTagin classBaseValueProducingTag- Throws:
jakarta.servlet.jsp.JspException
-
accept
Description copied from interface:ValueAcceptingTagIFAccepts input collection and make it accessible for tag.- Specified by:
acceptin interfaceValueAcceptingTagIF
-