org.tm4j.topicmap.utils
Class InScopeWalkerFilter

java.lang.Object
  extended byorg.tm4j.topicmap.utils.WalkerFilterAdapter
      extended byorg.tm4j.topicmap.utils.ScopeWalkerFilter
          extended byorg.tm4j.topicmap.utils.InScopeWalkerFilter
All Implemented Interfaces:
WalkerFilter, WalkerHandler

public class InScopeWalkerFilter
extends ScopeWalkerFilter

A WalkerFilter implementation that allows through only those ScopedObjects that are in a given context.

Author:
Kal Ahmed (kal@techquila.com)

Field Summary
 
Fields inherited from class org.tm4j.topicmap.utils.WalkerFilterAdapter
m_handler
 
Constructor Summary
InScopeWalkerFilter(Topic[] context, boolean matchAll)
          Create a new InScopeWalkerFilter instance that matches on the specified context.
 
Methods inherited from class org.tm4j.topicmap.utils.ScopeWalkerFilter
startAssociation, startBaseName, startOccurrence
 
Methods inherited from class org.tm4j.topicmap.utils.WalkerFilterAdapter
endAssociation, endBaseName, endMember, endOccurrence, endScope, endTopic, endTopicMap, endVariant, getHandler, onParameter, onPlayer, onRoleSpec, onSubject, onSubjectIndicator, onTheme, onType, onVariantName, setHandler, startMember, startScope, startTopic, startTopicMap, startVariant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InScopeWalkerFilter

public InScopeWalkerFilter(Topic[] context,
                           boolean matchAll)
Create a new InScopeWalkerFilter instance that matches on the specified context.

Parameters:
context - the set of themes that the ScopedObjects must match
matchAll - if true, then ScopedObjects must have all the themes in context to be allowed through. If false, the ScopedObjects must share at least one theme with context.