Class HTMLReport
- java.lang.Object
-
- org.neotropic.kuwaiba.core.apis.persistence.application.reporting.InventoryReport
-
- org.neotropic.kuwaiba.modules.optional.reports.html.HTMLReport
-
public class HTMLReport extends InventoryReport
Useful methods to build HTML reports.- Author:
- Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
-
-
Field Summary
-
Fields inherited from class org.neotropic.kuwaiba.core.apis.persistence.application.reporting.InventoryReport
author, title, version
-
-
Constructor Summary
Constructors Constructor Description HTMLReport(String title, String author, String version)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
asByteArray()
Returns the result of the report as a by arrayString
asHTML()
List<HTMLComponent>
getComponents()
static String
getDefaultStyleSheet()
List<String>
getEmbeddedJavascript()
String
getEmbeddedStyleSheet()
String
getFavicon()
List<String>
getLinkedJavascriptFiles()
List<String>
getLinkedStyleSheets()
void
setComponents(List<HTMLComponent> components)
void
setEmbeddedJavascript(List<String> embeddedJavascript)
void
setEmbeddedStyleSheet(String embeddedStyleSheet)
void
setFavicon(String favicon)
void
setLinkedJavascriptFiles(List<String> linkedJavascriptFiles)
void
setLinkedStyleSheets(List<String> linkedStyleSheets)
-
Methods inherited from class org.neotropic.kuwaiba.core.apis.persistence.application.reporting.InventoryReport
getAuthor, getTitle, getVersion, setAuthor, setTitle, setVersion
-
-
-
-
Method Detail
-
asHTML
public String asHTML()
-
asByteArray
public byte[] asByteArray()
Description copied from class:InventoryReport
Returns the result of the report as a by array- Specified by:
asByteArray
in classInventoryReport
- Returns:
-
getEmbeddedStyleSheet
public String getEmbeddedStyleSheet()
-
setEmbeddedStyleSheet
public void setEmbeddedStyleSheet(String embeddedStyleSheet)
-
getFavicon
public String getFavicon()
-
setFavicon
public void setFavicon(String favicon)
-
getComponents
public List<HTMLComponent> getComponents()
-
setComponents
public void setComponents(List<HTMLComponent> components)
-
getDefaultStyleSheet
public static String getDefaultStyleSheet()
-
-