org.apache.xerces.impl.xs

Class XSImplementationImpl

public class XSImplementationImpl extends CoreDOMImplementationImpl implements XSImplementation

Implements XSImplementation interface that allows one to retrieve an instance of XSLoader. This interface should be implemented on the same object that implements DOMImplementation.

INTERNAL:

Usage of this class is not supported. It may be altered or removed at any time.

Version: $Id: XSImplementationImpl.java,v 1.6 2004/12/08 22:49:05 mrglavas Exp $

Author: Elena Litani, IBM

Method Summary
XSLoadercreateXSLoader(StringList versions)
static DOMImplementationgetDOMImplementation()
NON-DOM: Obtain and return the single shared object
StringListgetRecognizedVersions()
booleanhasFeature(String feature, String version)
Test if the DOM implementation supports a specific "feature" -- currently meaning language and level thereof.

Method Detail

createXSLoader

public XSLoader createXSLoader(StringList versions)

getDOMImplementation

public static DOMImplementation getDOMImplementation()
NON-DOM: Obtain and return the single shared object

getRecognizedVersions

public StringList getRecognizedVersions()

hasFeature

public boolean hasFeature(String feature, String version)
Test if the DOM implementation supports a specific "feature" -- currently meaning language and level thereof.

Parameters: feature The package name of the feature to test. In Level 1, supported values are "HTML" and "XML" (case-insensitive). At this writing, org.apache.xerces.dom supports only XML. version The version number of the feature being tested. This is interpreted as "Version of the DOM API supported for the specified Feature", and in Level 1 should be "1.0"

Returns: true iff this implementation is compatable with the specified feature and version.

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