|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.utils.deciders.WithinScopeDecider
public class WithinScopeDecider
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".
Field Summary | |
---|---|
protected java.util.Collection |
context
|
Constructor Summary | |
---|---|
WithinScopeDecider(java.util.Collection context)
|
Method Summary | |
---|---|
boolean |
ok(java.lang.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 |
Field Detail |
---|
protected java.util.Collection context
Constructor Detail |
---|
public WithinScopeDecider(java.util.Collection context)
Method Detail |
---|
public boolean ok(java.lang.Object scoped)
DeciderIF
ok
in interface DeciderIF
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |