public interface HTMLDocument extends org.w3c.dom.html.HTMLDocument, Document, ScriptMap<HTMLElement>, Serializable
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODEgetAnchors, getApplets, getElementsByName, getURL, open, setBody, write, writelnadoptNode, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, getDoctype, getDocumentURI, getDomConfig, getElementsByTagNameNS, getImplementation, getInputEncoding, getStrictErrorChecking, getXmlEncoding, getXmlStandalone, getXmlVersion, importNode, normalizeDocument, renameNode, setDocumentURI, setStrictErrorChecking, setXmlStandalone, setXmlVersionappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDataHTMLElement createElement(String tag)
createElement in interface Document<T extends HTMLElement> T createElement(Class<T> c)
T - A subinterface of HTMLElement that represents one html elementc - The class objectNotImplementedException - Not (yet) implemented for this interface.Location getLocation()
void setLocation(String location)
location - the locationString getDomain()
getDomain in interface org.w3c.dom.html.HTMLDocumentvoid setDomain(String domain)
String getReferrer()
getReferrer in interface org.w3c.dom.html.HTMLDocumentString getCookie()
getCookie in interface org.w3c.dom.html.HTMLDocumentvoid setCookie(String cookie)
setCookie in interface org.w3c.dom.html.HTMLDocumentString getLastModified()
DocumentReadyState getReadyState()
String getDir()
void setDir(String dir)
HTMLHtmlElement getDocumentElement()
getDocumentElement in interface DocumentHTMLHtmlElement getHtml()
HTMLElement get(String name)
get in interface ScriptMap<HTMLElement>name - Name of the propertyboolean has(String name)
has in interface ScriptMap<HTMLElement>name - Name of the propertyvoid set(String name, HTMLElement element)
set in interface ScriptMap<HTMLElement>name - Name of the propertyelement - Value of the propertyvoid deleter(String name)
deleter in interface ScriptMap<HTMLElement>name - Name of the propertyString getTitle()
getTitle in interface org.w3c.dom.html.HTMLDocumentvoid setTitle(String title)
setTitle in interface org.w3c.dom.html.HTMLDocumentHTMLHeadElement getHead()
HTMLBodyElement getBody()
getBody in interface org.w3c.dom.html.HTMLDocumentvoid setBody(HTMLBodyElement body)
HTMLCollection<HTMLImageElement> getImages()
getImages in interface org.w3c.dom.html.HTMLDocumentHTMLCollection<HTMLEmbedElement> getEmbeds()
HTMLCollection<HTMLEmbedElement> getPlugins()
HTMLCollection<HTMLElement> getLinks()
getLinks in interface org.w3c.dom.html.HTMLDocumentHTMLCollection<HTMLFormElement> getForms()
getForms in interface org.w3c.dom.html.HTMLDocumentHTMLCollection<HTMLScriptElement> getScripts()
HTMLElement getElementById(String id)
getElementById in interface DocumentNodeList getElementsByTagName(String tag)
getElementsByTagName in interface DocumentHTMLElement getElementByTagName(String tag)
tag - the tagHTMLDocument open(String type)
type - "text/html"HTMLDocument open(String type, String replace)
type - "text/html"replace - the string to replace withvoid write(String... text)
void writeln(String... text)
void close()
close in interface org.w3c.dom.html.HTMLDocumentWindowProxy open(String url, String name, String features)
url - the URLname - the namefeatures - the featuresWindowProxy open(String url, String name, String features, boolean replace)
url - the urlname - the namefeatures - the featuresreplace - whether to replaceWindowProxy getDefaultView()
Element getActiveElement()
boolean hasFocus()
String getDesignMode()
void setDesignMode(String mode)
boolean execCommand(String commandId)
boolean execCommand(String commandId, boolean showId)
boolean queryCommandEnabled(String commandId)
boolean queryCommandIndeterm(String commandId)
boolean queryCommandState(String commandId)
boolean queryCommandSupported(String commandId)
EventHandler getOnreadystatechange()
void setOnreadystatechange(EventHandler h)
Copyright © 2017. All rights reserved.