public class MultiDTSValidationService
extends java.lang.Object
| Constructor and Description | 
|---|
| MultiDTSValidationService() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getCalculatedFileName()Access to the file name of this file after substitution of all variables. | 
| void | init(java.net.URI absURI,
    java.net.URI baseURI)Initializes the service using the configuracion file received in the absURI parameter. | 
| void | setVariable(java.lang.String variableName,
           java.lang.String variableValue)Variables can be used to change the document URL dynamically. | 
| boolean | validate(MultiDTSValidationFile item,
        MultiDTSValidationHandler multiDTSValidationHandler)Validates the XBRL Report that can be created reading the inputStream and passes validation report to the
 instance of the multiDTSValidationHandler that can operate in consequence. | 
public void init(java.net.URI absURI,
                 java.net.URI baseURI)
          throws XBRLInitializationException
absURI - the configuration file URIbaseURI - this is the baseURI used for the resolution of the configuration file. it is used to resolve taxonomies that are indicated without
 official URLXBRLInitializationException - the XBRL initialization exceptionpublic boolean validate(MultiDTSValidationFile item, MultiDTSValidationHandler multiDTSValidationHandler) throws java.io.IOException
item - the itemmultiDTSValidationHandler - as MultiDTSValidationHandlerjava.io.IOException - Signals that an I/O exception has occurred.public java.lang.String getCalculatedFileName()
public void setVariable(java.lang.String variableName,
                        java.lang.String variableValue)
Variables are replaced in the document URL as indicated in the following example: a variable URL may contain $(variable_name) then the entire string $(variable_name) is replaced by the variable value. for example:
http://www.exaple.com/repository/xbrl/$(PERIOD)/$(COMPANY_CODE)/$(INSTANCE_FILENAME) contains 3 variable definitions that will be replaced by the variable values at the time the validate method is called.
Well know variable names:
variableName - the variable namevariableValue - the variable valueCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa