public abstract class XBRLAssertion extends XBRLVariableSetResource implements EvaluableAssertion, XMLEvaluationContextProvider, AssertionEvaluationLocal, StaticAssertionCheck, XBRLMessageContext
XBRLValidation.DirectionaspectModel, implicitFiltering, lognullResourceactuate, ACTUATE, ARC, arcrole, ARCROLE, ETITLE, EXTENDED, from, FROM, href, HREF, label, LABEL, LOCATOR, RESOURCE, role, ROLE, show, SHOW, SIMPLE, title, TITLE, to, TO, TYPECONCEPT_LABEL, CONCEPT_QNAME, EASY_TO_READ, ELEMENT_LABEL, EMPTYRELATIONSHIPSITERATORINSTANCE, EMPTYXMLFRAGMENTITERATORINSTANCE, FACT_CONCEPT_DATATYPE, FACT_CONCEPT_LABEL, FACT_QNAME, HIDE_COMMON_ACCURACY, idQName, NO_POSITION, OrderComparator, OrderComparator2, PERIOD_TYPE, PERIOD_VALUE, SHORT_TEXT, SOURCE_DOCUMENT, XPATH, XPOINTERMODEL_DIMENSIONAL, MODEL_NON_DIMENSIONAL| Constructor and Description |
|---|
XBRLAssertion(XBRLFormulaProcessor proc,
XBRLExtendedLink parent,
net.sf.saxon.s9api.XdmNode resNode)
Creates a new assertion from a node in an extended link.
|
XBRLAssertion(XBRLFormulaProcessor proc,
XBRLResource other)
Assertions are normally created by copying another existing resource.
|
| Modifier and Type | Method and Description |
|---|---|
XBRLAssertionResult[] |
evaluateAssertion(XBRLInstance doc)
Required for evaluating the assertion.
|
XMLFragment |
getEvaluationContext()
Gets the evaluation context.
|
abstract java.lang.String |
getExpression()
Returns the assertion XPath expression.
|
java.lang.String |
getToolTipText()
Returns a small text with HTML code that can be represented in a tool tip with
information about this XMLFragment.
|
void |
resetEvaluationContext()
Reset evaluation context.
|
void |
staticCheck()
Static check.
|
allDimensions, bindCycle, bindLastEvaluatedVariableValues, bindParameters, bindVariableValue, checkCyclicDependencies, compileFilters, compileFormulaExpression, declareVariables, getAspectModel, getBindableVariableNames, getFilters, getNumberOfVariables, getOptimizer, getUncoveredAspectsSet, getUncoveredAspectValue, getVariableResource, getVariableResourceUses, getVariableUse, getVariableValue, getVariableValue, getXFIImplicitFilterOptimizer, isCovered, isImplicitFiltergetProcessoraddChild, clear, equals, generateLocatorToNode, generateNode, getAttributes, getDTSBase, getFriendlyName, getFriendlyName, getParent, getResourceIdentifier, getRoleType, getType, getValidationReport, getValueKey, hashCode, invalidate, invalidate, isComplexType, isOnValidation, isSimpleType, setComplexType, setDTSBase, setId, setParent, setRole, setRoleType, setSimpleType, setValue, validategetActuate, getArcrole, getFromTxt, getHRef, getLabel, getRole, getShow, getStaticLabel, getSType, getTitle, getToTxt, isRequiredAttribute, isValidAttribute, setActuate, setArcrole, setFrom, setHRef, setLabel, setShow, setSType, setTitle, setToaddAttribute, addFromRelationship, addNamespace, addNamespace, addToRelationship, addXMLChild, changeBase, checkBase, clone, clone, delAttribute, delAttribute, equalXdmValues, evaluateBoolean, evaluateList, evaluateNode, evaluateNumber, evaluateString, generateId, generateNodeNamespacesAndAttributes, generateNodeValue, generatePrefix, getAllAttributes, getAttribute, getAttributeBooleanValue, getAttributeQNameValue, getAttributes, getAttributeStringValue, getAttributeValue, getBase, getBase, getBaseURI, getBooleanValue, getChild, getContainer, getContainerDocumentURI, getDeclaredNamespaces, getDocument, getElements, getElementsHashCode, getFragment, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getGenericLabelText, getId, getLang, getNamespaceURI, getNodeName, getNumberOfAttributes, getNumberOfElements, getNumberOfFromRelationships, getNumberOfToRelationships, getOrGenerateId, getPrefix, getPrefixes, getQNameValue, getRelationshipsBases, getRelationshipsChain, getRelationshipTypes, getStaticContext, getStaticNamespace, getStringValue, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getValue, getXPathExecutable, getXPathNamespaceContext, getXPathToNode, getXPathToRoot, getXPointerElementScheme, getXPointerElementScheme, getXPointerShorthandScheme, getXPointerToNode, isDead, isNamespaceDefined, isXdmDocumentAttached, objEquals, objHashCode, qNameToString, removeAttribute, removeChild, removeChild, removeFromRelationship, removeToRelationship, removeXMLChild, resetElements, resetHash, resolve_equal2, resolveHRef, resolveHRef, s_equal2, s_equal2, s_equal2, setAttributes, setBase, setDocument, setDocumentAndReload, setElements, setLang, setNamespaceContext, setNamespaces, setNode, setNodeName, setParent, setRegenerateNodeIfnotFound, setValue, setVariablesDefined, size, thin, toString, valueEquals, xEqualgetErrorIdentification, getLabel, getResourceevaluateAssertionTypestaticAssertionCheckcollectAssertionVariablenames, getAssertionContextItem, getAssertionMessageVariablesgetProcessoraddFromRelationship, addToRelationship, getFromRelationships, getToRelationships, removeFromRelationship, removeToRelationshippublic XBRLAssertion(XBRLFormulaProcessor proc, XBRLExtendedLink parent, net.sf.saxon.s9api.XdmNode resNode) throws XFValidationException
proc - the procparent - the parentresNode - the res nodeXFValidationException - the XF validation exceptionpublic XBRLAssertion(XBRLFormulaProcessor proc, XBRLResource other) throws XFValidationException
proc - the procother - the otherXFValidationException - the XF validation exceptionpublic XBRLAssertionResult[] evaluateAssertion(XBRLInstance doc) throws XFValidationException
EvaluableAssertionevaluateAssertion in interface EvaluableAssertiondoc - the docXFValidationException - the XF validation exceptionpublic XMLFragment getEvaluationContext()
XMLEvaluationContextProvidergetEvaluationContext in interface XMLEvaluationContextProviderpublic void resetEvaluationContext()
public void staticCheck()
throws XFValidationException
XFValidationException - the XF validation exceptionpublic abstract java.lang.String getExpression()
public java.lang.String getToolTipText()
XMLFragmentgetToolTipText in class XMLFragment