org.gcube.data.speciesplugin.utils
Class SpeciesTreeGenerator

java.lang.Object
  extended by org.gcube.data.speciesplugin.utils.SpeciesTreeGenerator
All Implemented Interfaces:
org.gcube.data.streams.generators.Generator<org.gcube.data.spd.model.products.TaxonomyItem,org.gcube.data.trees.data.Tree>

public class SpeciesTreeGenerator
extends Object
implements org.gcube.data.streams.generators.Generator<org.gcube.data.spd.model.products.TaxonomyItem,org.gcube.data.trees.data.Tree>

Generates trees from taxonomy items.

Author:
"Federico De Faveri defaveri@isti.cnr.it"

Field Summary
protected static org.gcube.common.core.utils.logging.GCUBELog logger
           
 
Fields inherited from interface org.gcube.data.streams.generators.Generator
iteration
 
Constructor Summary
SpeciesTreeGenerator()
           
 
Method Summary
 org.gcube.data.trees.data.Tree yield(org.gcube.data.spd.model.products.TaxonomyItem element)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static org.gcube.common.core.utils.logging.GCUBELog logger
Constructor Detail

SpeciesTreeGenerator

public SpeciesTreeGenerator()
Method Detail

yield

public org.gcube.data.trees.data.Tree yield(org.gcube.data.spd.model.products.TaxonomyItem element)
                                     throws org.gcube.data.streams.exceptions.StreamSkipSignal,
                                            org.gcube.data.streams.exceptions.StreamStopSignal

Specified by:
yield in interface org.gcube.data.streams.generators.Generator<org.gcube.data.spd.model.products.TaxonomyItem,org.gcube.data.trees.data.Tree>
Throws:
org.gcube.data.streams.exceptions.StreamSkipSignal
org.gcube.data.streams.exceptions.StreamStopSignal


Copyright © 2013. All Rights Reserved.