public class XDTInfosetConsumer
extends java.lang.Object
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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()
Gets the xdt.
|
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.
|
public XDTInfosetConsumer(XDTProcessor xdt)
xdt
- the xdtpublic 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
- the keypublic static java.util.HashSet<XDTValidCombinationSet> union(java.util.Collection<XDTValidCombinationSet> set1, java.util.Collection<XDTValidCombinationSet> set2)
set1
- HashSetset2
- HashSetpublic static java.util.HashSet<XDTValidCombinationSet> intersection(java.util.Collection<XDTValidCombinationSet> set1, java.util.Collection<XDTValidCombinationSet> set2)
set1
- Collectionset2
- Collectionpublic XDTProcessor getXdt()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa