public class DimensionExplicitRule extends DimensionCommonAspectRule implements ExplicitDimensionAspectInterface
Modifier and Type | Field and Description |
---|---|
static javax.xml.namespace.QName |
member
The Constant member.
|
static javax.xml.namespace.QName |
omit
The Constant omit.
|
static javax.xml.namespace.QName |
qname
The Constant qname.
|
static javax.xml.namespace.QName |
qnameExpression
The Constant qnameExpression.
|
static javax.xml.namespace.QName |
resourceName
The Constant resourceName.
|
Constructor and Description |
---|
DimensionExplicitRule(XBRLRuleNode ruleNode,
net.sf.saxon.s9api.XdmNode aspectNode)
Instantiates a new dimension explicit rule.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear.
|
java.lang.Object |
getAspectClashIdentity()
Gets the aspect clash identity.
|
int |
getAspectType()
Gets the aspect type.
|
javax.xml.namespace.QName |
getMember(XBRLStructuralTable xbrlTable)
Returns the QName member this DimensionExplicitRule contributes.
|
DimensionAndMemberQNamesPair |
getMember(XBRLStructuralTable table,
CellHeader[] header)
Gets the member.
|
int |
getMembersCount()
Gets the members count.
|
javax.xml.namespace.QName |
getStaticMember()
If the node contains the member explicitly defined as a QName, this
method returns the defined member in the resource.
|
void |
resetNode()
Reset node.
|
java.lang.String |
toString()
To string.
|
getDimension
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDimension
public static final javax.xml.namespace.QName resourceName
public static final javax.xml.namespace.QName member
public static final javax.xml.namespace.QName omit
public static final javax.xml.namespace.QName qname
public static final javax.xml.namespace.QName qnameExpression
public DimensionExplicitRule(XBRLRuleNode ruleNode, net.sf.saxon.s9api.XdmNode aspectNode) throws XTValidationException
ruleNode
- the rule nodeaspectNode
- the aspect nodeXTValidationException
- the XT validation exceptionpublic java.lang.String toString()
toString
in class java.lang.Object
public javax.xml.namespace.QName getStaticMember()
Note, this method is not stable. We may remove this method and create a single method to remove the need to provide an XPathHelper if that is possible. At this time we cannot evaluate if this is possible so we have two methods in place
public javax.xml.namespace.QName getMember(XBRLStructuralTable xbrlTable) throws XTValidationException
getMember
in interface ExplicitDimensionAspectInterface
xbrlTable
- this is the table this expression is participating. This is used
to obtain the table parametersXTValidationException
- the XT validation exceptionpublic java.lang.Object getAspectClashIdentity()
getAspectClashIdentity
in interface Aspect<DimensionAndValuePair<javax.xml.namespace.QName>>
public int getAspectType()
getAspectType
in interface Aspect<DimensionAndValuePair<javax.xml.namespace.QName>>
public int getMembersCount()
getMembersCount
in interface DimensionAspectInterface<javax.xml.namespace.QName>
public void resetNode()
resetNode
in interface DimensionAspectInterface<javax.xml.namespace.QName>
resetNode
in interface Aspect<DimensionAndValuePair<javax.xml.namespace.QName>>
public DimensionAndMemberQNamesPair getMember(XBRLStructuralTable table, CellHeader[] header) throws XTValidationException
getMember
in interface Aspect<DimensionAndValuePair<javax.xml.namespace.QName>>
table
- the tableheader
- the headerXTValidationException
- the XT validation exceptionpublic void clear()
clear
in interface Aspect<DimensionAndValuePair<javax.xml.namespace.QName>>
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa