public class RenderHintsProcessor extends java.lang.Object implements XBRLCompilableProcessor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
namespace
The Constant namespace.
|
static java.lang.String |
prefix
The Constant prefix.
|
static java.lang.String |
PROCESSORNAME
The Constant PROCESSORNAME.
|
static java.lang.String |
roleHintsArcrole_URI
The Constant roleHintsArcrole_URI.
|
static java.lang.String |
schemaURL
The Constant schemaURL.
|
static javax.xml.namespace.QName |
voidPrimaryItem
The Constant voidPrimaryItem.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Properties |
addProcessor(java.util.Properties initialProperties)
This method receives a Properties instance that already contains a DTSContainer.PROCESSORS_SEQUENCE
property and modifies it so the RenderingHints processor is added to the chain
|
void |
clear()
Called when the DTSContainer's clear method is called.
|
XBRLValidationReport |
compileResources()
Compile resources.
|
void |
configure(java.util.Properties properties)
Configures the processor according with the properties passed in in the
properties parameter.
|
static RenderHintsProcessor |
create(DTSContainer dts)
Creates the.
|
void |
freeUnnecessary()
Liberates resources no longer needed.
|
DTSContainer |
getContainer()
Gets the container.
|
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.
|
java.util.Iterator<java.lang.String> |
getRolesWithHints()
Returns an iterator over preferred roles.
|
boolean |
isHidden()
A hidden processor will not pop-up in the GUI tabs.
|
int |
searchPreferredIndex(java.lang.String role,
int mode,
XBRLItem primaryItem,
Dimension<?> dim)
Search preferred index.
|
int |
searchPreferredMode(java.lang.String roleString,
int retVal)
Returns the preferred view mode for the specific role if set.
|
int |
searchPreferredPosition(java.lang.String role,
int mode,
XBRLItem primaryItem,
Dimension<?> dim)
Search preferred position.
|
javax.xml.namespace.QName |
searchPreferredPrimaryItem(java.lang.String roleString)
Search for the selected primary item on the preferred view for
the role indicated in the roleString parameter.
|
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.
|
public static final java.lang.String PROCESSORNAME
public static final java.lang.String schemaURL
public static final java.lang.String namespace
public static final java.lang.String prefix
public static final javax.xml.namespace.QName voidPrimaryItem
public static final java.lang.String roleHintsArcrole_URI
public static RenderHintsProcessor create(DTSContainer dts)
dts - the dtspublic 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 xDocument)
XBRLPlugInProcessorvalidate in interface XBRLPlugInProcessorxDocument - the x documentXBRLValidationReportpublic java.lang.String getName()
XBRLPlugInProcessorgetName in interface XBRLPlugInProcessorpublic java.lang.String getDescription()
XBRLPlugInProcessorgetDescription in interface XBRLPlugInProcessorpublic static java.lang.String getDescriptionStatic()
public void configure(java.util.Properties properties)
XBRLPlugInProcessorconfigure in interface XBRLPlugInProcessorproperties - the propertiespublic XBRLValidationReport compileResources()
XBRLCompilableProcessorcompileResources in interface XBRLCompilableProcessorpublic void freeUnnecessary()
throws com.rs.lic.LicenseVerificationException,
XBRLValidationException
XBRLCompilableProcessorfreeUnnecessary in interface XBRLCompilableProcessorcom.rs.lic.LicenseVerificationException - the license verification exceptionXBRLValidationException - the XBRL validation exceptionpublic boolean isHidden()
XBRLPlugInProcessorisHidden in interface XBRLPlugInProcessorpublic static java.util.Properties addProcessor(java.util.Properties initialProperties)
initialProperties - the initial propertiespublic void clear()
XBRLPlugInProcessorclear in interface XBRLPlugInProcessorpublic int searchPreferredPosition(java.lang.String role,
int mode,
XBRLItem primaryItem,
Dimension<?> dim)
role - the rolemode - the modeprimaryItem - the primary itemdim - the dimpublic int searchPreferredIndex(java.lang.String role,
int mode,
XBRLItem primaryItem,
Dimension<?> dim)
role - the rolemode - the modeprimaryItem - the primary itemdim - the dimpublic int searchPreferredMode(java.lang.String roleString,
int retVal)
roleString - the role to search forretVal - the value to return if not specifically setpublic javax.xml.namespace.QName searchPreferredPrimaryItem(java.lang.String roleString)
roleString - the role stringpublic java.util.Iterator<java.lang.String> getRolesWithHints()