|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.om.xdt.XDTInfosetConsumer
public class XDTInfosetConsumer
Consumes information from the XBRL Infoset in order to build the XDT Infoset This class builds the XDT Infoset and provides access to it. The XDT Infoset can be analyzed using a list of primary items.
| Constructor Summary | |
|---|---|
XDTInfosetConsumer(XDTProcessor xdt)
Creates XDTInfoset objects for versioning This removes "CONSUMES" information from the XBRL Infoset The construction analyzes all primary items in the DTS building its "effective" combinations and provides access to them to applications using this object |
|
| Method Summary | |
|---|---|
java.util.Iterator<javax.xml.namespace.QName> |
getAbstractPrimaryItems()
Returns an iterator over the QNames that represent primary items with dimensional information processed. |
XDTDimensionalPrimaryItem |
getPrimaryItem(javax.xml.namespace.QName key)
Returns an XDTDimensionalPrimaryItem object that is an encapsulation of a XDTPrimaryObject with the set of valid combinations for the segment and for the scenario. |
java.util.Iterator<javax.xml.namespace.QName> |
getPrimaryItems()
Returns an iterator over the QNames that represent primary items with dimensional information processed. |
XDTProcessor |
getXdt()
|
static java.util.HashSet<XDTValidCombinationSet> |
intersection(java.util.Collection<XDTValidCombinationSet> set1,
java.util.Collection<XDTValidCombinationSet> set2)
Combine two sets of combinations "intersection" operator means that only common members between set1 and set2 are valid |
static java.util.HashSet<XDTValidCombinationSet> |
union(java.util.Collection<XDTValidCombinationSet> set1,
java.util.Collection<XDTValidCombinationSet> set2)
Combine two sets of combinations "union" operator means that all members from set1 are valid and all members of set2 are valid but no duplicates can exist |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XDTInfosetConsumer(XDTProcessor xdt)
xdt - | Method Detail |
|---|
public java.util.Iterator<javax.xml.namespace.QName> getPrimaryItems()
public java.util.Iterator<javax.xml.namespace.QName> getAbstractPrimaryItems()
public XDTDimensionalPrimaryItem getPrimaryItem(javax.xml.namespace.QName key)
The method first search on non abstract items. If not found, then it search on abstract items.
If the concept definition does not have any dimension this function returns null;
key -
public static java.util.HashSet<XDTValidCombinationSet> union(java.util.Collection<XDTValidCombinationSet> set1,
java.util.Collection<XDTValidCombinationSet> set2)
set1 - HashSetset2 - HashSet
public static java.util.HashSet<XDTValidCombinationSet> intersection(java.util.Collection<XDTValidCombinationSet> set1,
java.util.Collection<XDTValidCombinationSet> set2)
set1 - Collectionset2 - Collectionpublic XDTProcessor getXdt()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||