Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.io.html
Class CellInfo

java.lang.Object
  extended by eu.esdihumboldt.hale.io.html.CellInfo
All Implemented Interfaces:
ICellInfo
Direct Known Subclasses:
TypeCellInfo

public class CellInfo
extends Object
implements ICellInfo

Basic class for all cell infos

Author:
Kevin Mais

Field Summary
protected  Identifiers<Cell> cellIds
          the cell identifier
protected  String subDir
          the sub directory where the files will be created
 
Constructor Summary
CellInfo(Cell cell, Identifiers<Cell> cellIds, String subDir)
          Constructor for a cell info
 
Method Summary
 Cell getCell()
          Getter for the cell
 String getExplanation()
          Get an explanation for the cell.
 String getExplanationAsHtml()
          Get the explanation in html format for the given cell
 String getId()
          Returns the unique id for a cell
 String getImageLocation()
          Gets the location of the image for a Cell
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subDir

protected final String subDir
the sub directory where the files will be created


cellIds

protected final Identifiers<Cell> cellIds
the cell identifier

Constructor Detail

CellInfo

public CellInfo(Cell cell,
                Identifiers<Cell> cellIds,
                String subDir)
Constructor for a cell info

Parameters:
cell - a cell the created cell info is associated with
cellIds - the cell identifier
subDir - the sub directory where files will be created
Method Detail

getExplanation

public String getExplanation()
Description copied from interface: ICellInfo
Get an explanation for the cell.

Specified by:
getExplanation in interface ICellInfo
Returns:
the explanation or null if none is available
See Also:
ICellInfo.getExplanation()

getExplanationAsHtml

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

Specified by:
getExplanationAsHtml in interface ICellInfo
Returns:
the cell explanation in html format
See Also:
ICellInfo.getExplanationAsHtml()

getImageLocation

public String getImageLocation()
Description copied from interface: ICellInfo
Gets the location of the image for a Cell

Specified by:
getImageLocation in interface ICellInfo
Returns:
the image location
See Also:
ICellInfo.getImageLocation()

getId

public String getId()
Returns the unique id for a cell

Returns:
the unique id for the cell

getCell

public Cell getCell()
Getter for the cell

Returns:
the cell

Humboldt Alignment Editor 2.5.0

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