DOMImplementation extension type
The DOMImplementation
interface represents an object providing methods
which are not dependent on any particular document. Such an object is
returned by the Document.implementation property.
API documentation sourced from MDN Web Docs.
- on
- Implemented types
- Available extensions
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createDocument(
String? namespace, String qualifiedName, [DocumentType? doctype]) → XMLDocument -
The
DOMImplementation.createDocument()
method creates and returns an XMLDocument. -
createDocumentType(
String qualifiedName, String publicId, String systemId) → DocumentType -
The
DOMImplementation.createDocumentType()
method returns a DocumentType object which can either be used with DOMImplementation.createDocument upon document creation or can be put into the document via methods like Node.insertBefore or Node.replaceChild. -
createHTMLDocument(
[String title]) → Document -
The
DOMImplementation.createHTMLDocument()
method creates a new HTML Document. -
hasFeature(
) → bool -
The
DOMImplementation.hasFeature()
method returns a boolean flag indicating if a given feature is supported. It is deprecated and modern browsers returntrue
in all cases. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited