|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tm4j.topicmap.utils.extractors.ExtractorBase org.tm4j.topicmap.utils.extractors.TypeExtractor
An extractor which returns the topic(s) which type the
object specified on the input.
If the input object is a Topic, then the output value
will be an unmodifiable collection of Topics.
If the input object is an Association, or
Occurrence, the output value will be the Topic
which is the value of the type
property. If the input object is a Member instance
then the output value will be the Topic which is
the value of the roleSpec
property.
For all other input objects, the return value will
be null.
Constructor Summary | |
TypeExtractor()
|
Method Summary | |
java.lang.Object |
_extract(java.lang.Object in)
|
Methods inherited from class org.tm4j.topicmap.utils.extractors.ExtractorBase |
fn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TypeExtractor()
Method Detail |
public java.lang.Object _extract(java.lang.Object in)
_extract
in class ExtractorBase
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |