Class DOMImplementation

DOMImplementation

public class DOMImplementation

Class representing the DOM DOMImplementation interface.


Constructor Summary
DOMImplementation()
           
 
Method Summary
 Document createDocument(var $namespaceURI, var $qualifiedName, var $doctype)
          Creates a new, empty Document with the given document type.
DOM-Level 2
 DocumentType createDocumentType(var $qualifiedName, var $publicId, var $systemId)
          Creates an empty DocumentType node that is not associated with any document.
DOM-Level 2
 boolean hasFeature(var $feature, var $version)
          Tests to see if the DOM implementation supports a given named feature package.
DOM-Level 1
 

Constructor Detail

DOMImplementation

public DOMImplementation()
Method Detail

hasFeature

public boolean hasFeature(var $feature,
                          var $version)
Tests to see if the DOM implementation supports a given named feature package.
DOM-Level 1
Parameters:
$feature - string
$version - string
$version - Default Value: "1.0"

createDocument

public Document createDocument(var $namespaceURI,
                               var $qualifiedName,
                               var $doctype)
Creates a new, empty Document with the given document type.
DOM-Level 2
Parameters:
$namespaceURI - string
$qualifiedName - string
$doctype - DocumentType
$doctype - is passed by reference

createDocumentType

public DocumentType createDocumentType(var $qualifiedName,
                                       var $publicId,
                                       var $systemId)
Creates an empty DocumentType node that is not associated with any document.
DOM-Level 2
Parameters:
$qualifiedName - string
$publicId - string
$systemId - string