|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.lxtreme.ols.util.export.HtmlExporterImpl
public class HtmlExporterImpl
Provides a very basic HTML exporter.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface nl.lxtreme.ols.util.ExportUtils.HtmlExporter |
---|
ExportUtils.HtmlExporter.Attribute, ExportUtils.HtmlExporter.Element, ExportUtils.HtmlExporter.MacroResolver |
Field Summary |
---|
Fields inherited from interface nl.lxtreme.ols.util.ExportUtils.HtmlExporter |
---|
BR, DIV, H1, H2, H3, HR, META, P, SPAN, TABLE, TBODY, TD, TFOOT, TH, THEAD, TR |
Constructor Summary | |
---|---|
HtmlExporterImpl(boolean aIncludeDTD)
Creates a new HtmlExporter instance. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HtmlExporterImpl(boolean aIncludeDTD)
aIncludeDTD
- whether or not a HTML DTD clause should be prepended to the
output.Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |