XML technologies / XML / XML in a Nutshell / DOM reference / Object reference / DOMImplementationSource

(Excerpt from "XML in a Nutshell" by Elliotte Rusty Harold & W. Scott Means)

This interface provides an ordered list of DOMImplementation objects accessible through a zero-based index.

 

Attributes

The object DOMImplementationSource has no attributes.

 

Methods

The following methods are defined for this object:

 

getDOMImplementation: features(3)

Used to retrieve a DOMImplementation object satisfying a space-separated list of specified features and optional version numbers. DOM implementers can provide multiple versions of different DOM components, which developers can query at runtime with this method. Most available features are beyond this book’s scope. For example, a particular version of XML support can be requested by passing a features string such as: "XML 3.0". This string would require a DOMImplementation object supporting version 3.0 of XML Core. If no matching implementation is available, the method returns null.

Argument

  • features: DOMString

    The space-separated list of required features and versions.

Java binding
public DOMImplementation getDOMImplementation(String features);

 

getDOMImplementationList: features(3)

Used to retrieve a list of DOMImplementation objects satisfying a space-separated list of specified features and optional version numbers. The returned list is a DOMImplementationList. For more information about the syntax of the features argument, see the method getDOMImplementation( ).

Argument

  • features: DOMString

    The space-separated list of required features and versions.

Java binding
public DOMImplementationList getDOMImplementation(String features);

  

 

 

 

back to top