public class UnitAspectRule extends CommonAspectRule implements UnitAspectInterface
| Modifier and Type | Field and Description |
|---|---|
static javax.xml.namespace.QName |
divideBy
The Constant divideBy.
|
static javax.xml.namespace.QName |
multiplyBy
The Constant multiplyBy.
|
static javax.xml.namespace.QName |
resourceName
The Constant resourceName.
|
ALLDIMENSIONALASPECTS, ALLNONDIMENSIONALASPECTS, ANY, COMPLETESCENARIO, COMPLETESEGMENT, CONCEPT, DIMENSION, ENTITYIDENTIFIER, LOCATION, NONE, NONXDTSCENARIO, NONXDTSEGMENT, PERIOD, UNIT, VALUE| Constructor and Description |
|---|
UnitAspectRule(XBRLFormula formula,
net.sf.saxon.s9api.XdmNode aspectNode)
Instantiates a new unit aspect rule.
|
| Modifier and Type | Method and Description |
|---|---|
XBRLUnit |
getUnit(XPathHelper xph)
Gets the unit.
|
getAspectsTextpublic static final javax.xml.namespace.QName resourceName
public static final javax.xml.namespace.QName multiplyBy
public static final javax.xml.namespace.QName divideBy
public UnitAspectRule(XBRLFormula formula, net.sf.saxon.s9api.XdmNode aspectNode) throws XFValidationException
formula - the formulaaspectNode - the aspect nodeXFValidationException - the XF validation exceptionpublic XBRLUnit getUnit(XPathHelper xph) throws XFValidationException
UnitAspectInterfacegetUnit in interface UnitAspectInterfacexph - the xphXFValidationException - the XF validation exception