public class FlFormulaProcessor extends java.lang.Object implements XBRLPlugInProcessor
| Modifier and Type | Field and Description |
|---|---|
java.util.logging.Logger |
logger
The logger.
|
static java.lang.String |
PROCESSORNAME
The Constant PROCESSORNAME.
|
| Constructor and Description |
|---|
FlFormulaProcessor(DTSContainer dts)
Instantiates a new fl formula processor.
|
| Modifier and Type | Method and Description |
|---|---|
java.net.URI |
addSchema(java.lang.String namespace,
java.net.URI uri)
Adds the schema.
|
void |
clear()
Called when the DTSContainer's clear method is called.
|
void |
configure(java.util.Properties properties)
Configures the processor according with the properties passed in the
properties parameter.
|
XBRLInstance[] |
formulaInstanceCreation(XBRLInstance source)
Formula instance creation.
|
java.lang.String[] |
formulaValidationStr(XBRLInstance source)
Formula validation str.
|
DTSContainer |
getContainer()
Gets the container.
|
java.lang.String |
getDescription()
Returns the processor description so it can be written in validation reports.
|
java.util.Iterator<FlFormula> |
getFormulasInstanceValidationIterator()
Gets the formulas instance validation iterator.
|
FlFunctionsResolver |
getFunctionsResolver()
Gets the functions resolver.
|
XBRLInstance |
getInstance()
Gets the single instance of FlFormulaProcessor.
|
java.lang.String |
getName()
Returns the processor name so it can be written in validation reports.
|
boolean |
isHidden()
A hidden processor will not pop-up in the GUI tabs.
|
void |
loadBase(DTSBase base)
Load base.
|
FlVariable |
searchVariable(javax.xml.namespace.QName var)
Search variable.
|
void |
setInstance(XBRLInstance instance)
Sets the instance.
|
XBRLValidationReport |
validate()
Validates the content of the DTS according to the rules indicated in
this plug-in processor.
|
XBRLValidationReport |
validate(XBRLDocument xDocument)
Validates the document according to the rules indicated in
this plug-in processor.
|
public static final java.lang.String PROCESSORNAME
public java.util.logging.Logger logger
public FlFormulaProcessor(DTSContainer dts) throws com.rs.lic.LicenseVerificationException
dts - the dtscom.rs.lic.LicenseVerificationException - the license verification exceptionpublic java.net.URI addSchema(java.lang.String namespace,
java.net.URI uri)
namespace - the namespaceuri - the uripublic void loadBase(DTSBase base) throws XBRLValidationException
base - the baseXBRLValidationException - the XBRL validation exceptionpublic DTSContainer getContainer()
getContainer in interface HasDTSContainerpublic FlVariable searchVariable(javax.xml.namespace.QName var)
var - the varpublic void setInstance(XBRLInstance instance) throws net.sf.saxon.trans.XPathException
instance - the new instancenet.sf.saxon.trans.XPathException - the x path exceptionpublic java.util.Iterator<FlFormula> getFormulasInstanceValidationIterator()
public FlFunctionsResolver getFunctionsResolver()
public XBRLInstance getInstance()
public XBRLInstance[] formulaInstanceCreation(XBRLInstance source) throws FlCompilationException, DTSDiscoveryException
source - the sourceFlCompilationException - the fl compilation exceptionDTSDiscoveryException - the DTS discovery exceptionpublic java.lang.String[] formulaValidationStr(XBRLInstance source) throws FlCompilationException, DTSDiscoveryException
source - the sourceFlCompilationException - the fl compilation exceptionDTSDiscoveryException - the DTS discovery exceptionpublic XBRLValidationReport validate()
XBRLPlugInProcessorThis is the method that is called by the DTSContainer on each XBRLPlugInProcessor when the validation() method is called on the DTSContainer instance.
validate in interface XBRLPlugInProcessorXBRLValidationReportpublic java.lang.String getDescription()
XBRLPlugInProcessorgetDescription in interface XBRLPlugInProcessorpublic java.lang.String getName()
XBRLPlugInProcessorgetName in interface XBRLPlugInProcessorpublic void configure(java.util.Properties properties)
XBRLPlugInProcessorconfigure in interface XBRLPlugInProcessorproperties - the propertiespublic XBRLValidationReport validate(XBRLDocument xDocument)
XBRLPlugInProcessorvalidate in interface XBRLPlugInProcessorxDocument - the x documentXBRLValidationReportpublic boolean isHidden()
XBRLPlugInProcessorisHidden in interface XBRLPlugInProcessorpublic void clear()
XBRLPlugInProcessorclear in interface XBRLPlugInProcessorCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa