com.ihr.xbrl.versioning
Class VersioningSchemasResolver

java.lang.Object
  extended by com.ihr.xbrl.versioning.VersioningSchemasResolver
All Implemented Interfaces:
java.io.Serializable, net.sf.saxon.lib.SchemaURIResolver

public class VersioningSchemasResolver
extends java.lang.Object
implements net.sf.saxon.lib.SchemaURIResolver

Resolves schemas regarding the versioning reports. Encapsulates the schemas for versioning reports in this class

Author:
Ignacio
See Also:
Serialized Form

Field Summary
static java.lang.String versioningConfSuiteNS
           
 
Constructor Summary
VersioningSchemasResolver(java.lang.String versioningSchemaUri, java.lang.String versioningConfSuiteSchemaUri)
          Creates a new VersioningSchemasResolver.
 
Method Summary
 void loadSchemas(com.saxonica.config.EnterpriseConfiguration conf)
           
 javax.xml.transform.Source[] resolve(java.lang.String targetNamespace, java.lang.String baseURI, java.lang.String[] locations)
           
 void setConfiguration(net.sf.saxon.Configuration arg0)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versioningConfSuiteNS

public static final java.lang.String versioningConfSuiteNS
See Also:
Constant Field Values
Constructor Detail

VersioningSchemasResolver

public VersioningSchemasResolver(java.lang.String versioningSchemaUri,
                                 java.lang.String versioningConfSuiteSchemaUri)
Creates a new VersioningSchemasResolver. The parameters can be null, in that case the local copies are used.

Parameters:
versioningSchemaUri - String uri for the schema of the conformance suite. Can be null.
versioningConfSuiteSchemaUri - String uri of the schema for the versioning taxonomy. Can be null.
Method Detail

loadSchemas

public void loadSchemas(com.saxonica.config.EnterpriseConfiguration conf)
                 throws net.sf.saxon.type.SchemaException
Throws:
net.sf.saxon.type.SchemaException

resolve

public javax.xml.transform.Source[] resolve(java.lang.String targetNamespace,
                                            java.lang.String baseURI,
                                            java.lang.String[] locations)
                                     throws net.sf.saxon.trans.XPathException
Specified by:
resolve in interface net.sf.saxon.lib.SchemaURIResolver
Throws:
net.sf.saxon.trans.XPathException

setConfiguration

public void setConfiguration(net.sf.saxon.Configuration arg0)
Specified by:
setConfiguration in interface net.sf.saxon.lib.SchemaURIResolver


Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa