com.jrefinery.report.targets.table.html
Class ImageReferenceData

java.lang.Object
  |
  +--com.jrefinery.report.targets.table.html.HtmlReferenceData
        |
        +--com.jrefinery.report.targets.table.html.ImageReferenceData

public class ImageReferenceData
extends HtmlReferenceData

Defines a external image reference to an image file. The image is included in the generated content using the <IMG> html-tag.

Author:
Thomas Morgner

Constructor Summary
ImageReferenceData(java.lang.String reference)
          Creates a new external image reference.
 
Method Summary
 java.lang.String getReference()
          Generates the reference fragment, which should be inserted into the HTML-Code.
 
Methods inherited from class com.jrefinery.report.targets.table.html.HtmlReferenceData
isExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageReferenceData

public ImageReferenceData(java.lang.String reference)
Creates a new external image reference.

Parameters:
reference - the referenced file name.
Method Detail

getReference

public java.lang.String getReference()
Generates the reference fragment, which should be inserted into the HTML-Code. This implementation returns the referenced file name.

Specified by:
getReference in class HtmlReferenceData
Returns:
the referenced file name.