net.ontopia.topicmaps.utils.deciders
Class WithinScopeDecider
java.lang.Object
net.ontopia.topicmaps.utils.deciders.WithinScopeDecider
- All Implemented Interfaces:
- DeciderIF
public class WithinScopeDecider
- extends Object
- implements DeciderIF
INTERNAL: Decider that decides whether the scoped object is broader
than the context. The context must be identical or a subset of the
scopes. If there is no context, there can be no "ok".
Method Summary |
boolean |
ok(Object scoped)
PUBLIC: Returns true if the object is accepted. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected Collection context
WithinScopeDecider
public WithinScopeDecider(Collection context)
ok
public boolean ok(Object scoped)
- Description copied from interface:
DeciderIF
- PUBLIC: Returns true if the object is accepted.
- Specified by:
ok
in interface DeciderIF
Copyright © 2000-2012 Ontopia.