org.tm4j.topicmap.utils.extractors
Class VariantsExtractor

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

public class VariantsExtractor
extends ExtractorBase

An extractor which takes a VariantContainer instance as input and returns a the Variant instances that it contains. Both directly contained and indirectly contained Variants are returned. If there are no such Variants, the return value is null, otherwise the return value is a Collection of Variant instances.

Since:
0.9.7
Author:
Kal Ahmed (kal@techquila.com)

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

VariantsExtractor

public VariantsExtractor()
Method Detail

_extract

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