public class ExcelDataSource extends AbstractWorksheetDataSource
| Constructor and Description |
|---|
ExcelDataSource() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getSampleData(java.lang.Object data)
This method is used by the mapper editor during test cycles of the mapper
The implemented class should use the incoming data to produce an object that
the mapper can use later to produce an instance document .
|
SheetPointFactory |
getSheetPointFactory()
Gets the sheet point factory.
|
net.sf.saxon.value.AtomicValue |
getValue(java.lang.String mapIdentifier,
int index,
XBRLContext context,
net.sf.saxon.type.SimpleType type)
Each data item has mapIdentifier string each used concept in the taxonomy
has at least one mapIdentifier
returns the Value to be sent to the fact item. null is allowed and will
be considered as no input data available
|
void |
startOfDocument(XBRLInstance instance,
java.lang.Object[] inputs,
DTSLoadingBarInterface bar)
Called by the MapEngine when a new instance that requires this data source is
going to be created.
|
addMap, addOrModifyRound, addRuleMap, createConfigFileContent, createOrGetRoundIdentifier, deleteRegion, delRound, delRuleMap, endOfDocument, endOfFact, getCells, getConfigFile, getContext, getDefaultZeroValuePolicyType, getExactMode, getExactModeValue, getFootnote, getFootnoteCellAndLang, getFootnoteLang, getFormat, getFormatValue, getHistoricalMessage, getMapId, getMapIdentifierReferences, getMapIterator, getMapSheetPoint, getMethod, getMethod, getMult, getMult, getNumberOfValues, getRound, getRoundingIdentifiers, getRoundMode, getRuleCells, getSourceReference, getUnit, getZeroValuePolicy, init, isConfigfileRequired, isInputFileRequired, isMapIdentifierInUse, isNil, isTupleSourceRequired, moveRegion, removeMap, save, setConfigFile, setDefaultRounding, setDefaultZeroValuePolicyType, startOfFact, verifyRuleequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCodepublic void startOfDocument(XBRLInstance instance, java.lang.Object[] inputs, DTSLoadingBarInterface bar) throws MapException
XBRLDataSourceinstance - this is the instance document.inputs - Input parameters, they are different objects for each driver.bar - this is an optional parameter, if not null, the driver can send messages to inform about the initialization processMapException - the map exceptionpublic net.sf.saxon.value.AtomicValue getValue(java.lang.String mapIdentifier,
int index,
XBRLContext context,
net.sf.saxon.type.SimpleType type)
throws MapException
XBRLDataSourcemapIdentifier - Stringindex - intcontext - XBRLContext the XBRL Context for the fact being reported. The context
should not be modified here.type - This is that target schema type obtained from the element definitionMapException - the map exceptionpublic java.lang.Object getSampleData(java.lang.Object data)
throws MapException
XBRLDataSourcedata - objectMapException - in the case the input object cannot be usedpublic SheetPointFactory getSheetPointFactory()
AbstractWorksheetDataSourcegetSheetPointFactory in class AbstractWorksheetDataSource