org.tm4j.topicmap.utils.extractors
Class ReifyingTopicExtractor

java.lang.Object
  extended byorg.tm4j.topicmap.utils.extractors.ExtractorBase
      extended byorg.tm4j.topicmap.utils.extractors.ReifyingTopicExtractor
All Implemented Interfaces:
uk.co.jezuk.mango.UnaryFunction

public class ReifyingTopicExtractor
extends ExtractorBase

An extractor which takes a TopicMapObject instance as input and returns the Topic which reifies it or null

Author:
Harald Kuhn, harald_kuhn at users.sourceforge.net

Constructor Summary
ReifyingTopicExtractor()
           
 
Method Summary
 java.lang.Object _extract(java.lang.Object object)
           
 Topic extractReifyingTopic(TopicMapObject tmo)
          Service Method with increased semantic, calls _extract
 
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

ReifyingTopicExtractor

public ReifyingTopicExtractor()
Method Detail

_extract

public java.lang.Object _extract(java.lang.Object object)
Specified by:
_extract in class ExtractorBase

extractReifyingTopic

public Topic extractReifyingTopic(TopicMapObject tmo)
Service Method with increased semantic, calls _extract

Parameters:
tmo - the TopicMapObject which maybe reified in the tm
Returns:
null or a Topic instance