|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.om.DTSCatalogURIResolver
public class DTSCatalogURIResolver
This is a wrapper class to a CatalogResolver. Resolvers are nested in a chain so the constructor allows a parameter of the next catalog in sequence. If this resolver is unable to resolve it continues with the next resolver.
| Field Summary | |
|---|---|
static java.lang.String |
catalogsFileName
|
static java.lang.String |
taxonomyMetadataPropertiesFileName
|
static java.lang.String |
taxonomyWizardFileName
|
static java.lang.String |
userDefaultTaxonomyDirectory
|
| Constructor Summary | |
|---|---|
DTSCatalogURIResolver(net.sf.saxon.type.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. |
|
| Method Summary | |
|---|---|
static java.lang.String |
getCatalogPath()
Calculates all possible path locations where the XBRLCatalogFile may be located |
static java.lang.String |
getEnvCatalogPath()
If there is a value set for the XBRLCATALOGPATH variable, this method returns the path indicated by the user in a system variable called XBRLCATALOGPATH concatenated with the name of the XBRL catalog file. |
javax.xml.transform.URIResolver |
getNextResolver()
The next resolved in the cascade. null means this is the last resolver |
net.sf.saxon.type.SchemaURIResolver |
getNextSchemaResolver()
|
static java.lang.String |
getUserDefaultTaxonomyPath()
The processor has a property called XBRL_BASE. that property can be set by the user during initialization of the processor. |
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)
|
void |
setConfiguration(net.sf.saxon.Configuration config)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public DTSCatalogURIResolver(javax.xml.transform.URIResolver nextResolver)
nextResolver - public DTSCatalogURIResolver(net.sf.saxon.type.SchemaURIResolver nextResolver)
nextResolver - | Method Detail |
|---|
public static java.lang.String getCatalogPath()
public static java.lang.String getEnvCatalogPath()
public static java.lang.String getUserDefaultTaxonomyPath()
If exist, the returned value is ${XBRLCATALOGPATH}/Other
If it does not exist, the returned value is the path where the executable is running (user.dir)
public 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()
DTSCascadeURIResolver
getNextResolver in interface DTSCascadeURIResolverpublic net.sf.saxon.type.SchemaURIResolver getNextSchemaResolver()
public 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.type.SchemaURIResolvernet.sf.saxon.trans.XPathExceptionpublic void setConfiguration(net.sf.saxon.Configuration config)
setConfiguration in interface net.sf.saxon.type.SchemaURIResolver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||