com.ihr.xbrl.om.formula.aspects
Class PeriodAspectRule
java.lang.Object
com.ihr.xbrl.om.formula.aspects.CommonAspectRule
com.ihr.xbrl.om.formula.aspects.PeriodAspectRule
- All Implemented Interfaces:
- PeriodAspectInterface
public class PeriodAspectRule
- extends CommonAspectRule
- implements PeriodAspectInterface
- Author:
- Ignacio
|
Field Summary |
static javax.xml.namespace.QName |
duration
|
static javax.xml.namespace.QName |
end
|
static javax.xml.namespace.QName |
forever
|
static javax.xml.namespace.QName |
instant
|
static javax.xml.namespace.QName |
resourceName
|
static javax.xml.namespace.QName |
start
|
static javax.xml.namespace.QName |
value
|
| Fields inherited from class com.ihr.xbrl.om.formula.aspects.CommonAspectRule |
ALLDIMENSIONALASPECTS, ALLNONDIMENSIONALASPECTS, ANY, COMPLETESCENARIO, COMPLETESEGMENT, CONCEPT, DIMENSION, ENTITYIDENTIFIER, LOCATION, NONE, NONXDTSCENARIO, NONXDTSEGMENT, PERIOD, UNIT, VALUE |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resourceName
public static final javax.xml.namespace.QName resourceName
forever
public static final javax.xml.namespace.QName forever
instant
public static final javax.xml.namespace.QName instant
duration
public static final javax.xml.namespace.QName duration
value
public static final javax.xml.namespace.QName value
start
public static final javax.xml.namespace.QName start
end
public static final javax.xml.namespace.QName end
PeriodAspectRule
public PeriodAspectRule(XBRLFormula formula,
net.sf.saxon.s9api.XdmNode aspectNode)
throws XFValidationException
- Parameters:
aspectNode -
- Throws:
XFxbrlfeIncompletePeriodRule
XFValidationException
getPeriodType
public XBRLItem.PeriodType getPeriodType(XBRLItem item)
- Description copied from interface:
PeriodAspectInterface
- Returns a constant identifying either XBRLItem.DURATION or XBRLItem.INSTANT
- Specified by:
getPeriodType in interface PeriodAspectInterface
getPeriod
public XBRLPeriod getPeriod(XPathHelper xph)
throws XFValidationException
- Specified by:
getPeriod in interface PeriodAspectInterface
- Returns:
-
- Throws:
XFValidationException
Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa