Package

eu.cdevreeze.tqa

instance

Permalink

package instance

Model of XBRL instances, as "yaidom dialect".

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. instance
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class ArcroleRef extends XbrliElem with SimpleLink

    Permalink

    ArcroleRef in an XBRL instance

  2. sealed abstract class CanBeXbrliDocumentChild extends XbrliNode with CanBeDocumentChild

    Permalink
  3. sealed trait ChildXLink extends XbrliElem with XLinkElem with xlink.ChildXLink

    Permalink

    XLink child element of an extended link, so an XLink arc, locator or resource.

  4. final class Divide extends XbrliElem

    Permalink

    Divide in an XBRL instance unit

  5. final class EndDate extends XbrliElem

    Permalink

    End date in an XBRL instance context's period

  6. final class Entity extends XbrliElem

    Permalink

    Entity in an XBRL instance context

  7. final class ExplicitMember extends XbrliElem

    Permalink
  8. sealed trait ExtendedLink extends XbrliElem with XLinkLink with xlink.ExtendedLink

    Permalink

    XLink extended link.

    XLink extended link. For example, a footnote link.

  9. abstract class Fact extends XbrliElem

    Permalink

    Item or tuple fact in an XBRL instance, either top-level or nested (and either non-nil or nil)

  10. final class Footnote extends XbrliElem with XLinkResource

    Permalink

    Footnote in an XBRL instance

  11. final class FootnoteArc extends XbrliElem with XLinkArc

    Permalink

    FootnoteArc in an XBRL instance

  12. final class FootnoteLink extends XbrliElem with ExtendedLink

    Permalink

    FootnoteLink in an XBRL instance

  13. final class Forever extends XbrliElem

    Permalink

    Forver in an XBRL instance context's period

  14. final class ForeverPeriod extends Period

    Permalink

    Forever period in an XBRL instance context

  15. final class Identifier extends XbrliElem

    Permalink

    Identifier in an XBRL instance context entity

  16. final class Instant extends XbrliElem

    Permalink

    Instant in an XBRL instance context's period

  17. final class InstantPeriod extends Period

    Permalink

    Instant period in an XBRL instance context

  18. abstract class ItemFact extends Fact

    Permalink

    Item fact in an XBRL instance, either top-level or nested (and either non-nil or nil)

  19. sealed trait LabeledXLink extends XbrliElem with ChildXLink with xlink.LabeledXLink

    Permalink

    XLink locator or resource.

  20. final class LinkbaseRef extends XbrliElem with SimpleLink

    Permalink

    LinkbaseRef in an XBRL instance

  21. sealed trait MayContainDimensions extends XbrliElem

    Permalink
  22. final class NilNumericItemFact extends NumericItemFact

    Permalink

    Nil numeric item fact in an XBRL instance, either top-level or nested

  23. final class NonNilFractionItemFact extends NumericItemFact

    Permalink

    Non-nil fraction item fact in an XBRL instance, either top-level or nested

  24. final class NonNilNonFractionNumericItemFact extends NumericItemFact

    Permalink

    Non-nil non-fraction numeric item fact in an XBRL instance, either top-level or nested

  25. final class NonNumericItemFact extends ItemFact

    Permalink

    Non-numeric item fact in an XBRL instance, either top-level or nested (and either non-nil or nil)

  26. abstract class NumericItemFact extends ItemFact

    Permalink

    Numeric item fact in an XBRL instance, either top-level or nested (and either non-nil or nil)

  27. abstract class Period extends XbrliElem

    Permalink

    Period in an XBRL instance context

  28. final class RoleRef extends XbrliElem with SimpleLink

    Permalink

    RoleRef in an XBRL instance

  29. final class Scenario extends XbrliElem with MayContainDimensions

    Permalink

    Scenario in an XBRL instance context

  30. final class SchemaRef extends XbrliElem with SimpleLink

    Permalink

    SchemaRef in an XBRL instance

  31. final class Segment extends XbrliElem with MayContainDimensions

    Permalink

    Segment in an XBRL instance context entity

  32. sealed trait SimpleLink extends XbrliElem with XLinkLink with xlink.SimpleLink

    Permalink

    XLink simple link.

  33. final class StandardLoc extends XbrliElem with XLinkLocator

    Permalink

    Standard locator in an XBRL instance

  34. final class StartDate extends XbrliElem

    Permalink

    Start date in an XBRL instance context's period

  35. final class StartEndDatePeriod extends Period

    Permalink

    Start-end-date period in an XBRL instance context

  36. final class TupleFact extends Fact

    Permalink

    Tuple fact in an XBRL instance, either top-level or nested (and either non-nil or nil)

  37. final class TypedMember extends XbrliElem

    Permalink
  38. sealed trait XLinkArc extends XbrliElem with ChildXLink with xlink.XLinkArc

    Permalink

    XLink arc.

    XLink arc.

    The xlink:from and xlink:to attributes point to XLink locators or resources in the same extended link with the corresponding xlink:label attributes.

  39. sealed trait XLinkElem extends XbrliElem with xlink.XLinkElem

    Permalink

    An XLink element in an XBRL instances, obeying the constraints on XLink imposed by XBRL.

    An XLink element in an XBRL instances, obeying the constraints on XLink imposed by XBRL. For example, an XLink arc or extended link.

    XLink (see https://www.w3.org/TR/xlink11/) is a somewhat low level standard on top of XML, but it is very important in an XBRL context (but more so in taxonomies than in instances). Some instance elements are also XLink elements.

  40. sealed trait XLinkLink extends XbrliElem with XLinkElem with xlink.XLinkLink

    Permalink

    Simple or extended XLink link.

  41. sealed trait XLinkLocator extends XbrliElem with LabeledXLink with xlink.XLinkLocator

    Permalink

    XLink locator.

  42. sealed trait XLinkResource extends XbrliElem with LabeledXLink with xlink.XLinkResource

    Permalink

    XLink resource.

  43. final class XbrlInstance extends XbrliElem

    Permalink

    XBRL instance.

    XBRL instance.

    It does not check validity of the XBRL instance. Neither does it know about the DTS describing the XBRL instance. It does, however, contain the entry point URI(s) to the DTS.

    Without any knowledge about the DTS, this class only recognizes (item and tuple) facts by looking at the structure of the element and its ancestry. Attribute @contextRef is only allowed for item facts, and tuple facts can be recognized by looking at the "path" of the element.

  44. final class XbrlInstanceDocument extends DocumentApi

    Permalink

    "XBRL instance DOM document".

  45. final case class XbrliCommentNode(text: String) extends CanBeXbrliDocumentChild with Comment with Product with Serializable

    Permalink
  46. final class XbrliContext extends XbrliElem

    Permalink

    Context in an XBRL instance

  47. sealed class XbrliElem extends CanBeXbrliDocumentChild with Elem with ScopedElemLike with SubtypeAwareElemLike

    Permalink

    XML element inside XBRL instance (or the entire XBRL instance itself).

    XML element inside XBRL instance (or the entire XBRL instance itself). This API is immutable, provided the backing element is immutable.

    The yaidom SubtypeAwareElemApi and ScopedElemApi query API is offered.

    Also note that the package-private constructor contains redundant data, in order to speed up (yaidom-based) querying.

    These XBRL instance elements are just an XBRL instance view on the underlying "backing element" tree, and therefore do not know about the taxonomy describing the XBRL instance (other than the href to the DTS entry point). It is not even required that the XBRL instance is schema-valid. Construction of an instance is indeed quite lenient.

    As a consequence, this model must recognize facts by only looking at the elements and their ancestry, without knowing anything about the substitution groups of the corresponding concept declarations. Fortunately, the XBRL instance schema (xbrl-instance-2003-12-31.xsd) and the specification of allowed XBRL tuple content are (almost) restrictive enough in order to recognize facts.

    It is even possible to easily distinguish between item facts and tuple facts, based on the presence or absence of the contextRef attribute. There is one complication, though, and that is nil item and tuple facts. Unfortunately, concept declarations in taxonomy schemas may have the nillable attribute set to true. This led to some clutter in the inheritance hierarchy for numeric item facts.

    Hence, regarding nil facts, the user of the API is responsible for keeping in mind that facts can indeed be nil facts (which facts are easy to filter away).

    Another limitation is that without the taxonomy, default dimensions are unknown. Finally, the lack of typing information is a limitation.

    Note that the backing element implementation can be any implementation of yaidom query API trait BackingNodes.Elem.

    This class hierarchy depends on Java 8 or later, due to the use of Java 8 time API.

  48. sealed abstract class XbrliNode extends Node

    Permalink

    "XBRL instance DOM node".

  49. final case class XbrliProcessingInstructionNode(target: String, data: String) extends CanBeXbrliDocumentChild with ProcessingInstruction with Product with Serializable

    Permalink
  50. final case class XbrliTextNode(text: String) extends XbrliNode with Text with Product with Serializable

    Permalink
  51. final class XbrliUnit extends XbrliElem

    Permalink

    Unit in an XBRL instance

Value Members

  1. object Fact

    Permalink
  2. object ItemFact

    Permalink
  3. object Period

    Permalink
  4. object TupleFact

    Permalink
  5. object XbrlInstance

    Permalink
  6. object XbrlInstanceDocument

    Permalink
  7. object XbrliElem

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped