public class LocalResourceURIResolver extends java.lang.Object implements DTSCascadeSchemaURIResolver, org.xml.sax.EntityResolver
| Constructor and Description |
|---|
LocalResourceURIResolver(net.sf.saxon.lib.SchemaURIResolver nextResolver)
Instantiates a new local resource URI resolver.
|
LocalResourceURIResolver(javax.xml.transform.URIResolver nextResolver)
Instantiates a new local resource URI resolver.
|
| Modifier and Type | Method and Description |
|---|---|
void |
endDTSDiscovery()
End DTS discovery.
|
javax.xml.transform.URIResolver |
getNextResolver()
Gets the next resolver.
|
net.sf.saxon.lib.SchemaURIResolver |
getNextSchemaResolver()
Gets the next schema resolver.
|
javax.xml.transform.Source |
resolve(java.lang.String href,
java.lang.String base)
Resolve.
|
javax.xml.transform.Source[] |
resolve(java.lang.String targetNamespace,
java.lang.String baseURI,
java.lang.String[] locations)
Resolve.
|
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
Resolve entity.
|
void |
setConfiguration(net.sf.saxon.Configuration config)
Sets the configuration.
|
void |
setNextResolver(net.sf.saxon.lib.SchemaURIResolver newNextResolver)
Sets the next resolver.
|
void |
setNextResolver(javax.xml.transform.URIResolver newNextResolver)
Sets the next resolver.
|
void |
startDTSDiscovery()
Start DTS discovery.
|
public LocalResourceURIResolver(javax.xml.transform.URIResolver nextResolver)
nextResolver - the next resolverpublic LocalResourceURIResolver(net.sf.saxon.lib.SchemaURIResolver nextResolver)
nextResolver - the next resolverpublic javax.xml.transform.Source resolve(java.lang.String href,
java.lang.String base)
throws javax.xml.transform.TransformerException
resolve in interface javax.xml.transform.URIResolverhref - the hrefbase - the basejavax.xml.transform.TransformerException - the transformer exceptionpublic javax.xml.transform.Source[] resolve(java.lang.String targetNamespace,
java.lang.String baseURI,
java.lang.String[] locations)
throws net.sf.saxon.trans.XPathException
resolve in interface net.sf.saxon.lib.SchemaURIResolvertargetNamespace - the target namespacebaseURI - the base URIlocations - the locationsnet.sf.saxon.trans.XPathException - the x path exceptionpublic org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
java.lang.String systemId)
throws org.xml.sax.SAXException,
java.io.IOException
resolveEntity in interface org.xml.sax.EntityResolverpublicId - the public idsystemId - the system idorg.xml.sax.SAXException - the SAX exceptionjava.io.IOException - Signals that an I/O exception has occurred.public void setConfiguration(net.sf.saxon.Configuration config)
setConfiguration in interface net.sf.saxon.lib.SchemaURIResolverconfig - the new configurationpublic javax.xml.transform.URIResolver getNextResolver()
getNextResolver in interface DTSCascadeURIResolverpublic void setNextResolver(javax.xml.transform.URIResolver newNextResolver)
setNextResolver in interface DTSCascadeURIResolvernewNextResolver - the new next resolverpublic void setNextResolver(net.sf.saxon.lib.SchemaURIResolver newNextResolver)
setNextResolver in interface DTSCascadeSchemaURIResolvernewNextResolver - the new next resolverpublic net.sf.saxon.lib.SchemaURIResolver getNextSchemaResolver()
getNextSchemaResolver in interface DTSCascadeSchemaURIResolverpublic void startDTSDiscovery()
startDTSDiscovery in interface DTSCascadeURIResolverpublic void endDTSDiscovery()
endDTSDiscovery in interface DTSCascadeURIResolverCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa