org.enhydra.xml.xmlc.dom.generic
Class GenericLinkedHTMLDocument
java.lang.Object
|
+--org.enhydra.xml.xmlc.dom.generic.GenericLinkedDocument
|
+--org.enhydra.xml.xmlc.dom.generic.GenericLinkedHTMLDocument
- All Implemented Interfaces:
- Document, HTMLDocument, Node, XMLObjectLink
- public class GenericLinkedHTMLDocument
- extends GenericLinkedDocument
- implements HTMLDocument
This is a generic wrapper around HTMLDocument
that adds XMLObjectLink
functionality.
Fields inherited from interface org.w3c.dom.Node |
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_NODE |
Methods inherited from class org.enhydra.xml.xmlc.dom.generic.GenericLinkedDocument |
adoptNode, appendChild, compareDocumentPosition, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, getAttributes, getBaseURI, getChildNodes, getDoctype, getDocumentElement, getDocumentURI, getDomConfig, getElementById, getElementsByTagName, getElementsByTagNameNS, getEncoding, getFeature, getFirstChild, getImplementation, getInputEncoding, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getStandalone, getStrictErrorChecking, getTextContent, getUserData, getVersion, getXmlEncoding, getXMLObject, getXmlStandalone, getXmlVersion, hasAttributes, hasChildNodes, importNode, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, normalizeDocument, removeChild, renameNode, replaceChild, setDocumentURI, setEncoding, setNodeValue, setPrefix, setStandalone, setStrictErrorChecking, setTextContent, setUserData, setVersion, setXMLObject, setXmlStandalone, setXmlVersion |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Document |
adoptNode, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, getDoctype, getDocumentElement, getDocumentURI, getDomConfig, getElementsByTagName, getElementsByTagNameNS, getImplementation, getInputEncoding, getStrictErrorChecking, getXmlEncoding, getXmlStandalone, getXmlVersion, importNode, normalizeDocument, renameNode, setDocumentURI, setStrictErrorChecking, setXmlStandalone, setXmlVersion |
Methods inherited from interface org.w3c.dom.Node |
appendChild, 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, setUserData |
GenericLinkedHTMLDocument
public GenericLinkedHTMLDocument(HTMLDocument inner)
- Constructor.
- Parameters:
inner
- the document to be wrapped.
cloneNode
public Node cloneNode(boolean deep)
- Specified by:
cloneNode
in interface Node
- Overrides:
cloneNode
in class GenericLinkedDocument
- See Also:
Node.cloneNode(boolean)
getTitle
public String getTitle()
- Specified by:
getTitle
in interface HTMLDocument
setTitle
public void setTitle(String title)
- Specified by:
setTitle
in interface HTMLDocument
getReferrer
public String getReferrer()
- Specified by:
getReferrer
in interface HTMLDocument
getDomain
public String getDomain()
- Specified by:
getDomain
in interface HTMLDocument
getURL
public String getURL()
- Specified by:
getURL
in interface HTMLDocument
getBody
public HTMLElement getBody()
- Specified by:
getBody
in interface HTMLDocument
setBody
public void setBody(HTMLElement body)
- Specified by:
setBody
in interface HTMLDocument
getImages
public HTMLCollection getImages()
- Specified by:
getImages
in interface HTMLDocument
getApplets
public HTMLCollection getApplets()
- Specified by:
getApplets
in interface HTMLDocument
getLinks
public HTMLCollection getLinks()
- Specified by:
getLinks
in interface HTMLDocument
getForms
public HTMLCollection getForms()
- Specified by:
getForms
in interface HTMLDocument
getAnchors
public HTMLCollection getAnchors()
- Specified by:
getAnchors
in interface HTMLDocument
getCookie
public String getCookie()
- Specified by:
getCookie
in interface HTMLDocument
setCookie
public void setCookie(String cookie)
throws DOMException
- Specified by:
setCookie
in interface HTMLDocument
open
public void open()
- Specified by:
open
in interface HTMLDocument
close
public void close()
- Specified by:
close
in interface HTMLDocument
write
public void write(String text)
- Specified by:
write
in interface HTMLDocument
writeln
public void writeln(String text)
- Specified by:
writeln
in interface HTMLDocument
getElementsByName
public NodeList getElementsByName(String elementName)
- Specified by:
getElementsByName
in interface HTMLDocument
Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.