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.
|
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()
Gets the period.
|
XBRLItem.PeriodType |
getPeriodType(XBRLItem item)
Gets the period type.
|
public 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)
getPeriodType
in interface PeriodAspectInterface
item
- the itempublic XBRLPeriod getPeriod() throws XFValidationException
getPeriod
in interface PeriodAspectInterface
XFValidationException
- the XF validation exceptionCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa