public abstract class AbstractAlignmentWriter extends AbstractExportProvider implements AlignmentWriter, ProjectInfoAware
PARAM_TARGET
PARAM_CHARSET, PARAM_CONTENT_TYPE
Constructor and Description |
---|
AbstractAlignmentWriter() |
Modifier and Type | Method and Description |
---|---|
protected Alignment |
getAlignment()
Get the alignment
|
ProjectInfo |
getProjectInfo() |
URI |
getProjectLocation() |
protected SchemaSpace |
getSourceSchema()
Get the source schema.
|
protected SchemaSpace |
getTargetSchema()
Get the source schema.
|
void |
setAlignment(Alignment alignment)
Set the alignment to write.
|
void |
setProjectInfo(ProjectInfo projectInfo)
Set information about the current project.
|
void |
setProjectLocation(URI location)
Set the location the project was loaded from.
|
void |
setSourceSchema(SchemaSpace sourceSchema)
Set the source schema associated to the alignment.
|
void |
setTargetSchema(SchemaSpace targetSchema)
Set the target schema associated to the alignment.
|
void |
validate()
Checks for the alignment being available.
|
createReporter, getTarget, setParameter, setTarget, storeConfiguration
addSupportedParameter, execute, execute, fail, getCharset, getContentType, getDefaultCharset, getDefaultTypeName, getParameter, getSupportedParameters, getTypeName, loadConfiguration, setCharset, setContentType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTarget, setTarget
createReporter, execute, getCharset, getContentType, getParameter, getSupportedParameters, isCancelable, loadConfiguration, setCharset, setContentType, setParameter, storeConfiguration
public void setAlignment(Alignment alignment)
AlignmentWriter
setAlignment
in interface AlignmentWriter
alignment
- the alignmentAlignmentWriter.setAlignment(Alignment)
public void setSourceSchema(SchemaSpace sourceSchema)
AlignmentWriter
setSourceSchema
in interface AlignmentWriter
sourceSchema
- the source schemaAlignmentWriter.setSourceSchema(SchemaSpace)
public void setTargetSchema(SchemaSpace targetSchema)
AlignmentWriter
setTargetSchema
in interface AlignmentWriter
targetSchema
- the target schemaAlignmentWriter.setTargetSchema(SchemaSpace)
protected Alignment getAlignment()
protected SchemaSpace getSourceSchema()
protected SchemaSpace getTargetSchema()
public void validate() throws IOProviderConfigurationException
validate
in interface IOProvider
validate
in class AbstractExportProvider
IOProviderConfigurationException
- if the I/O provider was not
configured properlyAbstractExportProvider.validate()
public void setProjectInfo(ProjectInfo projectInfo)
ProjectInfoAware
setProjectInfo
in interface ProjectInfoAware
projectInfo
- the project information, may be null
if
no project is availablepublic void setProjectLocation(URI location)
ProjectInfoAware
setProjectLocation
in interface ProjectInfoAware
location
- the project location or null
if it was not
saved yetpublic URI getProjectLocation()
null
public ProjectInfo getProjectInfo()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a