Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.align.model.functions.explanations
Class ClassificationMappingExplanation

java.lang.Object
  extended by eu.esdihumboldt.hale.common.align.model.impl.AbstractCellExplanation
      extended by eu.esdihumboldt.hale.common.align.model.functions.explanations.ClassificationMappingExplanation
All Implemented Interfaces:
CellExplanation, ClassificationMappingFunction

public class ClassificationMappingExplanation
extends AbstractCellExplanation
implements ClassificationMappingFunction

Explanation for classification mapping cells.

Author:
Kai Schwierczek

Field Summary
 
Fields inherited from interface eu.esdihumboldt.hale.common.align.model.functions.ClassificationMappingFunction
ID, PARAMETER_CLASSIFICATIONS, PARAMETER_NOT_CLASSIFIED_ACTION, USE_FIXED_VALUE_ACTION_PREFIX, USE_NULL_ACTION, USE_SOURCE_ACTION
 
Constructor Summary
ClassificationMappingExplanation()
           
 
Method Summary
 String getExplanation(Cell cell)
          Get the explanation for the given cell.
protected  String getExplanation(Cell cell, boolean html)
          Get the explanation string in the specified format.
 String getExplanationAsHtml(Cell cell)
          Get the explanation in html format for the given cell
 
Methods inherited from class eu.esdihumboldt.hale.common.align.model.impl.AbstractCellExplanation
formatEntity, getEntityNameWithoutCondition, hasIndexCondition, quoteText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassificationMappingExplanation

public ClassificationMappingExplanation()
Method Detail

getExplanation

public String getExplanation(Cell cell)
Description copied from interface: CellExplanation
Get the explanation for the given cell.

Specified by:
getExplanation in interface CellExplanation
Overrides:
getExplanation in class AbstractCellExplanation
Parameters:
cell - the cell
Returns:
the cell explanation, null if none is available
See Also:
CellExplanation.getExplanation(eu.esdihumboldt.hale.common.align.model.Cell)

getExplanationAsHtml

public String getExplanationAsHtml(Cell cell)
Description copied from interface: CellExplanation
Get the explanation in html format for the given cell

Specified by:
getExplanationAsHtml in interface CellExplanation
Overrides:
getExplanationAsHtml in class AbstractCellExplanation
Parameters:
cell - the cell
Returns:
the cell explanation in html format, null if none is available
See Also:
CellExplanation.getExplanationAsHtml(eu.esdihumboldt.hale.common.align.model.Cell)

getExplanation

protected String getExplanation(Cell cell,
                                boolean html)
Description copied from class: AbstractCellExplanation
Get the explanation string in the specified format.

Specified by:
getExplanation in class AbstractCellExplanation
Parameters:
cell - the cell to create an explanation for
html - if the format should be HMTL, otherwise the format is just text
Returns:
the explanation or null
See Also:
AbstractCellExplanation.getExplanation(eu.esdihumboldt.hale.common.align.model.Cell, boolean)

Humboldt Alignment Editor 2.5.0

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