com.jrefinery.report.targets.table.html
Class EmptyContentHtmlReferenceData
java.lang.Object
|
+--com.jrefinery.report.targets.table.html.HtmlReferenceData
|
+--com.jrefinery.report.targets.table.html.EmptyContentHtmlReferenceData
- public class EmptyContentHtmlReferenceData
- extends HtmlReferenceData
Stores a marker, that the referenced cell is empty. HTML requires empty cells to
be filled with an invisible character, or the cell is ignored. Ignored cells tend
to destroy the table layout, so we make sure that every cell has content inside.
This reference is used to mark empty external image references, when no external
entity was referenced and no external content creation is allowed.
- Author:
- Thomas Morgner
Method Summary |
java.lang.String |
getReference()
Gets the reference data that should be filled into the cell. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmptyContentHtmlReferenceData
public EmptyContentHtmlReferenceData()
- Creates a new EmptyContentHtmlReferenceData.
getReference
public java.lang.String getReference()
- Gets the reference data that should be filled into the cell.
- Specified by:
getReference
in class HtmlReferenceData
- Returns:
- the empty content, ' '.