public class UTRProcessor extends java.lang.Object implements XBRLPlugInProcessor
| Modifier and Type | Class and Description |
|---|---|
static class |
UTRProcessor.Status
CR - Candidate Recommendation
REC - RECOMMENDATION NIE - Not in effect (for whatever reason other than RR such as being withdrawn, superseded, found to be invalid etc.) |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROCESSORNAME
The Constant PROCESSORNAME.
|
static java.lang.String |
UTR_NS
The Constant UTR_NS.
|
static java.lang.String |
UTR_OFFICIAL_URL
The Constant UTR_OFFICIAL_URL.
|
static java.lang.String |
UTR_STATUS_TO_CONSIDER
The UTR_STATUS_TO_CONSIDER property defines what unit definitions form the registry will
be considered for validation of units assigned to facts in an instance document.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
clears all stored information on this processor so validation start from scratch.
|
void |
configure(java.util.Properties properties)
Configures the processor according with the properties passed in in the
properties parameter.
|
static XBRLPlugInProcessor |
create(DTSContainer dts)
Creates the.
|
java.lang.String |
getDescription()
Returns the processor description so it can be written in validation reports.
|
static java.lang.String |
getDescriptionStatic()
Gets the description static.
|
java.lang.String |
getName()
Returns the processor name so it can be written in validation reports.
|
XBRLUnit |
getUnit(XBRLItem itm,
javax.xml.namespace.QName defaultUnit)
Returns a valid XBRLUnit for the item passed in in the first parameter.
|
boolean |
isHidden()
A hidden processor will not pop-up in the GUI tabs.
|
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.
|
XBRLValidationReport |
validateFact(XBRLFactNumeric xbrlFactNumeric)
Validate fact.
|
public static final java.lang.String PROCESSORNAME
public static final java.lang.String UTR_OFFICIAL_URL
public static final java.lang.String UTR_STATUS_TO_CONSIDER
This property key is defined as a constant string "http://www.reportingstandard.com/UTRProcessor/status-to-consider"
The default value for this property is "REC,CR".
The complete list of possible values is in the Status enumeration
UTRProcessor.Status,
Constant Field Valuespublic static final java.lang.String UTR_NS
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 xDocument)
XBRLPlugInProcessorvalidate in interface XBRLPlugInProcessorxDocument - the x documentXBRLValidationReportpublic XBRLValidationReport validateFact(XBRLFactNumeric xbrlFactNumeric)
xbrlFactNumeric - the xbrl fact numericpublic java.lang.String getName()
XBRLPlugInProcessorgetName in interface XBRLPlugInProcessorpublic java.lang.String getDescription()
XBRLPlugInProcessorgetDescription in interface XBRLPlugInProcessorpublic void configure(java.util.Properties properties)
XBRLPlugInProcessorconfigure in interface XBRLPlugInProcessorproperties - the propertiespublic static XBRLPlugInProcessor create(DTSContainer dts) throws com.rs.lic.LicenseVerificationException
dts - the dtscom.rs.lic.LicenseVerificationException - the license verification exceptionpublic void clear()
clear in interface XBRLPlugInProcessorpublic static java.lang.String getDescriptionStatic()
public XBRLUnit getUnit(XBRLItem itm, javax.xml.namespace.QName defaultUnit)
The unit will be new and created in the same DTSContainer as the item in the itm parameter.
Returns null if no unit is found or cannot be created.
itm - the itmdefaultUnit - the default unitpublic boolean isHidden()
XBRLPlugInProcessorisHidden in interface XBRLPlugInProcessor