Package | Description |
---|---|
com.ihr.xbrl.dataloader |
Provides the classes necessary to load data from an instance document to any possible data target.
|
com.ihr.xbrl.mapper |
Provides the classes necessary access to content in whatever format and create an XBRL Instance document
This package contains the MapEngine and Mappers that uses a configuration file with an Instance
template.
|
com.ihr.xbrl.mapper.instance | |
com.ihr.xbrl.mapper.source |
Provides implementations of drivers to obtain data from multiple sources in order to create an XBRL Instance
Some of the drivers collects data from a web form or from an excel file.
|
com.ihr.xbrl.mapper.source.worksheet |
This package contains the root class for the mapper XBRL drivers that obtains information from
spreadsheets, Excel and Google sheets are currently implemented.
|
Modifier and Type | Method and Description |
---|---|
static void |
LoaderEngine.createLoaderFromMapper(java.lang.String mapperTemplateFile,
java.lang.String loaderTemplateFile,
java.lang.String transformerConfigFile,
java.lang.String driverClassName,
java.lang.String driverConfFile)
Creates the loader from mapper.
|
static Loader |
Loader.createMasterLoader(java.lang.String transformerConfigFile,
java.lang.String className,
java.lang.String configFile,
Mapper m)
Creates the master loader.
|
Modifier and Type | Method and Description |
---|---|
void |
HasMapperFacts.addFact(MapperFact newFact)
Adds a new Fact to the end of the Facts container.
|
void |
MapperBase.addFact(MapperFact newMapperFact)
Adds the fact.
|
void |
HasMapperFacts.addFactAt(MapperFact newFact,
int pos)
Adds a new Fact at the position indicated by pos.
|
void |
MapperBase.addFactAt(MapperFact newMapperFact,
int pos)
Adds the fact at.
|
java.util.List<java.util.List<java.lang.String>> |
MapperBase.checkDuplicates()
Verifies the content of the mapper file and explore possible duplicate
mappings (same concept for the same context and unit mapped more
than once) If this happens the mapper has to make an election during
the instance document generation time.
|
static MapperFileSaveInterface |
Mapper.createConfigFile(XBRLInstance instance,
java.net.URI config,
java.net.URI configConfUri,
java.lang.String scheme,
java.lang.String company,
java.util.ArrayList<Mapper.PeriodMapping> mappingPeriods,
XBRLDataSource dataSource)
This function generates a sample configuration file for a given DTS.
|
java.lang.String |
MapperBase.getKeyForSource(XBRLDataSource source)
Returns the key used for this XBRLDataSource.
|
Mapper |
MapEngine.getMasterMapper()
Access to the master mapper.
|
Mapper |
MapEngine.getMasterMapper(DTSLoadingBarInterface bar)
Access to the master mapper.
|
XBRLDataSource |
DataSourceDef.getSource()
Gets the source.
|
XBRLDataSource |
MapperBase.getSourceForKey(java.lang.String key)
Returns the XBRLDataSource object associated with the specified key.
|
XBRLDataSource |
MapperFileSaveInterface.getSourceForKey(java.lang.String key)
Returns the XBRLDataSource for the key passed in as parameter.
|
void |
HasMapperFacts.registerFact(MapperFact fact)
Registers a new fact has been added to the container.
|
void |
Mapper.save()
Stores the content of this configuration file on disk using the uriOfConfigFile.
|
void |
Mapper.save(DTSLoadingBarInterface bar)
Stores the content of this configuration file on disk using
the uriOfConfigFile.
|
Constructor and Description |
---|
MapEngine(java.net.URI configFile)
Creates a mapping engine.
|
MapEngine(java.net.URI configFile,
int initialMappers)
Creates a mapping engine.
|
MapEngine(java.net.URI configFile,
int initialMappers,
DTSLoadingBarInterface bar,
boolean bCreateMasterMapper)
Creates a mapping engine.
|
MapEngine(java.net.URI configFile,
int initialMappers,
DTSLoadingBarInterface bar,
boolean bCreateMasterMapper,
java.util.Properties dtsProperties)
Creates a mapping engine.
|
Mapper(java.net.URI configFile,
DTSLoadingBarInterface bar)
Creates a mapping engine object.
|
Mapper(java.net.URI configFile,
DTSLoadingBarInterface bar,
java.util.Properties dtsProperties)
Creates a mapping engine object.
|
Modifier and Type | Method and Description |
---|---|
void |
MapperFacts.addFact(MapperFact newMapperFact)
Adds a MapperFact node.
|
void |
MapperFact.addFact(MapperFact newFact) |
void |
MapperFact.addFactArray(MapperFact[] newFacts)
Adds a set of new facts to the end of this group fact.
|
void |
MapperFacts.addFactAt(MapperFact newMapperFact,
int pos)
Adds a MapperFact node at the given pos.
|
void |
MapperFact.addFactAt(MapperFact newFact,
int pos) |
java.lang.String |
MapperDataSources.getKeyForSource(XBRLDataSource ds)
Gets de source key associated from the XBRLDataSource specified.
|
java.lang.String |
MapperDoc.getKeyForSource(XBRLDataSource ds)
Gets de source key associated from the XBRLDataSource specified.
|
XBRLDataSource |
MapperSource.getSource()
Gets de XBRLDataSource.
|
XBRLDataSource |
MapperDataSources.getSourceForKey(java.lang.String key)
Get the XBRLDataSource from the source key specified or null if not found.
|
XBRLDataSource |
MapperDoc.getSourceForKey(java.lang.String key)
Get the XBRLDataSource from the source key specified or null if not found.
|
MapperFact |
MapperFacts.processAddNodeFact(ClsDataForNewNode c,
java.util.Map<java.lang.String,java.lang.String> contextMap,
java.util.Map<java.lang.String,java.lang.String> unitMap)
Process add node fact.
|
void |
MapperFacts.recursiveReadFacts(net.sf.saxon.s9api.XdmValue lstFacts,
java.util.List<MapperFact> facts,
HasMapperFacts mapperParent,
java.util.List<ClsDataForNewNode> vDuplicateIdentifierNodes,
java.util.Map<java.lang.String,java.lang.String> contextMap,
java.util.Map<java.lang.String,java.lang.String> unitMap)
Recursive read facts.
|
void |
MapperFacts.registerFact(MapperFact mapperFact) |
void |
MapperFact.registerFact(MapperFact fact) |
void |
MapperFact.setSource(XBRLDataSource source)
Sets the XBRLDataSource.
|
Modifier and Type | Method and Description |
---|---|
void |
XBRLFileDataSource.init() |
void |
XBRLDataSource.init()
Called by the mapping engine once the object is created.
|
void |
SQLDataSource.init() |
void |
CSVDataSource.init() |
void |
WebFormDataSource.init() |
void |
VoidDataSource.init() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractWorksheetDataSource.init() |
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa