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 |
|---|---|
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.
|
javax.xml.namespace.QName |
getMember(XBRLStructuralTable xbrlTable)
Returns the QName member this DimensionExplicitRule contributes.
|
DimensionAndMemberQNamesPair |
getMember(XBRLStructuralTable table,
CellHeader[] header)
Convert this aspect into a proper 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() |
getDimensionequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDimensionpublic 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.Objectpublic 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 ExplicitDimensionAspectInterfacexbrlTable - this is the table this expression is participating. This is used
to obtain the table parametersXTValidationException - the XT validation exceptionpublic java.lang.Object getAspectClashIdentity()
AspectgetAspectClashIdentity in interface Aspect<DimensionAndValuePair<javax.xml.namespace.QName>>public int getAspectType()
AspectgetAspectType in interface Aspect<DimensionAndValuePair<javax.xml.namespace.QName>>public int getMembersCount()
DimensionAspectInterfacegetMembersCount in interface DimensionAspectInterface<javax.xml.namespace.QName>public void resetNode()
DimensionAspectInterfaceresetNode in interface DimensionAspectInterface<javax.xml.namespace.QName>public DimensionAndMemberQNamesPair getMember(XBRLStructuralTable table, CellHeader[] header) throws XTValidationException
AspectgetMember in interface Aspect<DimensionAndValuePair<javax.xml.namespace.QName>>table - the tableheader - the headerXTValidationException - the XT validation exception