Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.align.transformation.service.impl
Class DefaultInstanceSink

java.lang.Object
  extended by eu.esdihumboldt.hale.common.align.transformation.service.impl.DefaultInstanceSink
All Implemented Interfaces:
InstanceSink

public class DefaultInstanceSink
extends Object
implements InstanceSink

Default instance sink backed by a list

Since:
2.5.0
Author:
Simon Templer

Constructor Summary
DefaultInstanceSink()
           
 
Method Summary
 void addInstance(Instance instance)
          Adds an instance to the sink
 List<Instance> getInstances()
          Get the instances collected in the sink.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultInstanceSink

public DefaultInstanceSink()
Method Detail

addInstance

public void addInstance(Instance instance)
Description copied from interface: InstanceSink
Adds an instance to the sink

Specified by:
addInstance in interface InstanceSink
Parameters:
instance - the instance to add
See Also:
InstanceSink.addInstance(Instance)

getInstances

public List<Instance> getInstances()
Get the instances collected in the sink.

Returns:
the instances

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d