Class RolesTag
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.RolesTag
- 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 association
roles of all the topics and associations 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 tmObjects) INTERNAL: Process the input collection and return the output collection.voidsetCardinality(String cardinality) Specify in which cardinality you are interested.voidSets the variable name of an input collection consisting of one or more topics that will removed from the retrieved list of association role players.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
-
BINARY
- See Also:
-
NARY
- See Also:
-
-
Constructor Details
-
RolesTag
public RolesTag()
-
-
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:
-
setRemove
Sets the variable name of an input collection consisting of one or more topics that will removed from the retrieved list of association role players. -
setCardinality
Specify in which cardinality you are interested. This filters out the association roles retrieved for the input collection (consisting of TopicIF and AssociationIF objects). If not specified any kind of cardinality is returned. Allowed values are "binary", "nary" (means at least trenary).
-