Class NamesTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
net.ontopia.topicmaps.nav2.taglibs.value.BaseValueProducingTag
net.ontopia.topicmaps.nav2.taglibs.value.BaseValueProducingAndAcceptingTag
net.ontopia.topicmaps.nav2.taglibs.value.BaseScopedTag
net.ontopia.topicmaps.nav2.taglibs.TMvalue.NamesTag
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag,jakarta.servlet.jsp.tagext.JspTag,jakarta.servlet.jsp.tagext.Tag,Serializable,ScopeSupportIF,ValueAcceptingTagIF,ValueProducingTagIF
INTERNAL: Value Producing Tag for finding all the base names
of all the topics in a collection.
- See Also:
-
Field Summary
FieldsFields inherited from class net.ontopia.topicmaps.nav2.taglibs.value.BaseScopedTag
useUserContextFilterFields inherited from class net.ontopia.topicmaps.nav2.taglibs.value.BaseValueProducingAndAcceptingTag
contextTag, inputCollectionFields 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 net.ontopia.topicmaps.nav2.core.ScopeSupportIF
DEC_APPLICABLE_IN, DEC_INTERSECTION, DEC_SUBSET, DEC_SUPERSET, DEC_WITHIN, SCOPE_ASSOCIATIONS, SCOPE_BASENAMES, SCOPE_OCCURRENCES, SCOPE_VARIANTSFields inherited from interface jakarta.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocess(Collection topics) INTERNAL: Process the input collection and return the output collection.voidsetUniqueValues(String unique) If the result collection should not contain the same basename value more than one time.Methods inherited from class net.ontopia.topicmaps.nav2.taglibs.value.BaseScopedTag
getScopeDecider, getScopeFilter, setContextFilterMethods inherited from class net.ontopia.topicmaps.nav2.taglibs.value.BaseValueProducingAndAcceptingTag
accept, doEndTag, doStartTag, getInputCollectionMethods 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, setValue
-
Field Details
-
uniqueValues
public boolean uniqueValues
-
-
Constructor Details
-
NamesTag
public NamesTag()
-
-
Method Details
-
process
Description copied from interface:ValueProducingTagIFINTERNAL: Process the input collection and return the output collection. This collection will afterwards typically be passed up to the parent tag, which should be a value-accepting tag.- Throws:
jakarta.servlet.jsp.JspTagException- See Also:
-
setUniqueValues
If the result collection should not contain the same basename value more than one time.- Parameters:
unique- - String which is mapped to boolean (allowed values: true|yes|false|no)
-