org.apache.xerces.dom

Class DOMXSImplementationSourceImpl

Implemented Interfaces:
org.w3c.dom.DOMImplementationSource

public class DOMXSImplementationSourceImpl
extends DOMImplementationSourceImpl

Allows to retrieve XSImplementation, DOM Level 3 Core and LS implementations and PSVI implementation.

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

Version:
$Id: DOMXSImplementationSourceImpl.java 320295 2005-05-02 22:02:22Z mrglavas $
Author:
Elena Litani, IBM

Method Summary

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

Methods inherited from class org.apache.xerces.dom.DOMImplementationSourceImpl

getDOMImplementation, getDOMImplementationList

Method Details

getDOMImplementation

public org.w3c.dom.DOMImplementation getDOMImplementation(String features)
A method to request a DOM implementation.
Specified by:
getDOMImplementation in interface org.w3c.dom.DOMImplementationSource
Overrides:
getDOMImplementation in interface DOMImplementationSourceImpl
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 org.w3c.dom.DOMImplementationList getDOMImplementationList(String features)
A method to request a list of DOM implementations that support the specified features and versions, as specified in .
Specified by:
getDOMImplementationList in interface org.w3c.dom.DOMImplementationSource
Overrides:
getDOMImplementationList in interface DOMImplementationSourceImpl
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-2006 The Apache Software Foundation. All Rights Reserved.