public class PeriodAspectRule extends java.lang.Object 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(XBRLRuleNode ruleNode,
net.sf.saxon.s9api.XdmNode aspectNode)
Instantiates a new period aspect rule.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getAspectClashIdentity()
Returns an object that can be used to evaluate aspect clash.
|
int |
getAspectType()
Returns a value from the CommonAspectRule class that identifies the aspect type.
|
XBRLPeriod |
getMember(XBRLStructuralTable table,
CellHeader[] header)
Convert this aspect into a proper Member
|
XBRLPeriod |
getPeriod(XBRLStructuralTable xbrlTable)
Gets the period.
|
XBRLItem.PeriodType |
getPeriodType(XBRLItem item)
Returns a constant identifying either XBRLItem.DURATION or XBRLItem.INSTANT
|
void |
resetNode()
Reset node.
|
java.lang.String |
toString() |
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(XBRLRuleNode ruleNode, net.sf.saxon.s9api.XdmNode aspectNode) throws XTValidationException
ruleNode - the rule nodeaspectNode - the aspect nodeXTValidationException - the XT validation exceptionpublic XBRLItem.PeriodType getPeriodType(XBRLItem item)
PeriodAspectInterfacegetPeriodType in interface PeriodAspectInterfaceitem - the itempublic XBRLPeriod getPeriod(XBRLStructuralTable xbrlTable)
PeriodAspectInterfacegetPeriod in interface PeriodAspectInterfacexbrlTable - the xbrl tablepublic java.lang.Object getAspectClashIdentity()
AspectgetAspectClashIdentity in interface Aspect<XBRLPeriod>public int getAspectType()
AspectgetAspectType in interface Aspect<XBRLPeriod>public java.lang.String toString()
toString in class java.lang.Objectpublic XBRLPeriod getMember(XBRLStructuralTable table, CellHeader[] header) throws XTValidationException
AspectgetMember in interface Aspect<XBRLPeriod>table - the tableheader - the headerXTValidationException - the XT validation exceptionpublic void resetNode()
PeriodAspectInterfaceresetNode in interface PeriodAspectInterface