Top Description Constructors Methods
org.apache.xerces.dom

public Class DOMImplementationSourceImpl

extends Object
implements DOMImplementationSource
Class Inheritance
All Implemented Interfaces
org.w3c.dom.DOMImplementationSource
Known Direct Subclasses
org.apache.xerces.dom.DOMXSImplementationSourceImpl
Imports
java.util.ArrayList, .StringTokenizer, org.w3c.dom.DOMImplementation, .DOMImplementationList, .DOMImplementationSource

Supply one the right implementation, based upon requested features. Each implemented DOMImplementationSource object is listed in the binding-specific list of available sources so that its DOMImplementation objects are made available.

See also the Document Object Model (DOM) Level 3 Core Specification.

Version
$Id: DOMImplementationSourceImpl.java 603686 2007-12-12 17:51:23Z mrglavas $

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public DOMImplementation

Returns:

An implementation that has the desired features, or null if this source has none.
getDOMImplementation
(String
A string that specifies which features are required. This is a space separated list in which each feature is specified by its name optionally followed by a space and a version number. This is something like: "XML 1.0 Traversal Events 2.0"
features
)

Implements org.w3c.dom.DOMImplementationSource.getDOMImplementation.

A method to request a DOM implementation.
public DOMImplementationList

Returns:

A list of DOM implementations that support the desired features.
getDOMImplementationList
(String
A string that specifies which features and versions are required. This is a space separated list in which each feature is specified by its name optionally followed by a space and a version number. This is something like: "XML 3.0 Traversal +Events 2.0"
features
)

Implements org.w3c.dom.DOMImplementationSource.getDOMImplementationList.

A method to request a list of DOM implementations that support the specified features and versions, as specified in .
pack-priv boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

DOMImplementationSourceImplback to summary
public DOMImplementationSourceImpl()

Method Detail

getDOMImplementationback to summary
public DOMImplementation getDOMImplementation(String features)

Implements org.w3c.dom.DOMImplementationSource.getDOMImplementation.

A method to request a DOM implementation.

Parameters
features:String

A string that specifies which features are required. This is a space separated list in which each feature is specified by its name optionally followed by a space and a version number. This is something like: "XML 1.0 Traversal Events 2.0"

Returns:DOMImplementation

An implementation that has the desired features, or null if this source has none.

getDOMImplementationListback to summary
public DOMImplementationList getDOMImplementationList(String features)

Implements org.w3c.dom.DOMImplementationSource.getDOMImplementationList.

A method to request a list of DOM implementations that support the specified features and versions, as specified in .

Parameters
features:String

A string that specifies which features and versions are required. This is a space separated list in which each feature is specified by its name optionally followed by a space and a version number. This is something like: "XML 3.0 Traversal +Events 2.0"

Returns:DOMImplementationList

A list of DOM implementations that support the desired features.

testImplback to summary
pack-priv boolean testImpl(DOMImplementation impl, String features)