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()
Clear.
|
XBRLValidationReport |
compileResources()
Compile resources.
|
void |
configure(java.util.Properties properties)
Configure.
|
static RenderHintsProcessor |
create(DTSContainer dts)
Creates the.
|
void |
freeUnnecessary()
Free unnecessary.
|
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.
|
java.util.Iterator<java.lang.String> |
getRolesWithHints()
Returns an iterator over preferred roles.
|
boolean |
isHidden()
Checks if is hidden.
|
static void |
registerProcessorStatic()
Register processor static.
|
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()
Validate.
|
XBRLValidationReport |
validate(XBRLDocument xDocument)
Validate.
|
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 void registerProcessorStatic()
public static RenderHintsProcessor create(DTSContainer dts)
dts
- the dtspublic DTSContainer getContainer()
getContainer
in interface HasDTSContainer
public XBRLValidationReport validate()
validate
in interface XBRLPlugInProcessor
public XBRLValidationReport validate(XBRLDocument xDocument)
validate
in interface XBRLPlugInProcessor
xDocument
- the x documentpublic java.lang.String getName()
getName
in interface XBRLPlugInProcessor
public java.lang.String getDescription()
getDescription
in interface XBRLPlugInProcessor
public static java.lang.String getDescriptionStatic()
public void configure(java.util.Properties properties)
configure
in interface XBRLPlugInProcessor
properties
- the propertiespublic XBRLValidationReport compileResources()
compileResources
in interface XBRLCompilableProcessor
public void freeUnnecessary() throws com.rs.lic.LicenseVerificationException, XBRLValidationException
freeUnnecessary
in interface XBRLCompilableProcessor
com.rs.lic.LicenseVerificationException
- the license verification exceptionXBRLValidationException
- the XBRL validation exceptionpublic boolean isHidden()
isHidden
in interface XBRLPlugInProcessor
public static java.util.Properties addProcessor(java.util.Properties initialProperties)
initialProperties
- the initial propertiespublic void clear()
clear
in interface XBRLPlugInProcessor
public 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()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa