xbrl.table.RuleNode

An xbrl.table.RuleNode represents a <table:ruleNode> resource in the table linkbase.

Base class: xbrl.table.ClosedDefinitionNode -> xbrl.table.DefinitionNode

class xbrl.table.RuleNode

Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a NotImplementedError exception.

Attributes

xbrl.table.RuleNode.abstract

Returns the effective value of the ‘abstract’ attribute as bool.

xbrl.table.RuleNode.merge

Returns the effective value of the ‘merge’ attribute as bool.

xbrl.table.ClosedDefinitionNode.parent_child_order

Returns the value of the ‘parentChildOrder’ attribute as an xbrl.table.ParentChildOrder enumeration, or None if the ‘parentChildOrder’ attribute is absent.

xbrl.table.DefinitionNode.participating_aspects

Returns an xbrl.AspectSet object representing the set of participating aspects for this definition node.

xbrl.table.RuleNode.rule_sets

Returns an iterator of xbrl.table.RuleSet objects which represent the <table:ruleSet> child elements. The untagged rule set is also represented by an xbrl.table.RuleSet object.

xbrl.table.DefinitionNode.subtree_relationships

Returns an iterator of xbrl.table.DefinitionNodeSubtreeRelationship objects which represent the definition-node-subtree relationships from this <table:definitionNode> resource.

xbrl.table.DefinitionNode.tag_selector

Returns the value of the ‘tagSelector’ attribute as string or None if the ‘tagSelector’ attribute is absent.

Methods

xbrl.table.RuleNode.rule_set(tag)

Returns an xbrl.table.RuleSet object representing the <table:ruleSet> elmenet with the given tag, or None if there is no such rule set. To retrieve the untagged rule set set tag to None.

Special methods

__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__