public class Loader
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | loaderSchemaURIThe loader schema uri. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | addFilter(XBRLFacetFilter filter,
         java.lang.String identifier,
         java.lang.String driverRef)Programatically add a new filter to this loader. | 
| static Loader | createMasterLoader(java.lang.String transformerConfigFile,
                  java.lang.String className,
                  java.lang.String configFile,
                  Mapper m)Creates the master loader. | 
| XBRLLoaderInterface | getDriverForKey(java.lang.String key)Returns the target associated to this key. | 
| java.lang.String | getDriverKeyForFilter(XBRLFacetFilter filter)Returns the key for a specified filter. | 
| java.util.Set<java.lang.String> | getDriverKeys()Return the set of keys for event targets on this loader. | 
| XBRLFacetFilter | getEventForKey(java.lang.String key)Returns the filter associated to this key. | 
| java.util.Set<java.lang.String> | getEventKeys()Return the set of keys for event generators for this loader. | 
| java.util.Collection<XBRLFacetFilter> | getEventsForConcept(javax.xml.namespace.QName conceptQName)Return a Collection of XBRLFacetFilter in which this concept's QName is involved or null if there is none . | 
| java.lang.String | getNewIdentifierKey()Creates a new identifier that can be used to identify an event. | 
| java.lang.Object[] | load(XBRLInstance instance,
    LoaderContext lc)Process the content of an instance document. | 
| void | migrateConfigFile(XBRLInstance versioningReport,
                 java.net.URI outputReportUri,
                 java.net.URI newConfigFileUri)Migrate config file. | 
| void | removeFilter(java.lang.String identifier)Remove a filter from the loader. | 
| void | setDriverForKey(java.lang.String key,
               XBRLLoaderInterface driver)Sets the driver for key. | 
| void | setURI(java.net.URI newURI)Changes or sets the URI of the configuration file. | 
| void | writeConfigFile(DTSContainer dts)Write config file. | 
public java.lang.String getNewIdentifierKey()
public void setURI(java.net.URI newURI)
newURI - URIpublic void writeConfigFile(DTSContainer dts) throws LoaderException
dts - the dtsLoaderException - the loader exceptionpublic java.lang.Object[] load(XBRLInstance instance, LoaderContext lc) throws LoaderException
instance - the instancelc - the lcLoaderException - the loader exceptionpublic java.util.Set<java.lang.String> getEventKeys()
public java.util.Set<java.lang.String> getDriverKeys()
public XBRLFacetFilter getEventForKey(java.lang.String key)
key - Stringpublic XBRLLoaderInterface getDriverForKey(java.lang.String key)
key - Stringpublic void setDriverForKey(java.lang.String key,
                            XBRLLoaderInterface driver)
key - the keydriver - the driverpublic void migrateConfigFile(XBRLInstance versioningReport, java.net.URI outputReportUri, java.net.URI newConfigFileUri)
versioningReport - the versioning reportoutputReportUri - the output report urinewConfigFileUri - the new config file uripublic java.util.Collection<XBRLFacetFilter> getEventsForConcept(javax.xml.namespace.QName conceptQName)
conceptQName - as a QNamepublic java.lang.String addFilter(XBRLFacetFilter filter, java.lang.String identifier, java.lang.String driverRef)
filter - the filteridentifier - String if null a new identifier is created if not null it MUST not exist.driverRef - the driver refpublic void removeFilter(java.lang.String identifier)
identifier - the identifierpublic java.lang.String getDriverKeyForFilter(XBRLFacetFilter filter)
filter - the XBRLFacetFilterpublic static Loader createMasterLoader(java.lang.String transformerConfigFile, java.lang.String className, java.lang.String configFile, Mapper m) throws MapConfigurationFileException
transformerConfigFile - the transformer config fileclassName - the class nameconfigFile - the config filem - the mMapConfigurationFileException - the map configuration file exceptionCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa