public interface XSImplementation
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 TypeMethodDescriptioncreateLSInputList
(LSInput[] values) Creates an immutableLSInputList
from the given array ofLSInput
s.createStringList
(String[] values) Creates an immutableStringList
from the given array ofString
s.createXSLoader
(StringList versions) Creates a new XSLoader.A list containing the versions of XML Schema documents recognized by thisXSImplemenation
.
-
Method Details
-
getRecognizedVersions
StringList getRecognizedVersions()A list containing the versions of XML Schema documents recognized by thisXSImplemenation
. -
createXSLoader
Creates a new XSLoader. The newly constructed loader may then be configured and used to load XML Schemas.- Parameters:
versions
- A list containing the versions of XML Schema documents which can be loaded by theXSLoader
ornull
to permit XML Schema documents of any recognized version to be loaded by the XSLoader.- Returns:
- An XML Schema loader.
- Throws:
XSException
- NOT_SUPPORTED_ERR: Raised if the implementation does not support one of the specified versions.
-
createStringList
Creates an immutableStringList
from the given array ofString
s.- Parameters:
values
- the array containing theString
values that will be placed in the list.- Returns:
- an immutable
StringList
from the given array ofString
s.
-
createLSInputList
Creates an immutableLSInputList
from the given array ofLSInput
s.- Parameters:
values
- the array containing theLSInput
values that will be placed in the list.- Returns:
- an immutable
LSInputList
from the given array ofLSInput
s.
-