org.tm4j.topicmap.utils.extractors
Class RefiedObjectExtractor

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

public class RefiedObjectExtractor
extends ExtractorBase

An extractor which takes a Topic instance as input and returns the TopicMapObject which the Topic reifies or null if this Topic does not reify any object in the TM

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

Constructor Summary
RefiedObjectExtractor()
           
 
Method Summary
 java.lang.Object _extract(java.lang.Object arg0)
           
 TopicMapObject extractRefiedObject(Topic topic)
          Takes a Topic instance as input and returns the TopicMapObject which the Topic reifies or null if this Topic does not reify any object in the TM
 
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

RefiedObjectExtractor

public RefiedObjectExtractor()
Method Detail

_extract

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

extractRefiedObject

public TopicMapObject extractRefiedObject(Topic topic)
Takes a Topic instance as input and returns the TopicMapObject which the Topic reifies or null if this Topic does not reify any object in the TM

Parameters:
topic -
Returns: