com.ihr.xbrl.om.formula.aspects
Class CommonAspectRule

java.lang.Object
  extended by com.ihr.xbrl.om.formula.aspects.CommonAspectRule
Direct Known Subclasses:
ConceptAspectRule, DefaultAspectRule, DimensionCommonAspectRule, EmptyAspectRule, EntityIdentifierAspectRule, FragmentsAspectRule, PeriodAspectRule, UnitAction, UnitAspectRule, UnitNoUnitAspectRule, XPathAspectRule

public class CommonAspectRule
extends java.lang.Object

Helper and common methods in all rules. As, for example, dealing with nearest sources

Author:
Ignacio

Field Summary
static int ALLDIMENSIONALASPECTS
           
static int ALLNONDIMENSIONALASPECTS
           
static int ANY
           
static int COMPLETESCENARIO
           
static int COMPLETESEGMENT
           
static int CONCEPT
           
static int DIMENSION
           
static int ENTITYIDENTIFIER
           
static int LOCATION
           
static int NONE
           
static int NONXDTSCENARIO
           
static int NONXDTSEGMENT
           
static int PERIOD
           
static int UNIT
           
static int VALUE
           
 
Constructor Summary
CommonAspectRule(net.sf.saxon.s9api.XdmNode aspectNode, XBRLFormula formula)
           
 
Method Summary
static java.lang.String getAspectsText(int aspects)
          Converts the bitmap of aspects into a string of comma separated aspect names.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final int NONE
See Also:
Constant Field Values

LOCATION

public static final int LOCATION
See Also:
Constant Field Values

CONCEPT

public static final int CONCEPT
See Also:
Constant Field Values

ENTITYIDENTIFIER

public static final int ENTITYIDENTIFIER
See Also:
Constant Field Values

PERIOD

public static final int PERIOD
See Also:
Constant Field Values

UNIT

public static final int UNIT
See Also:
Constant Field Values

COMPLETESEGMENT

public static final int COMPLETESEGMENT
See Also:
Constant Field Values

COMPLETESCENARIO

public static final int COMPLETESCENARIO
See Also:
Constant Field Values

NONXDTSEGMENT

public static final int NONXDTSEGMENT
See Also:
Constant Field Values

NONXDTSCENARIO

public static final int NONXDTSCENARIO
See Also:
Constant Field Values

DIMENSION

public static final int DIMENSION
See Also:
Constant Field Values

VALUE

public static final int VALUE
See Also:
Constant Field Values

ALLDIMENSIONALASPECTS

public static final int ALLDIMENSIONALASPECTS
See Also:
Constant Field Values

ALLNONDIMENSIONALASPECTS

public static final int ALLNONDIMENSIONALASPECTS
See Also:
Constant Field Values

ANY

public static final int ANY
See Also:
Constant Field Values
Constructor Detail

CommonAspectRule

public CommonAspectRule(net.sf.saxon.s9api.XdmNode aspectNode,
                        XBRLFormula formula)
                 throws XFxbrlfeIllegalUseOfUncoveredQName
Parameters:
aspectNode -
Throws:
XFxbrlfeIllegalUseOfUncoveredQName
Method Detail

getAspectsText

public static java.lang.String getAspectsText(int aspects)
Converts the bitmap of aspects into a string of comma separated aspect names. This method is used for logging purposes

Parameters:
aspects -
Returns:
String


Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa