public class HtmlExporterImpl extends Object implements ExportUtils.HtmlExporter
ExportUtils.HtmlExporter.Attribute, ExportUtils.HtmlExporter.Element, ExportUtils.HtmlExporter.MacroResolver
Constructor and Description |
---|
HtmlExporterImpl(boolean aIncludeDTD)
Creates a new HtmlExporter instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addCssStyle(String aStyleClause)
Adds a CSS-style clause to the "general" style clause in the HTML head
container.
|
ExportUtils.HtmlExporter.Element |
getBody()
Returns the body container of the HTML document.
|
ExportUtils.HtmlExporter.Element |
getHead()
Returns the head container of the HTML document.
|
void |
setTitle(String aTitle)
Sets the title of the exported HTML document.
|
String |
toString() |
String |
toString(ExportUtils.HtmlExporter.MacroResolver aResolver)
Returns the string representation of the HTML-structure, with all macro's
resolved.
|
public HtmlExporterImpl(boolean aIncludeDTD)
aIncludeDTD
- whether or not a HTML DTD clause should be prepended to the
output.public void addCssStyle(String aStyleClause)
addCssStyle
in interface ExportUtils.HtmlExporter
aStyleClause
- the CSS style clause to add, cannot be null
.public ExportUtils.HtmlExporter.Element getBody()
getBody
in interface ExportUtils.HtmlExporter
null
.public ExportUtils.HtmlExporter.Element getHead()
getHead
in interface ExportUtils.HtmlExporter
null
.public void setTitle(String aTitle)
setTitle
in interface ExportUtils.HtmlExporter
aTitle
- a title, cannot be null
.public String toString()
toString
in class Object
Object.toString()
public String toString(ExportUtils.HtmlExporter.MacroResolver aResolver)
ExportUtils.HtmlExporter
toString
in interface ExportUtils.HtmlExporter
aResolver
- the macro resolver to use, cannot be null
.ExportUtils.HtmlExporter.toString(nl.lxtreme.ols.util.ExportUtils.HtmlExporter.MacroResolver)
Copyright © 2015 L'Xtreme IT consultancy. All rights reserved.