net.ontopia.topicmaps.utils
Class TMDeciderUtils
java.lang.Object
net.ontopia.topicmaps.utils.TMDeciderUtils
public class TMDeciderUtils
- extends Object
INTERNAL: Utility class for creating topic map-based deciders.
- Since:
- 2.0
Method Summary |
static DeciderIF |
getTypeDecider(Collection oktypes)
INTERNAL: Creates a decider that approves all objects that
implement TypedIF and which have a type included in the
collection. |
static DeciderIF |
getTypePSIDecider(Collection okpsis)
INTERNAL: Creates a decided that approves all objects that
implement TypedIF and which has a type which has one of the
subject identifiers as one of its subject identifiers. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TMDeciderUtils
public TMDeciderUtils()
getTypeDecider
public static DeciderIF getTypeDecider(Collection oktypes)
- INTERNAL: Creates a decider that approves all objects that
implement TypedIF and which have a type included in the
collection. All other objects are rejected.
- Parameters:
oktypes
- a collection of TopicIF objects
getTypePSIDecider
public static DeciderIF getTypePSIDecider(Collection okpsis)
throws MalformedURLException
- INTERNAL: Creates a decided that approves all objects that
implement TypedIF and which has a type which has one of the
subject identifiers as one of its subject identifiers. All other
objects are rejected.
- Parameters:
okpsis
- a collection of LocatorIF or String objects
- Throws:
MalformedURLException
Copyright © 2000-2012 Ontopia.