|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.topicmaps.utils.ScopeUtils
public class ScopeUtils
INTERNAL: Scope processing utilities.
| Constructor Summary | |
|---|---|
ScopeUtils()
|
|
| Method Summary | |
|---|---|
static boolean |
isApplicableInContext(ScopedIF obj,
java.util.Collection context)
Checks to see if the ScopedIF's scope is applicable in the user context. |
static boolean |
isIntersectionOfContext(ScopedIF obj,
java.util.Collection context)
Checks to see if the ScopedIF's scope intersects with the user context. |
static boolean |
isIntersectionOfContext(ScopedIF obj,
java.lang.Object[] context)
EXPERIMENTAL: |
static boolean |
isSubsetOfContext(ScopedIF obj,
java.util.Collection context)
Checks to see if the ScopedIF's scope is a subset of the user context. |
static boolean |
isSupersetOfContext(ScopedIF obj,
java.util.Collection context)
Checks to see if the ScopedIF's scope is a superset of the user context. |
static boolean |
isSupersetOfContext(ScopedIF obj,
java.lang.Object[] context)
EXPERIMENTAL: |
static java.util.List |
rankByScope(java.util.Collection scoped,
java.util.Collection scope)
Ranks the ScopedIFs by the applicability to the specified scope. |
static java.util.List |
rankByScope(java.util.Collection scoped,
TopicIF theme)
Ranks the ScopedIFs by the applicability to the specified scope. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScopeUtils()
| Method Detail |
|---|
public static boolean isApplicableInContext(ScopedIF obj,
java.util.Collection context)
obj - The ScopedIF object to compare with.context - The user context; a collection of TopicIFs.
public static boolean isSupersetOfContext(ScopedIF obj,
java.util.Collection context)
Note that the unconstrained scope is in this case considered an empty set.
obj - The ScopedIF object to compare with.context - The user context; a collection of TopicIFs.
public static boolean isSupersetOfContext(ScopedIF obj,
java.lang.Object[] context)
public static boolean isSubsetOfContext(ScopedIF obj,
java.util.Collection context)
Note that the unconstrained scope is in this case considered an empty set.
obj - The ScopedIF object to compare with.context - The user context; a collection of TopicIFs.
public static boolean isIntersectionOfContext(ScopedIF obj,
java.util.Collection context)
Note that the unconstrained scope is in this case considered an empty set.
obj - The ScopedIF object to compare with.context - The user context; a collection of TopicIFs.
public static boolean isIntersectionOfContext(ScopedIF obj,
java.lang.Object[] context)
public static java.util.List rankByScope(java.util.Collection scoped,
TopicIF theme)
public static java.util.List rankByScope(java.util.Collection scoped,
java.util.Collection scope)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||