|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.xml.xhtml.dom.xerces.XHTMLDocumentBase
Base class used to implements documents defined in terms of XHTML. This includes the full XHTML and XHTML modular documents. This defined all of the HTMLDocument methods plus a framework for creating elements, but no element definitions themselves.
HTMLDocument
, Serialized FormInner 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 |
Constructor Summary | |
XHTMLDocumentBase()
Constructor without document type. |
|
XHTMLDocumentBase(DocumentType doctype)
Constructor with document type. |
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 |
|
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 |
getElementById |
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 |
public XHTMLDocumentBase()
public XHTMLDocumentBase(DocumentType doctype)
Method Detail |
public Element getDocumentElement()
getDocumentElement
in interface Document
getDocumentElement
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
org.enhydra.apache.html.dom.HTMLDocumentImpl#getDocumentElement
public XHTMLElement getHead()
getDocumentElement()
. If the element does not exist, one
is created.
Called by getTitle()
, setTitle(java.lang.String)
, getBody()
and
setBody(org.enhydra.xml.xhtml.dom.XHTMLElement)
to assure the document has the <HEAD> element
correctly placed.
public String getTitle()
getTitle
in interface HTMLDocument
org.enhydra.apache.html.dom.HTMLDocumentImpl#getTitle
public void setTitle(String newTitle)
setTitle
in interface HTMLDocument
org.enhydra.apache.html.dom.HTMLDocumentImpl#setTitle
public HTMLElement getBody()
getBody
in interface HTMLDocument
org.enhydra.apache.html.dom.HTMLDocumentImpl#getBody
public void setBody(XHTMLElement newBody)
org.enhydra.apache.html.dom.HTMLDocumentImpl#setBody
public void setBody(HTMLElement newBody)
setBody
in interface HTMLDocument
public NodeList getElementsByName(String elementName)
getElementsByName
in interface HTMLDocument
org.enhydra.apache.html.dom.HTMLDocumentImpl#getElementsByName
public final NodeList getElementsByTagName(String tagName)
getElementsByTagName
in interface Document
getElementsByTagName
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
org.enhydra.apache.html.dom.HTMLDocumentImpl#getElementsByTagName
public final NodeList getElementsByTagNameNS(String namespaceURI, String localName)
getElementsByTagNameNS
in interface Document
getElementsByTagNameNS
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
org.enhydra.apache.html.dom.HTMLDocumentImpl#getElementsByTagNameNS
public Element createElementNS(String namespaceURI, String qualifiedName, String localpart) throws DOMException
createElementNS
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
namespaceURI
- The namespace URI of the element to
create.qualifiedName
- The qualified name of the element type to
instantiate.localpart
- The local name of the element to instantiate.DOMException
- INVALID_CHARACTER_ERR: Raised if the specified
name contains an invalid character.public Element createElementNS(String namespaceURI, String qualifiedName)
createElementNS
in interface Document
createElementNS
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
org.enhydra.apache.html.dom.HTMLDocumentImpl#createElementNS
public Element createElement(String tagName) throws DOMException
createElement
in interface Document
createElement
in class org.enhydra.apache.xerces.dom.CoreDocumentImpl
org.enhydra.apache.html.dom.HTMLDocumentImpl#createElement
public String getReferrer()
getReferrer
in interface HTMLDocument
org.enhydra.apache.html.dom.HTMLDocumentImpl#getReferrer
public String getDomain()
getDomain
in interface HTMLDocument
org.enhydra.apache.html.dom.HTMLDocumentImpl#getDomain
public String getURL()
getURL
in interface HTMLDocument
org.enhydra.apache.html.dom.HTMLDocumentImpl#getURL
public String getCookie()
getCookie
in interface HTMLDocument
org.enhydra.apache.html.dom.HTMLDocumentImpl#getCookie
public void setCookie(String cookie)
setCookie
in interface HTMLDocument
org.enhydra.apache.html.dom.HTMLDocumentImpl#setCookie
public HTMLCollection getImages()
getImages
in interface HTMLDocument
org.enhydra.apache.html.dom.HTMLDocumentImpl#getImages
public HTMLCollection getApplets()
getApplets
in interface HTMLDocument
org.enhydra.apache.html.dom.HTMLDocumentImpl#getApplets
public HTMLCollection getLinks()
getLinks
in interface HTMLDocument
org.enhydra.apache.html.dom.HTMLDocumentImpl#getLinks
public HTMLCollection getForms()
getForms
in interface HTMLDocument
org.enhydra.apache.html.dom.HTMLDocumentImpl#getForms
public HTMLCollection getAnchors()
getAnchors
in interface HTMLDocument
org.enhydra.apache.html.dom.HTMLDocumentImpl#getAnchors
public void open()
open
in interface HTMLDocument
org.enhydra.apache.html.dom.HTMLDocumentImpl#open
public void close()
close
in interface HTMLDocument
org.enhydra.apache.html.dom.HTMLDocumentImpl#close
public void write(String text)
write
in interface HTMLDocument
org.enhydra.apache.html.dom.HTMLDocumentImpl#write
public void writeln(String text)
writeln
in interface HTMLDocument
org.enhydra.apache.html.dom.HTMLDocumentImpl#writeln
public Node cloneNode(boolean deep)
cloneNode
in interface Node
cloneNode
in class org.enhydra.apache.xerces.dom.DocumentImpl
org.enhydra.apache.html.dom.HTMLDocumentImpl#cloneNode
public DOMImplementation getImplementation()
getImplementation
in interface Document
getImplementation
in class org.enhydra.apache.xerces.dom.DocumentImpl
DocumentImpl.getImplementation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |