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

java.lang.Object
  extended by com.ihr.xbrl.om.formula.aspects.CommonAspectRule
      extended by 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
 
Constructor Summary
PeriodAspectRule(XBRLFormula formula, net.sf.saxon.s9api.XdmNode aspectNode)
           
 
Method Summary
 XBRLPeriod getPeriod(XPathHelper xph)
           
 XBRLItem.PeriodType getPeriodType(XBRLItem item)
          Returns a constant identifying either XBRLItem.DURATION or XBRLItem.INSTANT
 
Methods inherited from class com.ihr.xbrl.om.formula.aspects.CommonAspectRule
getAspectsText
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

PeriodAspectRule

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

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