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:
org.w3c.dom.Document, org.w3c.dom.html.HTMLDocument, org.w3c.dom.Node, XMLObjectLink

public class GenericLinkedHTMLDocument
extends GenericLinkedDocument
implements org.w3c.dom.html.HTMLDocument

This is a generic wrapper around HTMLDocument that adds XMLObjectLink functionality.


Field Summary
 
Fields inherited from class org.enhydra.xml.xmlc.dom.generic.GenericLinkedDocument
DELEGATE
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
GenericLinkedHTMLDocument(org.w3c.dom.html.HTMLDocument inner)
          Constructor.
 
Method Summary
 org.w3c.dom.Node cloneNode(boolean deep)
           
 void close()
           
 org.w3c.dom.html.HTMLCollection getAnchors()
           
 org.w3c.dom.html.HTMLCollection getApplets()
           
 org.w3c.dom.html.HTMLElement getBody()
           
 java.lang.String getCookie()
           
 java.lang.String getDomain()
           
 org.w3c.dom.NodeList getElementsByName(java.lang.String elementName)
           
 org.w3c.dom.html.HTMLCollection getForms()
           
 org.w3c.dom.html.HTMLCollection getImages()
           
 org.w3c.dom.html.HTMLCollection getLinks()
           
 java.lang.String getReferrer()
           
 java.lang.String getTitle()
           
 java.lang.String getURL()
           
 void open()
           
 void setBody(org.w3c.dom.html.HTMLElement body)
           
 void setCookie(java.lang.String cookie)
           
 void setTitle(java.lang.String title)
           
 void write(java.lang.String text)
           
 void writeln(java.lang.String text)
           
 
Methods inherited from class org.enhydra.xml.xmlc.dom.generic.GenericLinkedDocument
adoptNode, appendChild, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, getAttributes, getChildNodes, getDoctype, getDocumentElement, getElementById, getElementsByTagName, getElementsByTagNameNS, getEncoding, getFirstChild, getImplementation, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getStandalone, getStrictErrorChecking, getVersion, getXMLObject, hasAttributes, hasChildNodes, importNode, insertBefore, isSupported, normalize, removeChild, replaceChild, setEncoding, setNodeValue, setPrefix, setStandalone, setStrictErrorChecking, setVersion, setXMLObject
 
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
createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, getDoctype, getDocumentElement, getElementById, getElementsByTagName, getElementsByTagNameNS, getImplementation, importNode
 
Methods inherited from interface org.w3c.dom.Node
appendChild, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 

Constructor Detail

GenericLinkedHTMLDocument

public GenericLinkedHTMLDocument(org.w3c.dom.html.HTMLDocument inner)
Constructor.

Parameters:
inner - the document to be wrapped.
Method Detail

cloneNode

public org.w3c.dom.Node cloneNode(boolean deep)
Specified by:
cloneNode in interface org.w3c.dom.Node
Overrides:
cloneNode in class GenericLinkedDocument
See Also:
Node.cloneNode(boolean)

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface org.w3c.dom.html.HTMLDocument

setTitle

public void setTitle(java.lang.String title)
Specified by:
setTitle in interface org.w3c.dom.html.HTMLDocument

getReferrer

public java.lang.String getReferrer()
Specified by:
getReferrer in interface org.w3c.dom.html.HTMLDocument

getDomain

public java.lang.String getDomain()
Specified by:
getDomain in interface org.w3c.dom.html.HTMLDocument

getURL

public java.lang.String getURL()
Specified by:
getURL in interface org.w3c.dom.html.HTMLDocument

getBody

public org.w3c.dom.html.HTMLElement getBody()
Specified by:
getBody in interface org.w3c.dom.html.HTMLDocument

setBody

public void setBody(org.w3c.dom.html.HTMLElement body)
Specified by:
setBody in interface org.w3c.dom.html.HTMLDocument

getImages

public org.w3c.dom.html.HTMLCollection getImages()
Specified by:
getImages in interface org.w3c.dom.html.HTMLDocument

getApplets

public org.w3c.dom.html.HTMLCollection getApplets()
Specified by:
getApplets in interface org.w3c.dom.html.HTMLDocument

getLinks

public org.w3c.dom.html.HTMLCollection getLinks()
Specified by:
getLinks in interface org.w3c.dom.html.HTMLDocument

getForms

public org.w3c.dom.html.HTMLCollection getForms()
Specified by:
getForms in interface org.w3c.dom.html.HTMLDocument

getAnchors

public org.w3c.dom.html.HTMLCollection getAnchors()
Specified by:
getAnchors in interface org.w3c.dom.html.HTMLDocument

getCookie

public java.lang.String getCookie()
Specified by:
getCookie in interface org.w3c.dom.html.HTMLDocument

setCookie

public void setCookie(java.lang.String cookie)
               throws org.w3c.dom.DOMException
Specified by:
setCookie in interface org.w3c.dom.html.HTMLDocument
org.w3c.dom.DOMException

open

public void open()
Specified by:
open in interface org.w3c.dom.html.HTMLDocument

close

public void close()
Specified by:
close in interface org.w3c.dom.html.HTMLDocument

write

public void write(java.lang.String text)
Specified by:
write in interface org.w3c.dom.html.HTMLDocument

writeln

public void writeln(java.lang.String text)
Specified by:
writeln in interface org.w3c.dom.html.HTMLDocument

getElementsByName

public org.w3c.dom.NodeList getElementsByName(java.lang.String elementName)
Specified by:
getElementsByName in interface org.w3c.dom.html.HTMLDocument


Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.