com.ihr.xbrl.transform.target
Class XBRLReportHandler
java.lang.Object
com.ihr.xbrl.transform.target.XBRLReportHandler
- All Implemented Interfaces:
- DefaultUnitProviderInterface, LangsProvider, NegatedSupport, HasBoySupport, XBRLReportHandlerInterface
- Direct Known Subclasses:
- HTMLReportHandler
public abstract class XBRLReportHandler
- extends java.lang.Object
- implements XBRLReportHandlerInterface, LangsProvider, HasBoySupport, NegatedSupport, DefaultUnitProviderInterface
This is a class with methods providing functions to create a result container
the container must be able to:
- create new empty documents, and
- provide navigation capabilites to return the points in which new information will
be inserted
- Author:
- Ignacio
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XBRLReportHandler
public XBRLReportHandler(TransformProcessor tp)
getTransformer
public TransformProcessor getTransformer()
setConfigFile
public abstract void setConfigFile(java.net.URI configFile)
- Specified by:
setConfigFile in interface XBRLReportHandlerInterface
init
public abstract void init()
throws DataTargetConfigurationFileException
- Specified by:
init in interface XBRLReportHandlerInterface
- Throws:
DataTargetConfigurationFileException
createNewResult
public abstract XBRLTransformationResult createNewResult(net.sf.saxon.s9api.Processor proc)
- Description copied from interface:
XBRLReportHandlerInterface
- Creates a new document container
- Specified by:
createNewResult in interface XBRLReportHandlerInterface
- Parameters:
proc - the Saxonica Processor instance
- Returns:
- XBRLTransformationResult
startOfDocument
public void startOfDocument(XBRLInstance instance)
throws FactHandlerException
- Description copied from interface:
XBRLReportHandlerInterface
- Called by the transformation processor to indicate the start of a new document.
Usually a document header is produced.
- Specified by:
startOfDocument in interface XBRLReportHandlerInterface
- Throws:
FactHandlerException
processContexts
public void processContexts(java.util.Iterator<XBRLContext> contexts)
- Description copied from interface:
XBRLReportHandlerInterface
- 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
- Specified by:
processContexts in interface XBRLReportHandlerInterface
- Parameters:
contexts - Iterator
endOfDocument
public void endOfDocument()
- Description copied from interface:
XBRLReportHandlerInterface
- Called by the transformation processor to indicate the end of a document processing
Usually a document footer is produced
- Specified by:
endOfDocument in interface XBRLReportHandlerInterface
Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa