public class DTSCatalogURIResolver extends java.lang.Object implements DTSCascadeSchemaURIResolver, org.xml.sax.ext.EntityResolver2
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
catalogsFileName
The Constant catalogsFileName.
|
static java.lang.String |
ns
The Constant ns.
|
static net.sf.saxon.s9api.QName |
rootNode
The Constant rootNode.
|
static java.lang.String |
taxonomyMetadataPropertiesFileName
The Constant taxonomyMetadataPropertiesFileName.
|
static java.lang.String |
taxonomyWizardFileName
The Constant taxonomyWizardFileName.
|
static java.lang.String |
userDefaultTaxonomyDirectory
The Constant userDefaultTaxonomyDirectory.
|
| Constructor and Description |
|---|
DTSCatalogURIResolver(net.sf.saxon.lib.SchemaURIResolver nextResolver)
Creates a CatalogResolver it is responsibility of the parent method to install
the resolver in the chain.
|
DTSCatalogURIResolver(javax.xml.transform.URIResolver nextResolver)
Creates a CatalogResolver it is responsibility of the parent method to install
the resolver in the chain.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addURIMapping(java.net.URI from,
java.net.URI to)
adds a new entry to the Catalog in memory.
|
org.xml.sax.InputSource |
getExternalSubset(java.lang.String name,
java.lang.String baseURI) |
javax.xml.transform.URIResolver |
getNextResolver()
The next resolved in the cascade. null means this is the last 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) |
javax.xml.transform.Source[] |
resolve(java.lang.String targetNamespace,
java.lang.String baseURI,
java.lang.String[] locations) |
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId) |
org.xml.sax.InputSource |
resolveEntity(java.lang.String name,
java.lang.String publicId,
java.lang.String baseURI,
java.lang.String systemId) |
void |
setConfiguration(net.sf.saxon.Configuration config) |
void |
setNextResolver(net.sf.saxon.lib.SchemaURIResolver newNextResolver)
Establish the next SchemaURIResolver.
|
void |
setNextResolver(javax.xml.transform.URIResolver newNextResolver)
Sets the next resolver to the resolver specified in the parameter.
|
public static final java.lang.String catalogsFileName
public static final java.lang.String taxonomyMetadataPropertiesFileName
public static final java.lang.String taxonomyWizardFileName
public static final java.lang.String userDefaultTaxonomyDirectory
public static final java.lang.String ns
public static final net.sf.saxon.s9api.QName rootNode
public DTSCatalogURIResolver(javax.xml.transform.URIResolver nextResolver)
nextResolver - the next resolver, may also implement SchemaURIResolverpublic DTSCatalogURIResolver(net.sf.saxon.lib.SchemaURIResolver nextResolver)
nextResolver - the next resolver, may also implement URIResolverpublic javax.xml.transform.Source resolve(java.lang.String href,
java.lang.String base)
throws javax.xml.transform.TransformerException
resolve in interface javax.xml.transform.URIResolverjavax.xml.transform.TransformerExceptionpublic javax.xml.transform.URIResolver getNextResolver()
DTSCascadeURIResolvergetNextResolver in interface DTSCascadeURIResolverpublic net.sf.saxon.lib.SchemaURIResolver getNextSchemaResolver()
getNextSchemaResolver in interface DTSCascadeSchemaURIResolverpublic 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.SchemaURIResolvernet.sf.saxon.trans.XPathExceptionpublic void setConfiguration(net.sf.saxon.Configuration config)
setConfiguration in interface net.sf.saxon.lib.SchemaURIResolverpublic void addURIMapping(java.net.URI from,
java.net.URI to)
from - URI fromto - URI topublic org.xml.sax.InputSource getExternalSubset(java.lang.String name,
java.lang.String baseURI)
throws org.xml.sax.SAXException,
java.io.IOException
getExternalSubset in interface org.xml.sax.ext.EntityResolver2org.xml.sax.SAXExceptionjava.io.IOExceptionpublic org.xml.sax.InputSource resolveEntity(java.lang.String name,
java.lang.String publicId,
java.lang.String baseURI,
java.lang.String systemId)
throws org.xml.sax.SAXException,
java.io.IOException
resolveEntity in interface org.xml.sax.ext.EntityResolver2org.xml.sax.SAXExceptionjava.io.IOExceptionpublic 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.EntityResolverorg.xml.sax.SAXExceptionjava.io.IOExceptionpublic void setNextResolver(javax.xml.transform.URIResolver newNextResolver)
DTSCascadeURIResolversetNextResolver in interface DTSCascadeURIResolvernewNextResolver - the new next resolverpublic void setNextResolver(net.sf.saxon.lib.SchemaURIResolver newNextResolver)
DTSCascadeSchemaURIResolversetNextResolver in interface DTSCascadeSchemaURIResolvernewNextResolver - the new next resolver