|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.dataloader.target.NullDriver
public class NullDriver
This is a driver that receives events to load xbrl data but does nothing with that data
| Constructor Summary | |
|---|---|
NullDriver()
|
|
| Method Summary | |
|---|---|
XBRLTransformationResult |
createNewResult(net.sf.saxon.s9api.Processor configuration)
Creates a new document container. |
void |
endOfDocument()
Called by the transformation processor to indicate the end of a document processing Usually a document footer is produced. |
java.net.URI |
getConfigFile()
Returns back the URI of the configuration file |
void |
init()
This method is called by the loader just after object has been created and if a configuration file is set (which is an optional step only if configuration file is indicated as a parameter) This method should read the configuration file and set values for constants and things like that. |
void |
processContexts(java.util.Iterator<XBRLContext> contexts)
Called by the transformation processor to provide the contexts for the data that will be found later during the processing of facts the default process updates the content of some variables. or calculates number of columns, rows. |
void |
processFact(java.lang.String identifier,
XBRLFact fact)
Called by the processor to inform about a new fact that requires processing. |
void |
setConfigFile(java.net.URI configFile)
This method is called by the loader when a new loader is just created and for each one of the drivers that exist on the loader configuration file and only if the driver has a parameter indicating the URL of the configuration file Next call is XBRLLoaderInterface.init() |
void |
startOfDocument(XBRLInstance instance)
Called by the transformation processor to indicate the start of a new document. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullDriver()
| Method Detail |
|---|
public XBRLTransformationResult createNewResult(net.sf.saxon.s9api.Processor configuration)
throws FactHandlerException
XBRLLoaderInterfaceXBRLLoaderInterface.startOfDocument(XBRLInstance)
createNewResult in interface XBRLLoaderInterfaceconfiguration - Saxon s9api Processor object
FactHandlerException - if anything goes wrong.public void endOfDocument()
XBRLLoaderInterface
endOfDocument in interface XBRLLoaderInterfacepublic java.net.URI getConfigFile()
XBRLLoaderInterface
getConfigFile in interface XBRLLoaderInterface
public void init()
throws LoaderConfigurationFileException
XBRLLoaderInterfaceXBRLLoaderInterface.createNewResult(Processor)
init in interface XBRLLoaderInterfaceLoaderConfigurationFileExceptionpublic void processContexts(java.util.Iterator<XBRLContext> contexts)
XBRLLoaderInterfaceXBRLLoaderInterface.processFact(String, XBRLFact) for facts that passes
the filters established by the loader engine and are the true loading events.
processContexts in interface XBRLLoaderInterfacecontexts - Iterator<XBRLContext>
public void processFact(java.lang.String identifier,
XBRLFact fact)
throws FactHandlerException
XBRLLoaderInterfaceXBRLLoaderInterface.endOfDocument() when the instance document is finished and no more
events needs to be generated
processFact in interface XBRLLoaderInterfaceidentifier - as String which is the identifier code in the loader configuration file.fact - XBRLFact the loaded fact
FactHandlerException - if something goes wrong.public void setConfigFile(java.net.URI configFile)
XBRLLoaderInterfaceXBRLLoaderInterface.init()
setConfigFile in interface XBRLLoaderInterface
public void startOfDocument(XBRLInstance instance)
throws FactHandlerException
XBRLLoaderInterfaceXBRLLoaderInterface.processContexts(Iterator)
startOfDocument in interface XBRLLoaderInterfaceFactHandlerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||