DOMImplementation
interfacein packageorg.w3c.dom
public interface DOMImplementation:
DOMImplementation

Factory and feature discovery interface for DOM implementations.

import org.w3c.dom

implementation as DOMImplementation = document.implementation
print(implementation.hasFeature("Core", "3.0"))
Methods
Modifier and Type Member Description
public createDocument
createDocument(namespaceURI as String, qualifiedName as String, doctype as DocumentType) as Document throws DOMException
Creates a document with an optional document type and root element.
public createDocumentType
createDocumentType(qualifiedName as String, publicId as String, systemId as String) as DocumentType throws DOMException
Creates a document type node.
public getFeature
getFeature(feature as String, version as String) as Object
Returns a specialized feature object when available.
public hasFeature
hasFeature(feature as String, version as String) as Boolean
Indicates whether this implementation supports a DOM feature.