Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.align.io.impl
Class AbstractAlignmentReader

java.lang.Object
  extended by eu.esdihumboldt.hale.common.core.io.impl.AbstractIOProvider
      extended by eu.esdihumboldt.hale.common.core.io.impl.AbstractImportProvider
          extended by eu.esdihumboldt.hale.common.align.io.impl.AbstractAlignmentReader
All Implemented Interfaces:
AlignmentReader, ImportProvider, IOProvider
Direct Known Subclasses:
DefaultAlignmentReader, OmlReader

public abstract class AbstractAlignmentReader
extends AbstractImportProvider
implements AlignmentReader

Abstract alignment reader implementation

Author:
Simon Templer

Field Summary
 
Fields inherited from interface eu.esdihumboldt.hale.common.core.io.ImportProvider
PARAM_RESOURCE_ID, PARAM_SOURCE
 
Fields inherited from interface eu.esdihumboldt.hale.common.core.io.IOProvider
PARAM_CONTENT_TYPE
 
Constructor Summary
AbstractAlignmentReader()
           
 
Method Summary
 TypeIndex getSourceSchema()
          Get the source schema
 TypeIndex getTargetSchema()
          Get the target schema
 void setSourceSchema(TypeIndex sourceSchema)
          Set the source schema
 void setTargetSchema(TypeIndex targetSchema)
          Set the target schema
 void validate()
          Validate the I/O provider configuration
 
Methods inherited from class eu.esdihumboldt.hale.common.core.io.impl.AbstractImportProvider
createReporter, execute, generateResourceId, getResourceIdentifier, getSource, setParameter, setSource, storeConfiguration
 
Methods inherited from class eu.esdihumboldt.hale.common.core.io.impl.AbstractIOProvider
addSupportedParameter, execute, fail, getContentType, getDefaultTypeName, getParameter, getSupportedParameters, getTypeName, loadConfiguration, setContentType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.esdihumboldt.hale.common.align.io.AlignmentReader
getAlignment
 
Methods inherited from interface eu.esdihumboldt.hale.common.core.io.ImportProvider
getResourceIdentifier, getSource, setSource
 
Methods inherited from interface eu.esdihumboldt.hale.common.core.io.IOProvider
createReporter, execute, getContentType, getParameter, getSupportedParameters, isCancelable, loadConfiguration, setContentType, setParameter, storeConfiguration
 

Constructor Detail

AbstractAlignmentReader

public AbstractAlignmentReader()
Method Detail

setSourceSchema

public void setSourceSchema(TypeIndex sourceSchema)
Description copied from interface: AlignmentReader
Set the source schema

Specified by:
setSourceSchema in interface AlignmentReader
Parameters:
sourceSchema - the source schema
See Also:
AlignmentReader.setSourceSchema(TypeIndex)

getSourceSchema

public TypeIndex getSourceSchema()
Get the source schema

Returns:
the source schema

setTargetSchema

public void setTargetSchema(TypeIndex targetSchema)
Description copied from interface: AlignmentReader
Set the target schema

Specified by:
setTargetSchema in interface AlignmentReader
Parameters:
targetSchema - the source schema
See Also:
AlignmentReader.setTargetSchema(TypeIndex)

getTargetSchema

public TypeIndex getTargetSchema()
Get the target schema

Returns:
the target schema

validate

public void validate()
              throws IOProviderConfigurationException
Description copied from interface: IOProvider
Validate the I/O provider configuration

Specified by:
validate in interface IOProvider
Overrides:
validate in class AbstractImportProvider
Throws:
IOProviderConfigurationException - if the I/O provider was not configured properly
See Also:
AbstractImportProvider.validate()

Humboldt Alignment Editor 2.5.0

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