public class ExtensibleEnumerationsProcessor extends java.lang.Object implements XBRLCompilableProcessor
| Modifier and Type | Field and Description |
|---|---|
static javax.xml.namespace.QName |
enumDomain
The Constant enumDomain.
|
static javax.xml.namespace.QName |
enumerationItemType
The Constant enumerationItemType.
|
static javax.xml.namespace.QName |
enumHeadUsable
The Constant enumHeadUsable.
|
static java.lang.String |
enumieNS
The Constant enumieNS.
|
static java.lang.String |
enumiePfx
The Constant enumiePfx.
|
static javax.xml.namespace.QName |
enumLinkrole
The Constant enumLinkrole.
|
static java.lang.String |
enumNS
The Constant enumNS.
|
static java.lang.String |
enumPfx
The Constant enumPfx.
|
static java.lang.String |
enumteNS
The Constant enumteNS.
|
static java.lang.String |
enumtePfx
The Constant enumtePfx.
|
static java.lang.String |
PROCESSORNAME
The Constant PROCESSORNAME.
|
| Modifier and Type | Method and Description |
|---|---|
XMLElementDefinition |
checkValidQNameIsConcept(javax.xml.namespace.QName qname)
Validates the QName passed in in the QName parameter is a concept defined in the DTS
and is not a dimension and not an hypercube.
|
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 XBRLPlugInProcessor |
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.util.Iterator<DomainNode> |
getEnumerableDomain(javax.xml.namespace.QName concept)
Access to the enumerable domain of a concept definition.
|
java.util.Iterator<DomainNode> |
getEnumerableDomain(XBRLFactItem fact)
Access to the enumerable domain of a concept definition.
|
java.util.Iterator<DomainNode> |
getEnumerableDomain(XBRLItem element)
Access to the enumerable domain of a concept definition.
|
java.lang.String |
getName()
Returns the processor name so it can be written in validation reports.
|
net.sf.saxon.value.QNameValue |
getQNameValueFromDecoratedQName(XBRLFactItem fact,
java.lang.String label)
Gets the q name value from decorated q name.
|
boolean |
isEnumerable(javax.xml.namespace.QName concept)
Returns true if the concept is defined as enum:enumerationItemType.
|
boolean |
isEnumerable(XBRLFactItem fact)
Returns true if the fact is defined as enum:enumerationItemType.
|
boolean |
isEnumerable(XBRLItem element)
Returns true if the element is defined as enum:enumerationItemType.
|
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(XBRLFactItem xbrlFactItem)
Validate fact.
|
public static final java.lang.String PROCESSORNAME
public static final java.lang.String enumNS
public static final java.lang.String enumPfx
public static final java.lang.String enumteNS
public static final java.lang.String enumtePfx
public static final java.lang.String enumieNS
public static final java.lang.String enumiePfx
public static final javax.xml.namespace.QName enumerationItemType
public static final javax.xml.namespace.QName enumDomain
public static final javax.xml.namespace.QName enumLinkrole
public static final javax.xml.namespace.QName enumHeadUsable
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 boolean isHidden()
XBRLPlugInProcessorisHidden in interface XBRLPlugInProcessorpublic void clear()
XBRLPlugInProcessorclear in interface XBRLPlugInProcessorpublic XBRLValidationReport compileResources()
XBRLCompilableProcessorcompileResources in interface XBRLCompilableProcessorpublic XMLElementDefinition checkValidQNameIsConcept(javax.xml.namespace.QName qname) throws ENenumteInvalidDomainError
qname - the concept to checkENenumteInvalidDomainError - the e nenumte invalid domain errorpublic void freeUnnecessary()
throws com.rs.lic.LicenseVerificationException,
XBRLValidationException
XBRLCompilableProcessorfreeUnnecessary in interface XBRLCompilableProcessorcom.rs.lic.LicenseVerificationException - the license verification exceptionXBRLValidationException - the XBRL validation exceptionpublic static XBRLPlugInProcessor create(DTSContainer dts)
dts - the dtspublic DTSContainer getContainer()
public XBRLValidationReport validateFact(XBRLFactItem xbrlFactItem)
xbrlFactItem - the xbrl fact itempublic boolean isEnumerable(XBRLFactItem fact)
fact - the factpublic boolean isEnumerable(XBRLItem element)
element - the elementpublic boolean isEnumerable(javax.xml.namespace.QName concept)
concept - the conceptpublic java.util.Iterator<DomainNode> getEnumerableDomain(XBRLFactItem fact)
fact - the factpublic java.util.Iterator<DomainNode> getEnumerableDomain(XBRLItem element)
element - the elementpublic java.util.Iterator<DomainNode> getEnumerableDomain(javax.xml.namespace.QName concept)
concept - the conceptpublic net.sf.saxon.value.QNameValue getQNameValueFromDecoratedQName(XBRLFactItem fact, java.lang.String label)
fact - the factlabel - the label