net.ontopia.topicmaps.utils
Class IntersectionOfContextDecider<S extends ScopedIF>

java.lang.Object
  extended by net.ontopia.topicmaps.utils.IntersectionOfContextDecider<S>
All Implemented Interfaces:
DeciderIF<S>

public class IntersectionOfContextDecider<S extends ScopedIF>
extends Object
implements DeciderIF<S>

INTERNAL: Decider that decides whether the ScopedIF's scope is an intersection of the user context or not.

See ScopeUtils for more information.


Field Summary
protected  TopicIF[] context
           
 
Constructor Summary
IntersectionOfContextDecider(Collection<TopicIF> context)
           
 
Method Summary
 boolean ok(S 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 TopicIF[] context
Constructor Detail

IntersectionOfContextDecider

public IntersectionOfContextDecider(Collection<TopicIF> context)
Method Detail

ok

public boolean ok(S scoped)
Description copied from interface: DeciderIF
PUBLIC: Returns true if the object is accepted.

Specified by:
ok in interface DeciderIF<S extends ScopedIF>


Copyright © 2000-2012 Ontopia.