com.waveset.util
Class Doc2Html
java.lang.Object
com.waveset.util.Doc2Html
- public class Doc2Html
- extends java.lang.Object
Field Summary |
static java.lang.String |
BODY_END
The postamble we use for the generated HTML document. |
static java.lang.String |
BODY_START
|
static java.lang.String |
code_id
|
static java.lang.String |
ORIGINAL_STYLE
The original boring style sheet. |
static java.lang.String |
TITLE_END
|
static java.lang.String |
TITLE_START
The preamble we use for the generated HTML document. |
static java.lang.String |
W3C_STYLE
This was adapted from http://www.w3.org/StyleSheets/TR/W3C-CR.css. |
Method Summary |
static void |
main(java.lang.String[] args)
|
static void |
println(java.lang.String msg)
|
void |
setNoLogo(boolean b)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
code_id
public static final java.lang.String code_id
- See Also:
- Constant Field Values
W3C_STYLE
public static final java.lang.String W3C_STYLE
- This was adapted from http://www.w3.org/StyleSheets/TR/W3C-CR.css.
I captured it locally so we can build documents that can be displayed
without necessarily having an internet connection (e.g. on the plane).
The first part is for some reason included literally in the
documents, the second part starting with "body {"
is the contents of the URL.
Since capture, several changes and simplifications have been made.
- See Also:
- Constant Field Values
ORIGINAL_STYLE
public static final java.lang.String ORIGINAL_STYLE
- The original boring style sheet.
- See Also:
- Constant Field Values
TITLE_START
public static final java.lang.String TITLE_START
- The preamble we use for the generated HTML document.
Need to be more flexible here.
- See Also:
- Constant Field Values
TITLE_END
public static final java.lang.String TITLE_END
- See Also:
- Constant Field Values
BODY_START
public static final java.lang.String BODY_START
- See Also:
- Constant Field Values
BODY_END
public static final java.lang.String BODY_END
- The postamble we use for the generated HTML document.
- See Also:
- Constant Field Values
Doc2Html
public Doc2Html(XmlElement root)
setNoLogo
public void setNoLogo(boolean b)
println
public static void println(java.lang.String msg)
main
public static void main(java.lang.String[] args)