public class XBRLRuleNode extends XBRLClosedDefinitionNode implements StaticCheck
| Modifier and Type | Class and Description |
|---|---|
static class |
XBRLRuleNode.RuleSet
The Class RuleSet.
|
HasParentChildAttribute.ParentChildEnumXBRLValidation.Direction| Modifier and Type | Field and Description |
|---|---|
static javax.xml.namespace.QName |
_abstract
This is the attribute name "abstract" represented as a QName.
|
static javax.xml.namespace.QName |
merge
This is the attribute name "merged" represented as a QName.
|
static java.lang.String |
UNTAGGED_TAG_NAME
The Constant UNTAGGED_TAG_NAME.
|
tagSelectorlog, nullResourceactuate, 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, XPOINTERparentChilOrder| Constructor and Description |
|---|
XBRLRuleNode(XBRLTableProcessor xbrlTableProcessor,
XBRLResource res)
Instantiates a new XBRL rule node.
|
| Modifier and Type | Method and Description |
|---|---|
XBRLRuleNode.RuleSet |
getRuleSetByTag(java.lang.String tag)
Gets the rule set by tag.
|
java.util.Iterator<java.lang.String> |
getTags()
Gets the tags.
|
boolean |
isAbstract()
Returns true if this rule node contains an abstract attribute whose value is true
if the attribute does not exists or if it exists and the value is false this
method returns false
|
boolean |
isMerge()
returns true if this rule node contains a merged attribute whose value is true
if the attribute does not exists or if it exists and the value is false this
method returns false.
|
void |
staticCheck()
Resources that has static checking implements this interface.
|
void |
staticCheckAspectRules()
Called during the compilation of the resource.
|
allowRollUps, getParentChildOrder, isParentChildOrderDefinedgetBreakdownTree, getNumberOfNodes, getTagSelector, hasOpen, isLeaf, isOpen, readDefinitionNodeSubTree, resetTablegetFPXPathCompiler, getProcessor, isSpecificationVersionaddChild, 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, getToolTipText, 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, xEqualaddFromRelationship, addToRelationship, getFromRelationships, getToRelationships, removeFromRelationship, removeToRelationshippublic static final javax.xml.namespace.QName _abstract
public static final javax.xml.namespace.QName merge
public static final java.lang.String UNTAGGED_TAG_NAME
public XBRLRuleNode(XBRLTableProcessor xbrlTableProcessor, XBRLResource res) throws XTValidationException
xbrlTableProcessor - the xbrl table processorres - the resXTValidationException - the XT validation exceptionpublic java.util.Iterator<java.lang.String> getTags()
public XBRLRuleNode.RuleSet getRuleSetByTag(java.lang.String tag)
tag - the tagpublic boolean isAbstract()
isAbstract in class XBRLDefinitionNodepublic boolean isMerge()
public void staticCheckAspectRules()
throws XTValidationException,
XFValidationException
This method updates the internal variable allAspectsIndicated
XTValidationException - the XT validation exceptionXFValidationException - the XF validation exceptionpublic void staticCheck()
throws XTValidationException,
XFValidationException
StaticCheckIn case of errors, the staticCheck method raises XTValidationException
staticCheck in interface StaticCheckXTValidationException - if static errors occursXFValidationException - if static errors occurs and the error is defined in the formula specification