xbrl.Context.Entity¶
An xbrl.Context.Entity class represents an <xbrli:entity> element with an XBRL context in the XBRL instance.
Nested classes: xbrl.Context.Entity.Identifier, xbrl.Context.Entity.Segment
-
class
xbrl.Context.Entity¶ Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a
NotImplementedErrorexception.
Attributes¶
-
xbrl.Context.Entity.element¶ Returns an
xml.ElementInformationItemobject which represents the <xbrli:entity> element information item.
-
xbrl.Context.Entity.identifier¶ Returns an
xbrl.Context.Entity.Identifierobject which represents the <xbrli:identifier> element of the XBRL context.
-
xbrl.Context.Entity.segment¶ Returns an
xbrl.Context.Entity.Segmentobject which represents the <xbrli:segment> element of the XBRL context, or None if the XBRL context doesn’t have a segment element.
Special methods¶
__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__