public class HtmlDocument extends Object
| Constructor and Description |
|---|
HtmlDocument() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
HtmlBody |
getBody()
Get the body element for this document container.
|
HtmlDocType |
getDocType()
Get the doctype element for this document container.
|
HtmlHead |
getHead()
Get the head element for this document container.
|
Html |
getHtml()
Get the html element for this document container.
|
HtmlMeta |
getMeta()
Get the meta element for this document container.
|
HtmlTitle |
getTitle()
Get the title element for this document container.
|
void |
output(StringBuffer out)
Write the container to the OutputStream
in case that xhtml and html5 compliance is on, then html5 gets priority
|
void |
output(Writer writer) |
HtmlDocument |
setBody(HtmlBody body)
Set the Body element for this document container.
|
HtmlDocument |
setDocType(HtmlDocType doctype)
Set the doctype element for this document container.
|
HtmlDocument |
setHead(HtmlHead head)
Set the head element for this document container.
|
HtmlDocument |
setHtml(Html html)
Set the html element for this document container.
|
HtmlDocument |
setMeta(HtmlMeta meta)
Set a Meta tag for this document container
|
HtmlDocument |
setTitle(HtmlTitle title)
Set the Title element for this document container.
|
public HtmlDocType getDocType()
public HtmlDocument setDocType(HtmlDocType doctype)
public Html getHtml()
public HtmlDocument setHtml(Html html)
public HtmlHead getHead()
public HtmlDocument setHead(HtmlHead head)
public HtmlBody getBody()
public HtmlDocument setBody(HtmlBody body)
public HtmlTitle getTitle()
public HtmlDocument setTitle(HtmlTitle title)
public HtmlMeta getMeta()
public HtmlDocument setMeta(HtmlMeta meta)
public void output(StringBuffer out)
public void output(Writer writer) throws IOException
IOExceptionpublic void destroy()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com]
|
default
|
EP-PIN-PRT
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/lib/api
|
api
|
EP-PIN
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice