public final class HTMLDocument extends HTMLElement
| Constructor and Description |
|---|
HTMLDocument()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
HTMLElement |
getBody()
Accessor for body element.
|
HTMLElement |
getHead()
Accessor for head element.
|
String |
toHTML()
Return the HTML text.
|
String |
toString()
Override for debugging.
|
String |
toText()
Return a plain text version of the node.
|
addElement, addText, toStringBuilderpublic HTMLElement getHead()
public HTMLElement getBody()
public String toText()
public String toHTML()
Copyright © 2000-2014. All Rights Reserved.