net.ontopia.topicmaps.nav2.taglibs.TMvalue
Class OccurrencesTag
java.lang.Object
javax.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.OccurrencesTag
- All Implemented Interfaces:
- Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, ScopeSupportIF, ValueAcceptingTagIF, ValueProducingTagIF
public class OccurrencesTag
- extends BaseScopedTag
INTERNAL: Value Producing Tag for finding all the occurrences
of all the topics in a collection.
- 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 |
Method Summary |
Collection |
process(Collection topics)
INTERNAL: Process the input collection and return the output
collection. |
void |
setType(String typeString)
Sets type of wanted occurrences: The following values are
allowed:
internal ,
external ,
all (default). |
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 |
TYPE_NAME_ALL
public static final String TYPE_NAME_ALL
- See Also:
- Constant Field Values
TYPE_NAME_INTERNAL
public static final String TYPE_NAME_INTERNAL
- See Also:
- Constant Field Values
TYPE_NAME_EXTERNAL
public static final String TYPE_NAME_EXTERNAL
- See Also:
- Constant Field Values
TYPE_ALL
protected static final int TYPE_ALL
- See Also:
- Constant Field Values
TYPE_INTERNAL
protected static final int TYPE_INTERNAL
- See Also:
- Constant Field Values
TYPE_EXTERNAL
protected static final int TYPE_EXTERNAL
- See Also:
- Constant Field Values
OccurrencesTag
public OccurrencesTag()
process
public Collection process(Collection topics)
throws javax.servlet.jsp.JspTagException
- Description copied from interface:
ValueProducingTagIF
- INTERNAL: 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:
javax.servlet.jsp.JspTagException
- See Also:
BaseValueProducingTag
setType
public void setType(String typeString)
throws NavigatorRuntimeException
- Sets type of wanted occurrences: The following values are
allowed:
internal
,
external
,
all
(default).
- Throws:
NavigatorRuntimeException
Copyright © 2000-2012 Ontopia.