FileDocCategorySizeDatePackage
WMLDOMImplementationImpl.javaAPI DocApache Xerces 3.0.12703Fri Sep 14 20:33:54 BST 2007org.apache.wml.dom

WMLDOMImplementationImpl

public class WMLDOMImplementationImpl extends org.apache.xerces.dom.DOMImplementationImpl implements org.apache.wml.WMLDOMImplementation
xerces.internal
version
$Id: WMLDOMImplementationImpl.java 516291 2007-03-09 04:26:22Z mrglavas $
author
David Li

Fields Summary
static final org.apache.xerces.dom.DOMImplementationImpl
singleton
Constructors Summary
Methods Summary
public org.w3c.dom.DocumentcreateDocument(java.lang.String namespaceURI, java.lang.String qualifiedName, org.w3c.dom.DocumentType doctype)

see
org.w3c.dom.DOMImplementation

        if (doctype != null && doctype.getOwnerDocument() != null) {
            throw new DOMException(DOMException.WRONG_DOCUMENT_ERR, 
                                   DOMMessageFormatter.formatMessage(
                                   DOMMessageFormatter.XML_DOMAIN, 
                                   "WRONG_DOCUMENT_ERR", null));
        }
        DocumentImpl doc = new WMLDocumentImpl(doctype);
        // If namespaceURI and qualifiedName are null return a Document with no document element.
        if (qualifiedName != null || namespaceURI != null) {
            Element e = doc.createElementNS(namespaceURI, qualifiedName);
            doc.appendChild(e);
        }
        return doc;
    
public static org.w3c.dom.DOMImplementationgetDOMImplementation()
NON-DOM: Obtain and return the single shared object

    
             
        
        return singleton;