Methods Summary |
---|
public Element | getBody()Get the body element of this HTML document.
|
public java.lang.String | getDoctype()Get the current doctype string.
|
public Element | getHead()Get the head element of this HTML document.
|
public void | set(Element head, Element body)Replace the content of this document with the specified
head and body.
If the head element does not have the name HEAD, or the body
element does not have the name BODY, then an additional, new
element is created with the appropriate name, and the input
element is added to this element.
|
public void | setDoctype(java.lang.String raw)Explicitly set the doctype of this document. Right now the
raw doctype string is given. It will be converted into a line
of the form:
<!DOCTYPE html PUBLIC "raw">
This is not very flexible; perhaps this should be re-visited in
the future.
|