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_ERRORS_NS
The Constant UTR_ERRORS_NS.
|
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.
|
static java.lang.String |
UTR_URL
Alternate URL for testing UTR processor conformance.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear.
|
void |
configure(java.util.Properties properties)
Configure.
|
static UTRProcessor |
create(DTSContainer dts)
Creates the UTRProcessor.
|
DTSContainer |
getContainer()
Obtains the instance of the DTSContainer for which this processor was created.
|
java.lang.String |
getDescription()
Gets the description.
|
static java.lang.String |
getDescriptionStatic()
Gets the description static.
|
java.lang.String |
getName()
Gets the name.
|
XBRLUnit |
getUnit(XBRLItem itm,
javax.xml.namespace.QName defaultUnit)
Returns a valid XBRLUnit for the item passed in in the first parameter.
|
boolean |
isHidden()
Checks if is hidden.
|
static void |
registerProcessorStatic()
Register processor static.
|
XBRLValidationReport |
validate()
Validate.
|
XBRLValidationReport |
validate(XBRLDocument xDocument)
Validate.
|
XBRLValidationReport |
validateFact(XBRLFactNumeric xbrlFactNumeric)
Validate fact numeric.
|
public static final java.lang.String PROCESSORNAME
public static final java.lang.String UTR_URL
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 static final java.lang.String UTR_ERRORS_NS
public static void registerProcessorStatic()
public XBRLValidationReport validate()
validate
in interface XBRLPlugInProcessor
public XBRLValidationReport validate(XBRLDocument xDocument)
validate
in interface XBRLPlugInProcessor
xDocument
- the x documentpublic DTSContainer getContainer()
getContainer
in interface HasDTSContainer
public XBRLValidationReport validateFact(XBRLFactNumeric xbrlFactNumeric)
xbrlFactNumeric
- the xbrl fact numericpublic java.lang.String getName()
getName
in interface XBRLPlugInProcessor
public java.lang.String getDescription()
getDescription
in interface XBRLPlugInProcessor
public void configure(java.util.Properties properties)
configure
in interface XBRLPlugInProcessor
properties
- the propertiespublic static UTRProcessor create(DTSContainer dts) throws com.rs.lic.LicenseVerificationException
dts
- the dtscom.rs.lic.LicenseVerificationException
- the license verification exceptionpublic void clear()
clear
in interface XBRLPlugInProcessor
public 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()
isHidden
in interface XBRLPlugInProcessor
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa