|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.saxonica.sdoc.LSSchemaResolver
public class LSSchemaResolver
This class is a SchemaURIResolver implemented as a wrapper around a JAXP LSResourceResolver
Constructor Summary | |
---|---|
LSSchemaResolver(org.w3c.dom.ls.LSResourceResolver resolver,
Configuration config)
|
Method Summary | |
---|---|
javax.xml.transform.Source[] |
resolve(java.lang.String targetNamespace,
java.lang.String baseURI,
java.lang.String[] locations)
Resolve a URI identifying a schema document, given the target namespace URI and a set of associated location hints. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LSSchemaResolver(org.w3c.dom.ls.LSResourceResolver resolver, Configuration config)
Method Detail |
---|
public javax.xml.transform.Source[] resolve(java.lang.String targetNamespace, java.lang.String baseURI, java.lang.String[] locations) throws XPathException
resolve
in interface SchemaURIResolver
targetNamespace
- the target namespaces of the module to be imported. The "null namesapce"
is identified by a zero-length string. In the case of an xsd:include directive, where no
target namespace is specified, the parameter is null.baseURI
- The base URI of the module containing the "import schema" declaration;
null if no base URI is knownlocations
- The set of URIs identified as schema location hints. In most cases (xsd:include, xsd:import,
xsi:schemaLocation, xsl:import-schema) there is only one URI in this list. With an XQuery "import module"
declaration, however, a list of URIs may be specified.
XPathException
- if the module cannot be located, and if delegation to the default
module resolver is not required.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |