public class ExtensibleEnumerations2Processor extends java.lang.Object implements XBRLCompilableProcessor
Modifier and Type | Field and Description |
---|---|
static javax.xml.namespace.QName |
enum2Domain
The Constant enumDomain.
|
static javax.xml.namespace.QName |
enum2HeadUsable
The Constant enumHeadUsable.
|
static java.lang.String |
enum2ieNS
The Constant enumieNS.
|
static java.lang.String |
enum2iePfx
The Constant enumiePfx.
|
static javax.xml.namespace.QName |
enum2Linkrole
The Constant enumLinkrole.
|
static java.lang.String |
enum2NS
The Constant enumNS.
|
static java.lang.String |
enum2Pfx
The Constant enumPfx.
|
static java.lang.String |
enum2teNS
The Constant enumteNS.
|
static java.lang.String |
enum2tePfx
The Constant enumtePfx.
|
static javax.xml.namespace.QName |
enumerationItemType
The Constant enumerationItemType.
|
static javax.xml.namespace.QName |
enumerationSetItemType
The Constant enumerationSetItemType.
|
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 ExtensibleEnumerations2Processor |
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.
|
Enum2Type |
isEnumerable(javax.xml.namespace.QName concept)
Returns true if the concept is defined as enum:enumerationItemType.
|
Enum2Type |
isEnumerable(XBRLFactItem fact)
Returns true if the fact is defined as enum:enumerationItemType.
|
Enum2Type |
isEnumerable(XBRLXSDTypeDefinition type)
Returns true if the data type passed in as parameter is
derived from enumerationItemType.
|
Enum2Type |
isEnumerable(XMLElementDefinition element)
Returns true if the element is defined as enum:enumerationItemType.
|
boolean |
isHidden()
Checks if is hidden.
|
java.util.Collection<javax.xml.namespace.QName> |
parseValues(java.lang.String stringValue)
Parses the values.
|
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 enum2NS
public static final java.lang.String enum2Pfx
public static final java.lang.String enum2teNS
public static final java.lang.String enum2tePfx
public static final java.lang.String enum2ieNS
public static final java.lang.String enum2iePfx
public static final javax.xml.namespace.QName enumerationItemType
public static final javax.xml.namespace.QName enumerationSetItemType
public static final javax.xml.namespace.QName enum2Domain
public static final javax.xml.namespace.QName enum2Linkrole
public static final javax.xml.namespace.QName enum2HeadUsable
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 ENenum2teInvalidDomainError
qname
- the concept to checkENenum2teInvalidDomainError
- the e nenum 2 te 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 ExtensibleEnumerations2Processor create(DTSContainer dts)
dts
- the dtspublic DTSContainer getContainer()
getContainer
in interface HasDTSContainer
public XBRLValidationReport validateFact(XBRLFact xbrlFact)
xbrlFact
- the xbrl factpublic java.util.Collection<javax.xml.namespace.QName> parseValues(java.lang.String stringValue) throws ENenum2Error
stringValue
- the string valueENenum2Error
- the e nenum 2 errorpublic Enum2Type isEnumerable(XBRLFactItem fact)
fact
- the factpublic Enum2Type isEnumerable(XMLElementDefinition element)
element
- the elementpublic Enum2Type isEnumerable(javax.xml.namespace.QName concept)
concept
- the conceptpublic Enum2Type 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