public class PeriodAspectRule extends CommonAspectRule implements PeriodAspectInterface
| Modifier and Type | Field and Description |
|---|---|
static javax.xml.namespace.QName |
duration
The Constant duration.
|
static javax.xml.namespace.QName |
end
The Constant end.
|
static javax.xml.namespace.QName |
forever
The Constant forever.
|
static javax.xml.namespace.QName |
instant
The Constant instant.
|
static javax.xml.namespace.QName |
resourceName
The Constant resourceName.
|
static javax.xml.namespace.QName |
start
The Constant start.
|
static javax.xml.namespace.QName |
value
The Constant value.
|
ALLDIMENSIONALASPECTS, ALLNONDIMENSIONALASPECTS, ANY, COMPLETESCENARIO, COMPLETESEGMENT, CONCEPT, DIMENSION, ENTITYIDENTIFIER, LOCATION, NONE, NONXDTSCENARIO, NONXDTSEGMENT, PERIOD, UNIT, VALUE| Constructor and Description |
|---|
PeriodAspectRule(XBRLFormula formula,
net.sf.saxon.s9api.XdmNode aspectNode)
Instantiates a new period aspect rule.
|
| Modifier and Type | Method and Description |
|---|---|
XBRLPeriod |
getPeriod(XPathHelper xph)
Gets the period.
|
XBRLItem.PeriodType |
getPeriodType(XBRLItem item)
Returns a constant identifying either XBRLItem.DURATION or XBRLItem.INSTANT
|
getAspectsTextpublic static final javax.xml.namespace.QName resourceName
public static final javax.xml.namespace.QName forever
public static final javax.xml.namespace.QName instant
public static final javax.xml.namespace.QName duration
public static final javax.xml.namespace.QName value
public static final javax.xml.namespace.QName start
public static final javax.xml.namespace.QName end
public PeriodAspectRule(XBRLFormula formula, net.sf.saxon.s9api.XdmNode aspectNode) throws XFValidationException
formula - the formulaaspectNode - the aspect nodeXFValidationException - the XF validation exceptionpublic XBRLItem.PeriodType getPeriodType(XBRLItem item)
PeriodAspectInterfacegetPeriodType in interface PeriodAspectInterfaceitem - the itempublic XBRLPeriod getPeriod(XPathHelper xph) throws XFValidationException
PeriodAspectInterfacegetPeriod in interface PeriodAspectInterfacexph - the xphXFValidationException - the XF validation exception