| |
|
| java.lang.Object nextapp.echo2.webrender.output.XmlDocument nextapp.echo2.webrender.output.HtmlDocument
All known Subclasses: nextapp.echo2.webrender.BaseHtmlDocument,
HtmlDocument | public class HtmlDocument extends XmlDocument (Code) | | A simple wrapper around JAXP/W3C DOM APIs to generate and render an
XHTML 1.0 Transitional document.
|
XHTML_1_0_NAMESPACE_URI | final public static String XHTML_1_0_NAMESPACE_URI(Code) | | |
XHTML_1_0_TRANSITIONAL_PUBLIC_ID | final public static String XHTML_1_0_TRANSITIONAL_PUBLIC_ID(Code) | | |
XHTML_1_0_TRANSITIONAL_SYSTSEM_ID | final public static String XHTML_1_0_TRANSITIONAL_SYSTSEM_ID(Code) | | |
HtmlDocument | public HtmlDocument(String publicId, String systemId, String namespaceUri)(Code) | | Creates a new HtmlDocument .
|
addJavaScriptInclude | public void addJavaScriptInclude(String uri)(Code) | | Adds a JavaScript include reference to the document.
Parameters: uri - the URI of the JavaScript code |
addJavaScriptText | public void addJavaScriptText(String code)(Code) | | Adds inline JavaScript code to the document.
Parameters: code - the inline code |
getBodyElement | public Element getBodyElement()(Code) | | Retrieves the BODY element of the document.
the BODY element |
getHeadElement | public Element getHeadElement()(Code) | | Retrieves the HEAD element of the document.
the HEAD element |
setGenarator | public void setGenarator(String value)(Code) | | Sets the value of the "generator" META element.
Parameters: value - the value |
setTitle | public void setTitle(String value)(Code) | | Convenience method to set the title of the document.
Parameters: value - The new title value. |
|
|
|