|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.om.XBRLCoreProcessor
public class XBRLCoreProcessor
This class is a XBRLPlugInProcessor for doing XBRL 2.1 validation of the DTS.
| Field Summary | |
|---|---|
static java.lang.String |
PROCESSORNAME
|
static int |
VALIDATE_CYCLES
Constants to fire specific validation parts. |
static int |
VALIDATE_DOCUMENT
|
static int |
VALIDATE_ESSENCE_ALIAS
|
static int |
VALIDATE_REPORT_ITEMS_AND_TUPLES
|
static int |
VALIDATE_REQUIRES_ELEMENT
|
static int |
VALIDATE_SUMMATION_ITEM
|
| Method Summary | |
|---|---|
void |
clear()
Resets the content of the validation report |
void |
configure(java.util.Properties properties)
Configures the processor according with the properties passed in in the properties parameter |
static XBRLCoreProcessor |
create(DTSContainer dts)
|
DTSContainer |
getContainer()
Access to the DTSContainer that is under validation |
java.lang.String |
getDescription()
Returns the processor description so it can be written in validation reports |
static java.lang.String |
getDescriptionStatic()
|
java.lang.String |
getName()
Returns the processor name so it can be written in validation reports |
void |
setWhatToValidate(int newValue)
Adjust the work performed by this XBRLCoreProcessor. |
XBRLValidationReport |
validate()
Validates the content of the DTS according to the rules indicated in this plug-in processor. |
XBRLValidationReport |
validate(XBRLDocument doc)
Validates an instance document against all arcroles defined in the XBRL 2.1 specification |
void |
validateCyclesOnBaseSet(DTSBase base,
XBRLArcroleType arcRole,
int cyclesAllowed)
This is the internal method used by the API to validate cycles on a base set. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROCESSORNAME
public static final int VALIDATE_CYCLES
public static final int VALIDATE_ESSENCE_ALIAS
public static final int VALIDATE_REQUIRES_ELEMENT
public static final int VALIDATE_SUMMATION_ITEM
public static final int VALIDATE_DOCUMENT
public static final int VALIDATE_REPORT_ITEMS_AND_TUPLES
| Method Detail |
|---|
public static XBRLCoreProcessor create(DTSContainer dts)
throws com.rs.lic.LicenseVerificationException
com.rs.lic.LicenseVerificationExceptionpublic void clear()
public void configure(java.util.Properties properties)
XBRLPlugInProcessor
configure in interface XBRLPlugInProcessorpublic void setWhatToValidate(int newValue)
Use a combination of VALIDATE_ constants in order to set or unset specific validation steps.
newValue - integer, bitmappublic DTSContainer getContainer()
public 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 XBRLValidationReport validate(XBRLDocument doc)
validate in interface XBRLPlugInProcessordoc -
XBRLValidationReport
DTSDiscoveryException
XBRLValidationException
public void validateCyclesOnBaseSet(DTSBase base,
XBRLArcroleType arcRole,
int cyclesAllowed)
throws XBRLValidationException
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.
XBRLValidationExceptionpublic java.lang.String getDescription()
XBRLPlugInProcessor
getDescription in interface XBRLPlugInProcessorpublic static java.lang.String getDescriptionStatic()
public java.lang.String getName()
XBRLPlugInProcessor
getName in interface XBRLPlugInProcessor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||