|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.utils.deciders.TMExporterDecider
public class TMExporterDecider
INTERNAL: Accepts or rejects topic map constructs based on their relations to other topic map constructs and a filter that makes decisions on an individual basis. Used by the topic map exporters to support topic filtering.
Constructor Summary | |
---|---|
TMExporterDecider(DeciderIF filter)
Creates a new TMExporterDecider. |
Method Summary | |
---|---|
boolean |
ok(AssociationIF association)
Return true iff the association type, each role player and each role type are accepted. |
boolean |
ok(java.lang.Object object)
Accepts or rejects AssociationIFs, TopicNameIFs, Collections, OccurrenceIFs, TopicIFs and VariantNameIFs, base on the filter and their relations to other objects. |
boolean |
ok(OccurrenceIF occurrence)
Return true iff the type of the occurrence is accepted |
boolean |
ok(TopicIF topic)
Return true iff the given topic, all of it's types and all types of the types (etc. |
boolean |
ok(TopicNameIF baseName)
Accepts or rejects a TopicNameIF |
boolean |
ok(VariantNameIF variantName)
Accepts or rejects a VariantNameIF |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TMExporterDecider(DeciderIF filter)
filter
- accepts or rejects an individual objectMethod Detail |
---|
public boolean ok(java.lang.Object object)
ok
in interface DeciderIF
public boolean ok(TopicNameIF baseName)
baseName
- to be accepted/rejected.
public boolean ok(VariantNameIF variantName)
variantName
- to be accepted/rejected.
public boolean ok(AssociationIF association)
association
- the association to test for acceptance.
public boolean ok(OccurrenceIF occurrence)
occurrence
- The occurence to test for acceptance. It is assumed that
occurrence will only be tested for acceptance if its parent topic
has already been tested and passed.
public boolean ok(TopicIF topic)
topic
- The topic to test for acceptance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |