net.ontopia.topicmaps.utils
Class ApplicableInContextDecider

java.lang.Object
  extended by net.ontopia.topicmaps.utils.ApplicableInContextDecider
All Implemented Interfaces:
DeciderIF

public class ApplicableInContextDecider
extends java.lang.Object
implements DeciderIF

INTERNAL: Decider that decides whether the ScopedIF's scope is applicable in the user context. This is implies that the ScopedIF's scope must be either the unconstrained scope (empty) or a superset of the user context.

See ScopeUtils for more information.


Field Summary
protected  java.util.Collection context
           
 
Constructor Summary
ApplicableInContextDecider(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

context

protected java.util.Collection context
Constructor Detail

ApplicableInContextDecider

public ApplicableInContextDecider(java.util.Collection context)
Method Detail

ok

public boolean ok(java.lang.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.