org.tm4j.topicmap.utils.extractors
Class BaseTopicExtractor

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

public class BaseTopicExtractor
extends ExtractorBase

Extractor that returns the base topic of the input object if and only if the input object implements the Topic interface. Otherwise null is returned.

Since:
0.9.0

Constructor Summary
BaseTopicExtractor()
           
 
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

BaseTopicExtractor

public BaseTopicExtractor()
Method Detail

_extract

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