org.enhydra.wireless.chtml.dom.xerces
Class CHTMLDocumentImpl

java.lang.Object
  |
  +--org.enhydra.apache.xerces.dom.NodeImpl
        |
        +--org.enhydra.apache.xerces.dom.ChildNode
              |
              +--org.enhydra.apache.xerces.dom.ParentNode
                    |
                    +--org.enhydra.apache.xerces.dom.CoreDocumentImpl
                          |
                          +--org.enhydra.apache.xerces.dom.DocumentImpl
                                |
                                +--org.enhydra.apache.html.dom.HTMLDocumentImpl
                                      |
                                      +--org.enhydra.wireless.chtml.dom.xerces.CHTMLDocumentImpl
All Implemented Interfaces:
CHTMLDocument, Cloneable, Document, DocumentEvent, DocumentRange, DocumentTraversal, EventTarget, HTMLDocument, Node, NodeList, Serializable, org.enhydra.xml.xmlc.XMLObjectLink

public class CHTMLDocumentImpl
extends org.enhydra.apache.html.dom.HTMLDocumentImpl
implements CHTMLDocument, org.enhydra.xml.xmlc.XMLObjectLink

CHTML Document interfaces. This implements a subset of the HTML DOM that corresponds to CHTML defined by DoCoMo. See CHTML specification for details.

See Also:
HTMLDocument, Serialized Form

Inner classes inherited from class org.enhydra.apache.xerces.dom.DocumentImpl
org.enhydra.apache.xerces.dom.DocumentImpl.EnclosingAttr, org.enhydra.apache.xerces.dom.DocumentImpl.LEntry
 
Inner classes inherited from class org.enhydra.apache.xerces.dom.ParentNode
org.enhydra.apache.xerces.dom.ParentNode.UserDataRecord
 
Fields inherited from class org.enhydra.apache.xerces.dom.DocumentImpl
eventListeners, iterators, mutationEvents, ranges, savedEnclosingAttr, serialVersionUID
 
Fields inherited from class org.enhydra.apache.xerces.dom.CoreDocumentImpl
actualEncoding, allowGrammarAccess, changes, docElement, docType, domNormalizer, encoding, errorChecking, fConfiguration, fDocumentURI, fFreeNLCache, fXPathEvaluator, identifiers, standalone, userData, version, xmlVersionChanged
 
Fields inherited from class org.enhydra.apache.xerces.dom.ParentNode
firstChild, fNodeListCache, ownerDocument
 
Fields inherited from class org.enhydra.apache.xerces.dom.ChildNode
nextSibling, previousSibling
 
Fields inherited from class org.enhydra.apache.xerces.dom.NodeImpl
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE
 
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
 
Constructor Summary
CHTMLDocumentImpl()
           
 
Method Summary
(package private) static void ()
          Class initializer.
 Node cloneNode(boolean deep)
           
 Element createElement(String tagName)
           
 Element createElementNS(String namespaceURI, String qualifiedName)
           
 DOMImplementation getImplementation()
          overload in order to return the correct dom implementation for cHTML (actually HTML)
 org.enhydra.xml.xmlc.XMLObject getXMLObject()
           
 void setXMLObject(org.enhydra.xml.xmlc.XMLObject xmlObject)
           
 
Methods inherited from class org.enhydra.apache.html.dom.HTMLDocumentImpl
close, createAttribute, createElementNS, getAnchors, getApplets, getBody, getCookie, getDocumentElement, getDomain, getElementById, getElementsByName, getElementsByTagName, getElementsByTagNameNS, getForms, getHead, getImages, getLinks, getReferrer, getTitle, getURL, open, setBody, setCookie, setTitle, write, writeln
 
Methods inherited from class org.enhydra.apache.xerces.dom.DocumentImpl
addEventListener, copyEventListeners, createEvent, createNodeIterator, createNodeIterator, createRange, createTreeWalker, createTreeWalker, deletedText, dispatchAggregateEvents, dispatchAggregateEvents, dispatchEvent, dispatchEventToSubtree, dispatchingEventToSubtree, getEventListeners, getMutationEvents, insertedNode, insertedText, insertingNode, modifiedAttrValue, modifiedCharacterData, modifyingCharacterData, removedAttrNode, removedNode, removeEventListener, removeNodeIterator, removeRange, removingNode, renamedAttrNode, renamedElement, replacedCharacterData, replacedNode, replacedText, replacingData, replacingNode, saveEnclosingAttr, setAttrNode, setEventListeners, setMutationEvents, splitData
 
