Top Fields Constructors Methods
org.apache.wml.dom

public Class WMLDocumentImpl

extends DocumentImpl
implements WMLDocument
Class Inheritance
All Implemented Interfaces
org.apache.wml.WMLDocument, org.w3c.dom.Document, org.w3c.dom.Node
Imports
java.lang.reflect.Constructor, java.util.Hashtable, org.apache.wml.WMLDocument, org.apache.xerces.dom.DocumentImpl, .ElementImpl, org.w3c.dom.DOMException, .DocumentType, .Element

Author
David Li
Version
$Id: WMLDocumentImpl.java 890457 2009-12-14 19:47:46Z mrglavas $

Field Summary

Modifier and TypeField and Description
private static final Class<T>[]
private static Hashtable<K, V>
private static final long
Inherited from org.apache.xerces.dom.DocumentImpl:
eventListenersiteratorReferenceQueueiteratorsmutationEventsrangeReferenceQueueranges

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected boolean
public Element
createElement(String
The name of the element type to instantiate. For XML, this is case-sensitive, otherwise it depends on the case-sensitivity of the markup language in use. In that case, the name is mapped to the canonical form of that markup by the DOM implementation.
tagName
)

Overrides org.apache.xerces.dom.CoreDocumentImpl.createElement.

Implements org.w3c.dom.Document.createElement.

Creates an element of the type specified.
Inherited from org.apache.xerces.dom.DocumentImpl:
addEventListenercloneNodecopyEventListenerscreateEventcreateNodeIteratorcreateNodeIteratorcreateRangecreateTreeWalkercreateTreeWalkerdispatchAggregateEventsdispatchAggregateEventsdispatchEventdispatchEventToSubtreedispatchingEventToSubtreegetEventListenersgetImplementationremoveEventListenersaveEnclosingAttrsetEventListeners

Field Detail

_elemClassSigWMLback to summary
private static final Class<T>[] _elemClassSigWML
_elementTypesWMLback to summary
private static Hashtable<K, V> _elementTypesWML
serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.xerces.dom.DocumentImpl.serialVersionUID.

Constructor Detail

WMLDocumentImplback to summary
public WMLDocumentImpl(DocumentType doctype)

Method Detail

canRenameElementsback to summary
protected boolean canRenameElements(String newNamespaceURI, String newNodeName, ElementImpl el)

Overrides org.apache.xerces.dom.CoreDocumentImpl.canRenameElements.

createElementback to summary
public Element createElement(String tagName) throws DOMException

Overrides org.apache.xerces.dom.CoreDocumentImpl.createElement.

Implements org.w3c.dom.Document.createElement.

Doc from org.w3c.dom.Document.createElement.

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.

Parameters
tagName:String

The name of the element type to instantiate. For XML, this is case-sensitive, otherwise it depends on the case-sensitivity of the markup language in use. In that case, the name is mapped to the canonical form of that markup by the DOM implementation.

Returns:Element

A new Element object with the nodeName attribute set to tagName, and localName, prefix, and namespaceURI set to null.

Exceptions
DOMException:
INVALID_CHARACTER_ERR: Raised if the specified name is not an XML name according to the XML version in use specified in the Document.xmlVersion attribute.