|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.comparator.XBRLFragmentWrapper
public class XBRLFragmentWrapper
This is a wrapper class for an XMLFragment object. Instances of this class can be compared to other other XBRLFragmentWrapper to generate an ordered set of objects.
| Constructor Summary | |
|---|---|
XBRLFragmentWrapper(XMLFragment item,
DTSComparator comparator)
Creates a XBRLFragmentWrapper object. |
|
| Method Summary | |
|---|---|
int |
compareTo(XBRLFragmentWrapper o)
This method has been implemented in order to order to sets of relationships so they can be compared in the right sequence. |
boolean |
equals(java.lang.Object other)
Each XBRLFragmentWrapper has an array of correspondenceID Two XBRLFragmentWrapper equals if they have one correspondenceID in common |
java.lang.String[] |
getCorrespondenceID()
Access to the array of correspondence IDs |
static java.lang.String[] |
getCorrespondenceID(XMLFragment item2,
DTSComparator comparator,
java.util.HashSet<XMLFragment> skipFragments)
Generates the array of correspondence IDs for an XMLFragment |
java.lang.String |
getIdentificationID()
Access to the identification ID for the surrounding object |
static java.lang.String |
getIdentificationID(XMLFragment item2)
The Item Identification ID is an string identifying the concept in a DTS |
java.lang.String |
getItemShortName()
Access to the short name of the encapsulated item |
static java.lang.String |
getItemShortName(java.lang.Object item)
Returns a short name describing an object |
int |
hashCode()
Generates a hash code for this Wrapper object This code MUST be independent of the Wrapper DTS container |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XBRLFragmentWrapper(XMLFragment item,
DTSComparator comparator)
item - comparator - | Method Detail |
|---|
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int compareTo(XBRLFragmentWrapper o)
compareTo in interface java.lang.Comparable<XBRLFragmentWrapper>public int hashCode()
hashCode in class java.lang.Objectpublic static java.lang.String getItemShortName(java.lang.Object item)
item -
public java.lang.String getIdentificationID()
public java.lang.String[] getCorrespondenceID()
public static java.lang.String getIdentificationID(XMLFragment item2)
item2 -
public static java.lang.String[] getCorrespondenceID(XMLFragment item2,
DTSComparator comparator,
java.util.HashSet<XMLFragment> skipFragments)
item2 - the XMLFragmentcomparator - the DTSComparator class used to obtain the tables for namespace, item and resource correspondenceskipFragments - set of XMLFragments that will be skiped during the generation of the correspondende ID (used during recursive calls)
public java.lang.String getItemShortName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||