arelle.ModelObjectFactory

See COPYRIGHT.md for copyright information.

Module Contents

Classes

Functions

Data

API

arelle.ModelObjectFactory.elementSubstitutionModelClass: dict[Optional[arelle.ModelValue.QName], Type[arelle.ModelObject.ModelObject]]

None

arelle.ModelObjectFactory.ModelDocument: Any

None

arelle.ModelObjectFactory.ModelFact: Any

None

arelle.ModelObjectFactory.parser(modelXbrl: arelle.ModelXbrl.ModelXbrl, baseUrl: str | None, target: None = None) tuple[lxml.etree.XMLParser, KnownNamespacesModelObjectClassLookup, DiscoveringClassLookup]
arelle.ModelObjectFactory.setParserElementClassLookup(_parser: lxml.etree.XMLParser, modelXbrl: arelle.ModelXbrl.ModelXbrl, baseUrl: str | None = None) tuple[lxml.etree.XMLParser, KnownNamespacesModelObjectClassLookup, DiscoveringClassLookup]
arelle.ModelObjectFactory.SCHEMA

1

arelle.ModelObjectFactory.LINKBASE

2

arelle.ModelObjectFactory.VERSIONINGREPORT

3

arelle.ModelObjectFactory.RSSFEED

4

class arelle.ModelObjectFactory.KnownNamespacesModelObjectClassLookup(modelXbrl: arelle.ModelXbrl.ModelXbrl, fallback: lxml.etree.ElementClassLookup | None = None)

Bases: lxml.etree.CustomElementClassLookup

Initialization

lookup(node_type: str, document: lxml.etree._Document, ns: str | None, ln: str) Type[lxml.etree.ElementBase] | None
class arelle.ModelObjectFactory.DiscoveringClassLookup(modelXbrl: arelle.ModelXbrl.ModelXbrl, baseUrl: str | None, fallback: lxml.etree.ElementClassLookup | None = None)

Bases: lxml.etree.PythonElementClassLookup

Initialization

lookup(document: lxml.etree._Document, proxyElement: lxml.etree._Element) Type[arelle.ModelObject.ModelObject]