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()
Clear.
|
XBRLValidationReport |
compileResources()
Compile resources.
|
void |
configure(java.util.Properties properties)
Configure.
|
static ExtensibleEnumerationsProcessor |
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.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()
Gets the name.
|
net.sf.saxon.value.QNameValue |
getQNameValueFromDecoratedQName(XBRLFactItem fact,
java.lang.String label)
Gets the q name value from decorated Q name.
|
java.lang.String |
getStringValueFromQNameValue(javax.xml.namespace.QName qNameValue)
Gets the string value from Q name value.
|
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 |
isEnumerable(XBRLXSDTypeDefinition type)
Returns true if the data type passed in as parameter is
derived from enumerationItemType.
|
boolean |
isHidden()
Checks if is hidden.
|
static void |
registerProcessorStatic()
Register processor static.
|
XBRLValidationReport |
validate()
Validate.
|
XBRLValidationReport |
validate(XBRLDocument xDocument)
Validate.
|
XBRLValidationReport |
validateFact(XBRLFact xbrlFact)
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 static void registerProcessorStatic()
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 boolean isHidden()
isHidden
in interface XBRLPlugInProcessor
public void clear() throws java.lang.Throwable
clear
in interface XBRLPlugInProcessor
java.lang.Throwable
- the throwablepublic XBRLValidationReport compileResources()
compileResources
in interface XBRLCompilableProcessor
public 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
freeUnnecessary
in interface XBRLCompilableProcessor
com.rs.lic.LicenseVerificationException
- the license verification exceptionXBRLValidationException
- the XBRL validation exceptionpublic static ExtensibleEnumerationsProcessor create(DTSContainer dts)
dts
- the dtspublic DTSContainer getContainer()
getContainer
in interface HasDTSContainer
public XBRLValidationReport validateFact(XBRLFact xbrlFact)
xbrlFact
- the xbrl factpublic boolean isEnumerable(XBRLFactItem fact)
fact
- the factpublic boolean isEnumerable(XBRLItem element)
element
- the elementpublic boolean isEnumerable(javax.xml.namespace.QName concept)
concept
- the conceptpublic boolean isEnumerable(XBRLXSDTypeDefinition type)
type
- the typepublic 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 labelpublic java.lang.String getStringValueFromQNameValue(javax.xml.namespace.QName qNameValue)
qNameValue
- the q name valueCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa