public class FilterTag extends BaseValueProducingAndAcceptingTag
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_ASSOC |
static String |
CLASS_BASENAME |
static String |
CLASS_LOCATOR |
static String |
CLASS_OCC |
static String |
CLASS_ROLE |
static String |
CLASS_TOPIC |
static String |
CLASS_TOPICMAP |
static String |
CLASS_VARIANT |
static String |
UNTYPED |
contextTag, inputCollection
variableName
Constructor and Description |
---|
FilterTag() |
Modifier and Type | Method and Description |
---|---|
NavigatorDeciderIF |
getDeciderInstance(String classname) |
Collection |
process(Collection tmObjects)
INTERNAL: Process the input collection and return the output
collection.
|
void |
setDecider(String classname) |
void |
setInScopeOf(String inScopeOfValue) |
void |
setInstanceOf(String instanceOf)
Sets instanceOf string, which will first interpreted as an URI
for retrieving a topic by it's subject indicator.
|
void |
setInvert(String invert) |
void |
setIs(String kind)
Sets the kind of topic map objects that should be passed on.
|
void |
setRandomElement(String randomElement)
Set the behaviour of the filter to choose a random element from
the given input collection.
|
accept, doEndTag, doStartTag, getInputCollection
release, setOf
public static final String CLASS_TOPICMAP
public static final String CLASS_TOPIC
public static final String CLASS_ASSOC
public static final String CLASS_OCC
public static final String CLASS_BASENAME
public static final String CLASS_VARIANT
public static final String CLASS_ROLE
public static final String CLASS_LOCATOR
public static final String UNTYPED
public Collection process(Collection tmObjects) throws javax.servlet.jsp.JspTagException
ValueProducingTagIF
javax.servlet.jsp.JspTagException
BaseValueProducingTag
public void setInstanceOf(String instanceOf)
Special string "{NONE}" will be interpreted to retrieve all untyped instances.
public void setDecider(String classname)
public void setInScopeOf(String inScopeOfValue)
public void setInvert(String invert)
public void setRandomElement(String randomElement)
public void setIs(String kind)
kind
- String which should contain one of the following
values: topicmap | association | occurrence | topic |
basename | variant | role | locatorpublic NavigatorDeciderIF getDeciderInstance(String classname) throws NavigatorRuntimeException
NavigatorRuntimeException