|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ExportUtils.HtmlExporter
Provides a simple HTML exporter, which is kind of a tree-structure of HTML-elements (containing attributes).
Nested Class Summary | |
---|---|
static interface |
ExportUtils.HtmlExporter.Attribute
Denotes a HTML attribute, or name/value pair. |
static interface |
ExportUtils.HtmlExporter.Element
Denotes a HTML element. |
static interface |
ExportUtils.HtmlExporter.MacroResolver
Denotes a very simple macro resolver, which is basically a |
Field Summary | |
---|---|
static ExportUtils.HtmlExporter.Element |
BR
|
static ExportUtils.HtmlExporter.Element |
DIV
|
static ExportUtils.HtmlExporter.Element |
H1
|
static ExportUtils.HtmlExporter.Element |
H2
|
static ExportUtils.HtmlExporter.Element |
H3
|
static ExportUtils.HtmlExporter.Element |
HR
|
static ExportUtils.HtmlExporter.Element |
META
|
static ExportUtils.HtmlExporter.Element |
P
|
static ExportUtils.HtmlExporter.Element |
SPAN
|
static ExportUtils.HtmlExporter.Element |
TABLE
|
static ExportUtils.HtmlExporter.Element |
TBODY
|
static ExportUtils.HtmlExporter.Element |
TD
|
static ExportUtils.HtmlExporter.Element |
TFOOT
|
static ExportUtils.HtmlExporter.Element |
TH
|
static ExportUtils.HtmlExporter.Element |
THEAD
|
static ExportUtils.HtmlExporter.Element |
TR
|
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(ExportUtils.HtmlExporter.MacroResolver aResolver)
Returns the string representation of the HTML-structure, with all macro's resolved. |
Field Detail |
---|
static final ExportUtils.HtmlExporter.Element META
static final ExportUtils.HtmlExporter.Element H1
static final ExportUtils.HtmlExporter.Element H2
static final ExportUtils.HtmlExporter.Element H3
static final ExportUtils.HtmlExporter.Element P
static final ExportUtils.HtmlExporter.Element DIV
static final ExportUtils.HtmlExporter.Element SPAN
static final ExportUtils.HtmlExporter.Element TABLE
static final ExportUtils.HtmlExporter.Element TBODY
static final ExportUtils.HtmlExporter.Element THEAD
static final ExportUtils.HtmlExporter.Element TFOOT
static final ExportUtils.HtmlExporter.Element TR
static final ExportUtils.HtmlExporter.Element TH
static final ExportUtils.HtmlExporter.Element TD
static final ExportUtils.HtmlExporter.Element BR
static final ExportUtils.HtmlExporter.Element HR
Method Detail |
---|
void addCssStyle(String aStyleClause)
aStyleClause
- the CSS style clause to add, cannot be null
.ExportUtils.HtmlExporter.Element getBody()
null
.ExportUtils.HtmlExporter.Element getHead()
null
.void setTitle(String aTitle)
aTitle
- a title, cannot be null
.String toString(ExportUtils.HtmlExporter.MacroResolver aResolver)
aResolver
- the macro resolver to use, cannot be null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |