1 57 package com.sun.org.apache.wml.internal.dom; 58 59 import com.sun.org.apache.wml.internal.*; 60 import org.w3c.dom.*; 61 import com.sun.org.apache.xerces.internal.dom.*; 62 63 67 68 public class WMLDOMImplementationImpl extends DOMImplementationImpl implements WMLDOMImplementation { 69 70 static DOMImplementationImpl singleton = new WMLDOMImplementationImpl(); 71 72 73 public static DOMImplementation getDOMImplementation() { 74 return singleton; 75 } 76 77 80 public Document createDocument(String namespaceURI, 81 String qualifiedName, 82 DocumentType doctype) throws DOMException { 83 DocumentImpl doc = new WMLDocumentImpl(doctype); 84 Element e = doc.createElementNS( namespaceURI, qualifiedName); 86 doc.appendChild(e); 87 return doc; 88 } 89 } 90 91 | Popular Tags |