Interface XSImplementation
-
- All Known Implementing Classes:
XSImplementationImpl
public interface XSImplementationThis interface allows one to retrieve an instance ofXSLoader. This interface should be implemented on the same object that implements DOMImplementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LSInputListcreateLSInputList(LSInput[] values)Creates an immutableLSInputListfrom the given array ofLSInputs.StringListcreateStringList(String[] values)Creates an immutableStringListfrom the given array ofStrings.XSLoadercreateXSLoader(StringList versions)Creates a new XSLoader.StringListgetRecognizedVersions()A list containing the versions of XML Schema documents recognized by thisXSImplemenation.
-
-
-
Method Detail
-
getRecognizedVersions
StringList getRecognizedVersions()
A list containing the versions of XML Schema documents recognized by thisXSImplemenation.
-
createXSLoader
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- A list containing the versions of XML Schema documents which can be loaded by theXSLoaderornullto 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
StringList createStringList(String[] values)
Creates an immutableStringListfrom the given array ofStrings.- Parameters:
values- the array containing theStringvalues that will be placed in the list.- Returns:
- an immutable
StringListfrom the given array ofStrings.
-
createLSInputList
LSInputList createLSInputList(LSInput[] values)
Creates an immutableLSInputListfrom the given array ofLSInputs.- Parameters:
values- the array containing theLSInputvalues that will be placed in the list.- Returns:
- an immutable
LSInputListfrom the given array ofLSInputs.
-
-