Xerces 3.1.1 API: Class WMLDocumentImpl
org.apache.wml.dom
Class WMLDocumentImpl
java.lang.Object
|
+--org.apache.xerces.dom.NodeImpl
|
+--org.apache.xerces.dom.ParentNode
|
+--org.apache.xerces.dom.DocumentImpl
|
+--org.apache.wml.dom.WMLDocumentImpl
public class WMLDocumentImpl extends DocumentImpl implements WMLDocument
Version: $Id: WMLDocumentImpl.java,v 1.2 2000/10/04 11:19:26 jeffreyr Exp $
See Also: Serialized Form
Fields inherited from class org.apache.xerces.dom.DocumentImpl
allowGrammarAccess ,
changes ,
docElement ,
docType ,
errorChecking ,
eventListeners ,
identifiers ,
iterators ,
kidOK ,
mutationEvents ,
ranges ,
userData
Fields inherited from class org.apache.xerces.dom.NodeImpl
ELEMENT_DEFINITION_NODE ,
FIRSTCHILD ,
flags ,
IGNORABLEWS ,
MUTATION_AGGREGATE ,
MUTATION_ALL ,
MUTATION_LOCAL ,
MUTATION_NONE ,
MUTATIONEVENTS ,
OWNED ,
ownerNode ,
READONLY ,
SETVALUE ,
SPECIFIED ,
SYNCCHILDREN ,
SYNCDATA
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
Method Summary
Element
createElement (java.lang.String tagName)
Creates an element of the type specified.
Methods inherited from class org.apache.xerces.dom.DocumentImpl
adoptNode ,
changed ,
changes ,
clone ,
cloneNode ,
createAttribute ,
createAttributeNS ,
createCDATASection ,
createComment ,
createDocumentFragment ,
createDocumentType ,
createElementDefinition ,
createElementNS ,
createEntity ,
createEntityReference ,
createEvent ,
createNodeIterator ,
createNodeIterator ,
createNotation ,
createProcessingInstruction ,
createRange ,
createTextNode ,
createTreeWalker ,
createTreeWalker ,
getDoctype ,
getDocumentElement ,
getElementById ,
getElementsByTagName ,
getElementsByTagNameNS ,
getErrorChecking ,
getEventListeners ,
getIdentifier ,
getIdentifiers ,
getImplementation ,
getMutationEvents ,
getNodeName ,
getNodeType ,
getOwnerDocument ,
getUserData ,
importNode ,
insertBefore ,
isKidOK ,
isXMLName ,
putIdentifier ,
removeChild ,
removeIdentifier ,
replaceChild ,
setErrorChecking ,
setEventListeners ,
setMutationEvents ,
setUserData
Methods inherited from class org.apache.xerces.dom.NodeImpl
addEventListener ,
appendChild ,
dispatchEvent ,
getAttributes ,
getLocalName ,
getNamespaceURI ,
getNextSibling ,
getNodeValue ,
getParentNode ,
getPrefix ,
getPreviousSibling ,
getReadOnly ,
getUserData ,
hasAttributes ,
isSupported ,
removeEventListener ,
setNodeValue ,
setPrefix ,
setUserData ,
synchronizeData ,
toString
Methods inherited from class java.lang.Object
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait
WMLDocumentImpl
public WMLDocumentImpl (DocumentType doctype)
createElement
public Element createElement (java.lang.String tagName)
throws DOMException
Description copied from interface: Document
Creates an element of the type specified. Note that the instance
returned implements the Element
interface, so attributes
can be specified directly on the returned object.
In addition, if there are known attributes with default values,
Attr
nodes representing them are automatically created
and attached to the element.
To create an element with a qualified name and namespace URI, use
the createElementNS
method.
Overrides: createElement in class DocumentImpl
Tags copied from interface: Document
Parameters: tagNameThe
- name of the element type to instantiate. For XML,
this is case-sensitive. For HTML, the tagName
parameter may be provided in any case, but it must be mapped to the
canonical uppercase form by the DOM implementation.Returns: A new Element
object with the
nodeName
attribute set to tagName
, and
localName
, prefix
, and
namespaceURI
set to null
. Throws: DOMException - INVALID_CHARACTER_ERR: Raised if the specified name contains an
illegal character.