Methods inherited from class org.enhydra.apache.xerces.dom.CoreDocumentImpl
abort, adoptNode, callUserDataHandlers, callUserDataHandlers, changed, changes, checkDOMNSErr, checkNamespaceWF, checkQName, clearIdentifiers, clone, cloneNode, createAttributeNS, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createDocumentType, createElementDefinition, createEntity, createEntityReference, createNotation, createProcessingInstruction, createTextNode, freeNodeListCache, getAsync, getBaseURI, getDoctype, getDocumentURI, getDomConfig, getEncoding, getErrorChecking, getFeature, getIdentifier, getIdentifiers, getInputEncoding, getNodeListCache, getNodeName, getNodeNumber, getNodeNumber, getNodeType, getOwnerDocument, getStandalone, getStrictErrorChecking, getTextContent, getUserData, getUserData, getUserDataRecord, getVersion, getXmlEncoding, getXmlStandalone, getXmlVersion, importNode, insertBefore, isKidOK, isNormalizeDocRequired, isValidQName, isXML11Version, isXMLName, isXMLVersionChanged, load, loadXML, normalizeDocument, putIdentifier, removeChild, removeIdentifier, removeUserDataTable, renameNode, replaceChild, saveXML, setAsync, setDocumentURI, setEncoding, setErrorChecking, setInputEncoding, setStandalone, setStrictErrorChecking, setTextContent, setUserData, setUserData, setUserDataTable, setVersion, setXmlEncoding, setXmlStandalone, setXmlVersion, undeferChildren
 
Methods inherited from class org.enhydra.apache.xerces.dom.ParentNode
checkNormalizationAfterInsert, checkNormalizationAfterRemove, getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getTextContent, hasChildNodes, hasTextContent, internalInsertBefore, internalRemoveChild, isEqualNode, item, lastChild, lastChild, normalize, ownerDocument, setOwnerDocument, setReadOnly, synchronizeChildren
 
Methods inherited from class org.enhydra.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling, parentNode, previousSibling
 
Methods inherited from class org.enhydra.apache.xerces.dom.NodeImpl
addEventListener, appendChild, compareDocumentPosition, compareTreePosition, dispatchEvent, getAttributes, getContainer, getElementAncestor, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getUserData, getUserData, getUserDataRecord, hasAttributes, hasStringValue, hasStringValue, internalIsIgnorableWhitespace, isDefaultNamespace, isFirstChild, isFirstChild, isIdAttribute, isIdAttribute, isIgnorableWhitespace, isNormalized, isNormalized, isOwned, isOwned, isReadOnly, isReadOnly, isSameNode, isSpecified, isSpecified, isSupported, lookupNamespacePrefix, lookupNamespaceURI, lookupPrefix, needsSyncChildren, needsSyncChildren, needsSyncData, needsSyncData, removeEventListener, setNodeValue, setPrefix, setUserData, setUserData, synchronizeData, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.html.HTMLDocument
close, getAnchors, getApplets, getBody, getCookie, getDomain, getElementById, getElementsByName, getForms, getImages, getLinks, getReferrer, getTitle, getURL, open, setBody, setCookie, setTitle, write, writeln
 
Methods inherited from interface org.w3c.dom.Document
adoptNode, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createEntityReference, createProcessingInstruction, createTextNode, getDoctype, getDocumentElement, getDocumentURI, getDomConfig, getElementsByTagName, getElementsByTagNameNS, 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
 

Constructor Detail

CHTMLDocumentImpl

public CHTMLDocumentImpl()
Method Detail

getImplementation

public DOMImplementation getImplementation()
overload in order to return the correct dom implementation for cHTML (actually HTML)
Specified by:
getImplementation in interface Document
Overrides:
getImplementation in class org.enhydra.apache.xerces.dom.DocumentImpl
See Also:
DocumentImpl.getImplementation()

createElementNS

public Element createElementNS(String namespaceURI,
                               String qualifiedName)
                        throws DOMException
Specified by:
createElementNS in interface Document
Overrides:
createElementNS in class org.enhydra.apache.html.dom.HTMLDocumentImpl
See Also:
HTMLDocumentImpl.createElementNS(java.lang.String, java.lang.String, java.lang.String)

createElement

public Element createElement(String tagName)
                      throws DOMException
Specified by:
createElement in interface Document
Overrides:
createElement in class org.enhydra.apache.html.dom.HTMLDocumentImpl
See Also:
HTMLDocumentImpl.createElement(java.lang.String)

cloneNode

public Node cloneNode(boolean deep)
Specified by:
cloneNode in interface Node
Overrides:
cloneNode in class org.enhydra.apache.html.dom.HTMLDocumentImpl

static void ()
Class initializer.

setXMLObject

public void setXMLObject(org.enhydra.xml.xmlc.XMLObject xmlObject)
Specified by:
setXMLObject in interface org.enhydra.xml.xmlc.XMLObjectLink
See Also:
XMLObjectLink.setXMLObject(org.enhydra.xml.xmlc.XMLObject)

getXMLObject

public org.enhydra.xml.xmlc.XMLObject getXMLObject()
Specified by:
getXMLObject in interface org.enhydra.xml.xmlc.XMLObjectLink
See Also:
XMLObjectLink.getXMLObject()


Copyright © 1999-2002 Mark Diekhans, enhydra.org. All Rights reserved.