|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.align.model.impl.AbstractCellExplanation
public abstract class AbstractCellExplanation
Abstract cell explanation implementation.
Constructor Summary | |
---|---|
AbstractCellExplanation()
|
Method Summary | |
---|---|
protected String |
formatEntity(Entity entity,
boolean html,
boolean indexInFront)
Format an entity for inclusion in an explanation. |
protected String |
getEntityNameWithoutCondition(Entity entity)
Returns an entity name without condition strings (e.g. |
String |
getExplanation(Cell cell)
Get the explanation for the given cell. |
protected abstract 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 |
protected boolean |
hasIndexCondition(Entity entity)
Checks whether the given entity has an index condition. |
protected String |
quoteText(String text,
boolean html)
Quote or otherwise format (in case of HTML) the given text. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractCellExplanation()
Method Detail |
---|
public String getExplanation(Cell cell)
CellExplanation
getExplanation
in interface CellExplanation
cell
- the cell
null
if none is availableCellExplanation.getExplanation(Cell)
public String getExplanationAsHtml(Cell cell)
CellExplanation
getExplanationAsHtml
in interface CellExplanation
cell
- the cell
null
if none is
availableCellExplanation.getExplanationAsHtml(Cell)
protected abstract String getExplanation(Cell cell, boolean html)
cell
- the cell to create an explanation forhtml
- if the format should be HMTL, otherwise the format is just
text
null
protected String formatEntity(Entity entity, boolean html, boolean indexInFront)
entity
- the entity, may be null
html
- if the format should be HMTL, otherwise the format is just
textindexInFront
- whether index conditions should be in front of the
property name or behind in brackets
null
in case of
null
inputprotected String getEntityNameWithoutCondition(Entity entity)
entity
- the entity
protected boolean hasIndexCondition(Entity entity)
entity
- the entity to check
protected String quoteText(String text, boolean html)
text
- the text, may be null
html
- if the format should be HMTL, otherwise the format is just
text
null
in case of null
input
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |