Top Description Methods
org.apache.xerces.xs

public Interface XSImplementation

Known Direct Implementers
org.apache.xerces.impl.xs.XSImplementationImpl
Imports
org.w3c.dom.ls.LSInput

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

Method Summary

Modifier and TypeMethod and Description
public LSInputList

Returns:

an immutable LSInputList from the given array of LSInputs.
createLSInputList
(LSInput[]
the array containing the LSInput values that will be placed in the list.
values
)

Creates an immutable LSInputList from the given array of LSInputs.

public StringList

Returns:

an immutable StringList from the given array of Strings.
createStringList
(String[]
the array containing the String values that will be placed in the list.
values
)

Creates an immutable StringList from the given array of Strings.

public XSLoader

Returns:

An XML Schema loader.
createXSLoader
(StringList
A list containing the versions of XML Schema documents which can be loaded by the XSLoader or null to permit XML Schema documents of any recognized version to be loaded by the XSLoader.
versions
)

Creates a new XSLoader.

public StringList
getRecognizedVersions()

A list containing the versions of XML Schema documents recognized by this XSImplemenation.

Method Detail

createLSInputListback to summary
public LSInputList createLSInputList(LSInput[] values)

Creates an immutable LSInputList from the given array of LSInputs.

Parameters
values:LSInput[]

the array containing the LSInput values that will be placed in the list.

Returns:LSInputList

an immutable LSInputList from the given array of LSInputs.

createStringListback to summary
public StringList createStringList(String[] values)

Creates an immutable StringList from the given array of Strings.

Parameters
values:String[]

the array containing the String values that will be placed in the list.

Returns:StringList

an immutable StringList from the given array of Strings.

createXSLoaderback to summary
public XSLoader createXSLoader(StringList versions) throws XSException

Creates a new XSLoader. The newly constructed loader may then be configured and used to load XML Schemas.

Parameters
versions:StringList

A list containing the versions of XML Schema documents which can be loaded by the XSLoader or null to permit XML Schema documents of any recognized version to be loaded by the XSLoader.

Returns:XSLoader

An XML Schema loader.

Exceptions
XSException:
NOT_SUPPORTED_ERR: Raised if the implementation does not support one of the specified versions.
getRecognizedVersionsback to summary
public StringList getRecognizedVersions()

A list containing the versions of XML Schema documents recognized by this XSImplemenation.