public class DefaultAspectRule extends CommonAspectRule implements ConceptAspectInterface, EntityIdentifierAspectInterface, PeriodAspectInterface, UnitAspectInterface, ContextComponentRuleInterface, DimensionAspectInterface, LocationAspectInterface
| Constructor and Description |
|---|
DefaultAspectRule(Aspect aspect,
XBRLFormula formula,
net.sf.saxon.s9api.XdmNode aspectNode,
int type)
Instantiates a new default aspect rule.
|
| Modifier and Type | Method and Description |
|---|---|
XMLElementDefinition |
getConcept()
Gets the concept.
|
javax.xml.namespace.QName |
getDimension()
Gets the dimension.
|
XBRLEntity |
getEntity()
Gets the entity.
|
XBRLContext |
getLastEvaluatedContext()
Gets the last evaluated context.
|
XBRLFactsList |
getLocation(XBRLInstance instance)
Gets the location.
|
XBRLPeriod |
getPeriod()
Gets the period.
|
XBRLItem.PeriodType |
getPeriodType(XBRLItem item)
Gets the period type.
|
javax.xml.namespace.QName |
getSource()
Access to the source from other classes.
|
XBRLUnit |
getUnit()
Gets the unit.
|
boolean |
isStaticConcept()
Checks if is static concept.
|
void |
resetLastEvaluated()
Reset last evaluated.
|
void |
resolve(XMLElementDefinition el,
FContext fc,
javax.xml.namespace.QName dimName)
Resolve.
|
void |
updateDimensionsContainer(FContext fctx,
boolean bIsOcc)
Update dimensions container.
|
public DefaultAspectRule(Aspect aspect, XBRLFormula formula, net.sf.saxon.s9api.XdmNode aspectNode, int type) throws XFValidationException
aspect - the aspectformula - the formulaaspectNode - the aspect nodetype - this is either TYPED or EXPLICIT but only when DIMENSION is the aspectXFValidationException - the XF validation exceptionpublic XMLElementDefinition getConcept() throws XFValidationException
getConcept in interface ConceptAspectInterfaceXFValidationException - the XF validation exceptionpublic boolean isStaticConcept()
isStaticConcept in interface ConceptAspectInterfacepublic XBRLItem.PeriodType getPeriodType(XBRLItem item)
getPeriodType in interface PeriodAspectInterfaceitem - the itempublic XBRLEntity getEntity() throws XFValidationException
getEntity in interface EntityIdentifierAspectInterfaceXFValidationException - the XF validation exceptionpublic XBRLPeriod getPeriod() throws XFValidationException
getPeriod in interface PeriodAspectInterfaceXFValidationException - the XF validation exceptionpublic XBRLUnit getUnit() throws XFValidationException
getUnit in interface UnitAspectInterfaceXFValidationException - the XF validation exceptionpublic void updateDimensionsContainer(FContext fctx, boolean bIsOcc) throws XFValidationException
updateDimensionsContainer in interface ContextComponentRuleInterfacefctx - the fctxbIsOcc - the b is occXFValidationException - the XF validation exceptionpublic XBRLContext getLastEvaluatedContext()
getLastEvaluatedContext in interface EntityIdentifierAspectInterfacepublic void resetLastEvaluated()
resetLastEvaluated in interface EntityIdentifierAspectInterfacepublic void resolve(XMLElementDefinition el, FContext fc, javax.xml.namespace.QName dimName) throws XFValidationException
resolve in interface DimensionAspectInterfaceel - the elfc - the fcdimName - the dim nameXFValidationException - the XF validation exceptionpublic javax.xml.namespace.QName getDimension()
getDimension in interface DimensionAspectInterfacepublic XBRLFactsList getLocation(XBRLInstance instance)
getLocation in interface LocationAspectInterfaceinstance - the instancepublic javax.xml.namespace.QName getSource()
getSource in interface EntityIdentifierAspectInterfaceCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa