|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.dataloader.LoaderEngine
public class LoaderEngine
| Field Summary | |
|---|---|
static java.lang.String |
loaderSchemaURI
|
| Constructor Summary | |
|---|---|
LoaderEngine(java.net.URI configFile)
Creates a loader engine and loads the configuration file for this engine |
|
| Method Summary | |
|---|---|
java.util.Iterator<DTSContainer> |
getDTSs()
Returns an iterator over all DTSs loaded in this engine |
Loader |
getLoader(DTSContainer dts)
Returns a loader from the engine. |
Loader |
getMasterLoader(DTSContainer dts)
Access to the master loader. |
java.lang.Object[] |
load(javax.xml.transform.Source xmlSource)
Executes the mapping defined in the configuration file. |
java.lang.Object[] |
load(XBRLInstance instance,
DTSContainer dts)
Executes the mapping defined in the configuration file. |
void |
migrateConfigFile(XBRLInstance versioningReport,
java.net.URI outputReportUri,
java.net.URI newConfigFileUri)
Migrates a configuration file from using a DTS to using a new DTS with information from an XBRL versioning report. |
void |
releaseLoader(Loader l,
DTSContainer dts)
Liberates a loader so it can be used by other threads. |
void |
setURI(java.net.URI newURI)
Changes or sets this URI new config file |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String loaderSchemaURI
| Constructor Detail |
|---|
public LoaderEngine(java.net.URI configFile)
throws TransformConfigurationFileException,
com.rs.lic.LicenseVerificationException
configFile -
TransformConfigurationFileException
com.rs.lic.LicenseVerificationException| Method Detail |
|---|
public java.util.Iterator<DTSContainer> getDTSs()
public Loader getLoader(DTSContainer dts)
throws LoaderException
dts -
LoaderException
public Loader getMasterLoader(DTSContainer dts)
throws LoaderException
dts -
LoaderException
public void releaseLoader(Loader l,
DTSContainer dts)
throws LoaderException
dts -
LoaderExceptionpublic void setURI(java.net.URI newURI)
newURI - URI
public java.lang.Object[] load(XBRLInstance instance,
DTSContainer dts)
throws LoaderException
instance - document input to be sent. No DTS Checking is performeddts - is the DTS of this loader that is compatible with the instance DTS container.
LoaderException
public java.lang.Object[] load(javax.xml.transform.Source xmlSource)
throws LoaderException
xmlSource - input source of the instance document
LoaderException
public void migrateConfigFile(XBRLInstance versioningReport,
java.net.URI outputReportUri,
java.net.URI newConfigFileUri)
throws LoaderException
versioningReport - XBRLInstance the versioning report describing the changes between the two DTSsoutputReportUri - where the report about the migration process will be serailizednewConfigFileUri - the URI for the new configuration file
MapException - if there is something wrong.
LoaderException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||