public class XBRLCoreProcessor extends java.lang.Object implements XBRLPlugInProcessor, XBRLValidationConfiguration
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROCESSORNAME
The Constant PROCESSORNAME.
|
VALIDATE_ALL_TABLES, VALIDATE_CYCLES, VALIDATE_DOCUMENT, VALIDATE_ESSENCE_ALIAS, VALIDATE_REPORT_ITEMS_AND_TUPLES, VALIDATE_REQUIRES_ELEMENT, VALIDATE_SUMMATION_ITEM, VALIDATE_TABLE_RELATIONSHIPS| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Resets the content of the validation report.
|
void |
configure(java.util.Properties properties)
Configure.
|
static XBRLCoreProcessor |
create(DTSContainer dts)
Creates the.
|
DTSContainer |
getContainer()
Gets the container.
|
java.lang.String |
getDescription()
Gets the description.
|
static java.lang.String |
getDescriptionStatic()
Gets the description static.
|
java.lang.String |
getName()
Gets the name.
|
int |
getWhatToValidate()
Gets the what to validate.
|
boolean |
isHidden()
Checks if is hidden.
|
static void |
registerProcessorStatic()
Register processor static.
|
void |
reset()
Reset this processor status.
|
void |
setArcrolesToCheckCycles(java.util.Collection<? extends XBRLArcroleType> xbrlArcroleTypes)
Sets the arcroles to check cycles.
|
int |
setWhatToValidate(int newValue)
Adjust the work performed by this XBRLCoreProcessor.
|
XBRLValidationReport |
validate()
Validate.
|
XBRLValidationReport |
validate(XBRLDocument doc)
Validates an instance document against all arcroles defined in the XBRL 2.1 specification
|
XBRLValidationReport |
validateCyclesOnBaseSet(DTSBase base,
XBRLArcroleType arcRole,
int cyclesAllowed)
This is the internal method used by the API to validate cycles on a base set.
|
public static final java.lang.String PROCESSORNAME
public static XBRLCoreProcessor create(DTSContainer dts) throws com.rs.lic.LicenseVerificationException
dts - the dtscom.rs.lic.LicenseVerificationException - the license verification exceptionpublic DTSContainer getContainer()
getContainer in interface HasDTSContainerpublic void clear()
clear in interface XBRLPlugInProcessorpublic void reset()
public static void registerProcessorStatic()
public void configure(java.util.Properties properties)
configure in interface XBRLPlugInProcessorproperties - the propertiespublic int setWhatToValidate(int newValue)
Use a combination of VALIDATE_ constants in order to set or unset specific validation steps.
setWhatToValidate in interface XBRLValidationConfigurationnewValue - integer, bitmappublic int getWhatToValidate()
getWhatToValidate in interface XBRLValidationConfigurationpublic XBRLValidationReport validate()
validate in interface XBRLPlugInProcessorpublic XBRLValidationReport validate(XBRLDocument doc)
validate in interface XBRLPlugInProcessordoc - the docpublic XBRLValidationReport validateCyclesOnBaseSet(DTSBase base, XBRLArcroleType arcRole, int cyclesAllowed)
base - the DTS base from which the Base Set will be obtained. The DTS container already handles a database of bases and base sets.arcRole - the arcrole that identifies the Base Set.cyclesAllowed - the value here is a constant integer defined in the XBRLArcroleType type.public java.lang.String getDescription()
getDescription in interface XBRLPlugInProcessorpublic static java.lang.String getDescriptionStatic()
public java.lang.String getName()
getName in interface XBRLPlugInProcessorpublic void setArcrolesToCheckCycles(java.util.Collection<? extends XBRLArcroleType> xbrlArcroleTypes)
xbrlArcroleTypes - the new arcroles to check cyclespublic boolean isHidden()
isHidden in interface XBRLPlugInProcessorCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa