org.apache.xerces.dom

Class DOMImplementationSourceImpl

Implemented Interfaces:
DOMImplementationSource
Known Direct Subclasses:
DOMXSImplementationSourceImpl

public class DOMImplementationSourceImpl
extends java.lang.Object
implements 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,v 1.17 2005/05/02 22:02:22 mrglavas Exp $

Method Summary

DOMImplementation
getDOMImplementation(String features)
A method to request a DOM implementation.
DOMImplementationList
getDOMImplementationList(String features)
A method to request a list of DOM implementations that support the specified features and versions, as specified in .

Method Details

getDOMImplementation

public DOMImplementation getDOMImplementation(String features)
A method to request a DOM implementation.
Parameters:
features - 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:
An implementation that has the desired features, or null if this source has none.

getDOMImplementationList

public DOMImplementationList getDOMImplementationList(String features)
A method to request a list of DOM implementations that support the specified features and versions, as specified in .
Parameters:
features - 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:
A list of DOM implementations that support the desired features.

Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.