|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.om.xdt.XDTProcessor
public class XDTProcessor
| Field Summary | |
|---|---|
static java.lang.String |
all_arcrole_URI
http://xbrl.org/int/dim/arcrole/all |
static javax.xml.namespace.QName |
closedQName
xbrldt:closed |
static javax.xml.namespace.QName |
contextElement
xbrldt:contextElement |
static java.lang.String |
dimension_default_arcrole_URI
http://xbrl.org/int/dim/arcrole/dimension-default |
static java.lang.String |
dimension_domain_arcrole_URI
http://xbrl.org/int/dim/arcrole/dimension-domain |
static javax.xml.namespace.QName |
dimensionItemQName
xbrldt:dimensionItem |
static javax.xml.namespace.QName |
dimensionQName
"dimension" as a QName in the no namespace |
static java.lang.String |
domain_member_arcrole_URI
http://xbrl.org/int/dim/arcrole/domain-member |
static javax.xml.namespace.QName |
explicitMemberContainerQName
xbrldi:explicitMember |
static java.lang.String |
hypercube_dimension_arcrole_URI
http://xbrl.org/int/dim/arcrole/hypercube-dimension |
static javax.xml.namespace.QName |
hypercubeItemQName
xbrldt:hypercubeItem |
java.util.logging.Logger |
logger
|
static java.lang.String |
notAll_arcrole_URI
http://xbrl.org/int/dim/arcrole/notAll |
static java.lang.String |
PROCESSORNAME
|
static javax.xml.namespace.QName |
targetRole
xbrldt:targetrole |
static javax.xml.namespace.QName |
typedDomainRefQName
xbtldt:typedDomainRef |
static javax.xml.namespace.QName |
typedMemberContainerQName
xbrldi:typedMember |
static javax.xml.namespace.QName |
usableQName
"usable" as a QName in the no namespace |
static int |
XDT_07_09_2009
Constant indicating that the processor is running under rules written in the specification written as of September 7th 2009 |
static int |
XDT_18_09_2006
Constant indicating that the processor is running under rules written in the specification written as of September 18th 2006 |
| Method Summary | |
|---|---|
void |
configure(java.util.Properties properties)
Configures the processor according with the properties passed in in the properties parameter |
static XDTProcessor |
create(DTSContainer dts)
|
XBRLArcroleType |
getArcroleTypeAll()
|
XBRLArcroleType |
getArcroleTypeDimensionDefault()
|
XBRLArcroleType |
getArcroleTypeDimensionDomain()
|
XBRLArcroleType |
getArcroleTypeDomainMember()
|
XBRLArcroleType |
getArcroleTypeHypercubeDimension()
|
XBRLArcroleType |
getArcroleTypeNotAll()
|
DTSContainer |
getContainer()
|
java.lang.String |
getDescription()
Returns the processor description so it can be written in validation reports |
static java.lang.String |
getDescriptionStatic()
|
java.util.Hashtable<javax.xml.namespace.QName,XMLFragment> |
getDimData(XBRLDimensionsContainer dimData,
boolean throwValidationExceptions)
Process a fact item and one of the dimensions container (segment or scenario) and collects all dimensional information in there. |
java.util.Hashtable<javax.xml.namespace.QName,XMLFragment> |
getDimData(XBRLFactItem fact,
int contextElement,
boolean bThrowValidationExceptions)
Process a fact item in an XBRL report and collects data from the context according to dimensions defined in the hypercubes. |
XDTDimension |
getDimension(javax.xml.namespace.QName dimension)
Access to an XDTDimension from its dimension name or null if the QName does not refer to a dimension in the loaded DTS |
java.util.Iterator<XDTDimension> |
getDimensions()
Access to the list of all dimensions defined in the DTS |
static XMLFragment |
getExplicitDimFragment(DTSContainer dts,
javax.xml.namespace.QName dimension,
javax.xml.namespace.QName member)
Helper method to create the XMLFragment container for an explicit dimension. |
java.lang.String |
getName()
Returns the processor name so it can be written in validation reports |
XDTPrimaryItem |
getPrimaryItem(javax.xml.namespace.QName q)
Returns the XDTPrimatyItem object for the given QName or null if the item does not have dimensions (associated hypercubes or dimensional information) |
java.util.Iterator<javax.xml.namespace.QName> |
getPrimaryItems()
Returns an iterator over QNames that are primary items in this dimensional DTS. |
static XBRLRoleType |
getTargetRole(XBRLRelationship rel)
Returns the XBRLRoleType pointed to by the xbrldt:targetRole attribute on the relationship rel. |
static XMLFragment |
getTypedDimFragment(DTSContainer dts,
javax.xml.namespace.QName dimension,
net.sf.saxon.s9api.XdmValue value)
Helper method to create the XMLFragment container for a typed dimension. |
static XMLFragment |
getTypedDimFragment(DTSContainer dts,
javax.xml.namespace.QName dimension,
XMLFragment value)
Helper method to create the XMLFragment container for a typed dimension. |
static java.lang.Boolean |
getUsable(XBRLRelationship rel)
|
int |
getXDTVersion()
This functions returns an integer constant that is cached in the XDTProcessor and indicates the version of the XDTSpecification to be used The value -1 is returned in case the property XDT_VERSION is defined for the DTSContainer but the property value is not any of the registered property values |
void |
removeDomainMember(XMLFragment fragment)
|
XBRLValidationReport |
validate()
Validates the content of the DTS according to the rules indicated in this plug-in processor. |
XBRLValidationReport |
validate(XBRLDocument doc)
Validates all facts in the instance document. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROCESSORNAME
public static final javax.xml.namespace.QName hypercubeItemQName
public static final javax.xml.namespace.QName dimensionItemQName
public static final javax.xml.namespace.QName explicitMemberContainerQName
public static final javax.xml.namespace.QName typedMemberContainerQName
public static final javax.xml.namespace.QName typedDomainRefQName
public static final javax.xml.namespace.QName dimensionQName
public static final javax.xml.namespace.QName usableQName
public static final javax.xml.namespace.QName targetRole
public static final javax.xml.namespace.QName closedQName
public static final javax.xml.namespace.QName contextElement
public static final java.lang.String all_arcrole_URI
public static final java.lang.String notAll_arcrole_URI
public static final java.lang.String hypercube_dimension_arcrole_URI
public static final java.lang.String domain_member_arcrole_URI
public static final java.lang.String dimension_domain_arcrole_URI
public static final java.lang.String dimension_default_arcrole_URI
public java.util.logging.Logger logger
public static final int XDT_07_09_2009
public static final int XDT_18_09_2006
| Method Detail |
|---|
public static XDTProcessor create(DTSContainer dts)
throws com.rs.lic.LicenseVerificationException,
XBRLValidationException
com.rs.lic.LicenseVerificationException
XBRLValidationExceptionpublic void configure(java.util.Properties properties)
XBRLPlugInProcessor
configure in interface XBRLPlugInProcessorpublic XDTPrimaryItem getPrimaryItem(javax.xml.namespace.QName q)
q - QName the concept QName
public java.util.Iterator<javax.xml.namespace.QName> getPrimaryItems()
public java.util.Iterator<XDTDimension> getDimensions()
public void removeDomainMember(XMLFragment fragment)
fragment - public static XBRLRoleType getTargetRole(XBRLRelationship rel)
If the relationship does not contains a xbrldt:targetRole attribute, the returned value is null.
rel - XBRLRelationship
public DTSContainer getContainer()
public XBRLArcroleType getArcroleTypeAll()
public XBRLArcroleType getArcroleTypeDomainMember()
public XBRLArcroleType getArcroleTypeHypercubeDimension()
public XBRLArcroleType getArcroleTypeNotAll()
public XBRLArcroleType getArcroleTypeDimensionDomain()
public XBRLArcroleType getArcroleTypeDimensionDefault()
public int getXDTVersion()
The value -1 is returned in case the property XDT_VERSION is defined for the DTSContainer but the property value is not any of the registered property values
public java.util.Hashtable<javax.xml.namespace.QName,XMLFragment> getDimData(XBRLFactItem fact,
int contextElement,
boolean bThrowValidationExceptions)
fact - contextElement -
public java.util.Hashtable<javax.xml.namespace.QName,XMLFragment> getDimData(XBRLDimensionsContainer dimData,
boolean throwValidationExceptions)
dimData -
public XBRLValidationReport validate(XBRLDocument doc)
doc - public XBRLValidationReport validate()
XBRLPlugInProcessor
validate in interface XBRLPlugInProcessorXBRLValidationReportpublic XDTDimension getDimension(javax.xml.namespace.QName dimension)
dimension - public static java.lang.Boolean getUsable(XBRLRelationship rel)
rel -
public java.lang.String getDescription()
XBRLPlugInProcessor
getDescription in interface XBRLPlugInProcessorpublic java.lang.String getName()
XBRLPlugInProcessor
getName in interface XBRLPlugInProcessorpublic static java.lang.String getDescriptionStatic()
public static XMLFragment getExplicitDimFragment(DTSContainer dts,
javax.xml.namespace.QName dimension,
javax.xml.namespace.QName member)
dts - The DTSContainer the new fragment will belong todimension - the QName of the dimension container. Note it is not validated the dimension exist on the DTSmember - the QName value for the dimension. Note it is not validated the qname is a dimension member.
public static XMLFragment getTypedDimFragment(DTSContainer dts,
javax.xml.namespace.QName dimension,
XMLFragment value)
dts - The DTSContainer the new fragment will belong todimension - the QName of the dimension container. Note it is not validated the dimension exist on the DTSvalue - the typed dimension child element
public static XMLFragment getTypedDimFragment(DTSContainer dts,
javax.xml.namespace.QName dimension,
net.sf.saxon.s9api.XdmValue value)
dts - The DTSContainer the new fragment will belong todimension - the QName of the dimension container. Note it is not validated the dimension exist on the DTSvalue - the typed dimension child element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||