Logo Search packages:      
Sourcecode: lib-dom-java version File versions  Download package

org::w3c::dom::html::HTMLDocument Interface Reference

Inheritance diagram for org::w3c::dom::html::HTMLDocument:

org::w3c::dom::Document org::w3c::dom::Node

List of all members.


Detailed Description

An HTMLDocument is the root of the HTML hierarchy andholds the entire content. Beside providing access to the hierarchy, italso provides some convenience methods for accessing certain sets ofinformation from the document.

The following properties have been deprecated in favor of the corresponding ones for the BODY element:alinkColorbackgroundbgColorfgColor linkColorvlinkColor

Definition at line 22 of file HTMLDocument.java.


Public Member Functions

Node appendChild (Node newChild) throws DOMException
Node cloneNode (boolean deep)
void close ()
Attr createAttribute (String name) throws DOMException
CDATASection createCDATASection (String data) throws DOMException
Comment createComment (String data)
DocumentFragment createDocumentFragment ()
Element createElement (String tagName) throws DOMException
EntityReference createEntityReference (String name) throws DOMException
ProcessingInstruction createProcessingInstruction (String target, String data) throws DOMException
Text createTextNode (String data)
HTMLCollection getAnchors ()
HTMLCollection getApplets ()
NamedNodeMap getAttributes ()
HTMLElement getBody ()
NodeList getChildNodes ()
String getCookie ()
DocumentType getDoctype ()
Element getDocumentElement ()
String getDomain ()
Element getElementById (String elementId)
NodeList getElementsByName (String elementName)
NodeList getElementsByTagName (String tagname)
Node getFirstChild ()
HTMLCollection getForms ()
HTMLCollection getImages ()
DOMImplementation getImplementation ()
Node getLastChild ()
HTMLCollection getLinks ()
Node getNextSibling ()
String getNodeName ()
short getNodeType ()
String getNodeValue () throws DOMException
Document getOwnerDocument ()
Node getParentNode ()
Node getPreviousSibling ()
String getReferrer ()
String getTitle ()
String getURL ()
boolean hasChildNodes ()
Node insertBefore (Node newChild, Node refChild) throws DOMException
void open ()
Node removeChild (Node oldChild) throws DOMException
Node replaceChild (Node newChild, Node oldChild) throws DOMException
void setBody (HTMLElement body)
void setCookie (String cookie)
void setNodeValue (String nodeValue) throws DOMException
void setTitle (String title)
void write (String text)
void writeln (String text)

Static Public Attributes

static final short ATTRIBUTE_NODE = 2
static final short CDATA_SECTION_NODE = 4
static final short COMMENT_NODE = 8
static final short DOCUMENT_FRAGMENT_NODE = 11
static final short DOCUMENT_NODE = 9
static final short DOCUMENT_TYPE_NODE = 10
static final short ELEMENT_NODE = 1
static final short ENTITY_NODE = 6
static final short ENTITY_REFERENCE_NODE = 5
static final short NOTATION_NODE = 12
static final short PROCESSING_INSTRUCTION_NODE = 7
static final short TEXT_NODE = 3

The documentation for this interface was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index