|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.tm4j.topicmap.utils.WalkerFilterAdapter
org.tm4j.topicmap.utils.ScopeWalkerFilter
A WalkerFilter implementation that filters out all scoped objects that do not match the specified predicate. This class can be used to implement a variety of scope-based filters.
| Field Summary |
| Fields inherited from class org.tm4j.topicmap.utils.WalkerFilterAdapter |
m_handler |
| Constructor Summary | |
ScopeWalkerFilter(uk.co.jezuk.mango.Predicate scopedObjectTester)
Create a new ScopeWalkerFilter that filters out all ScopedObjects that do not pass the predicate. |
|
| Method Summary | |
boolean |
startAssociation(Association assoc)
|
boolean |
startBaseName(BaseName name)
|
boolean |
startOccurrence(Occurrence occ)
|
| 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 |
public ScopeWalkerFilter(uk.co.jezuk.mango.Predicate scopedObjectTester)
scopedObjectTester - the predicate used to evaluate ScopedObjects
encountered during the walk.| Method Detail |
public boolean startAssociation(Association assoc)
throws TopicMapProcessingException
startAssociation in interface WalkerHandlerstartAssociation in class WalkerFilterAdapterTopicMapProcessingException
public boolean startBaseName(BaseName name)
throws TopicMapProcessingException
startBaseName in interface WalkerHandlerstartBaseName in class WalkerFilterAdapterTopicMapProcessingException
public boolean startOccurrence(Occurrence occ)
throws TopicMapProcessingException
startOccurrence in interface WalkerHandlerstartOccurrence in class WalkerFilterAdapterTopicMapProcessingException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||