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.URIResolver
href
- 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.SchemaURIResolver
targetNamespace
- 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.EntityResolver
publicId
- 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.SchemaURIResolver
config
- the new configurationpublic javax.xml.transform.URIResolver getNextResolver()
getNextResolver
in interface DTSCascadeURIResolver
public void setNextResolver(javax.xml.transform.URIResolver newNextResolver)
setNextResolver
in interface DTSCascadeURIResolver
newNextResolver
- the new next resolverpublic void setNextResolver(net.sf.saxon.lib.SchemaURIResolver newNextResolver)
setNextResolver
in interface DTSCascadeSchemaURIResolver
newNextResolver
- the new next resolverpublic net.sf.saxon.lib.SchemaURIResolver getNextSchemaResolver()
getNextSchemaResolver
in interface DTSCascadeSchemaURIResolver
public void startDTSDiscovery()
startDTSDiscovery
in interface DTSCascadeURIResolver
public void endDTSDiscovery()
endDTSDiscovery
in interface DTSCascadeURIResolver
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa