Class

eu.cdevreeze.tqa.base.dom

GlobalElementDeclaration

Related Doc: package dom

Permalink

final class GlobalElementDeclaration extends TaxonomyElem with ElementDeclaration with CanBeAbstract

Global element declaration. This element in isolation does not know if the element declaration is a concept declaration, because it does not know from which substitution groups its own substitution group, if any, derives.

Example, assuming an xs:schema parent (and document root) element:

<xs:element
  id="businessSegments"
  name="BusinessSegments"
  type="xbrli:monetaryItemType"
  substitutionGroup="xbrli:item"
  xbrli:periodType="duration" />

In this case, we see immediately that the global element declaration is an item concept declaration, but as said above, in general we cannot determine this without looking at the context of all other taxonomy documents in the same "taxonomy".

Once we have a SubstitutionGroupMap as context, we can turn the global element declaration into a ConceptDeclaration, if the global element declaration is indeed an item or tuple declaration according to the SubstitutionGroupMap.

Linear Supertypes
CanBeAbstract, ElementDeclaration, NamedDeclOrDef, ElementDeclarationOrReference, XsdElem, TaxonomyElem, SubtypeAwareElemLike, SubtypeAwareElemApi, ScopedElemLike, ClarkElemLike, HasText, HasEName, IsNavigable, ElemLike, Elem, ScopedElemApi, HasScopeApi, HasQNameApi, Elem, HasChildNodesApi, AnyElemNodeApi, ClarkElemApi, HasTextApi, HasENameApi, IsNavigableApi, ElemApi, AnyElemApi, Elem, AnyTaxonomyElem, CanBeTaxonomyDocumentChild, CanBeDocumentChild, CanBeDocumentChild, CanBeDocumentChild, TaxonomyNode, Node, Node, Node, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GlobalElementDeclaration
  2. CanBeAbstract
  3. ElementDeclaration
  4. NamedDeclOrDef
  5. ElementDeclarationOrReference
  6. XsdElem
  7. TaxonomyElem
  8. SubtypeAwareElemLike
  9. SubtypeAwareElemApi
  10. ScopedElemLike
  11. ClarkElemLike
  12. HasText
  13. HasEName
  14. IsNavigable
  15. ElemLike
  16. Elem
  17. ScopedElemApi
  18. HasScopeApi
  19. HasQNameApi
  20. Elem
  21. HasChildNodesApi
  22. AnyElemNodeApi
  23. ClarkElemApi
  24. HasTextApi
  25. HasENameApi
  26. IsNavigableApi
  27. ElemApi
  28. AnyElemApi
  29. Elem
  30. AnyTaxonomyElem
  31. CanBeTaxonomyDocumentChild
  32. CanBeDocumentChild
  33. CanBeDocumentChild
  34. CanBeDocumentChild
  35. TaxonomyNode
  36. Node
  37. Node
  38. Node
  39. AnyRef
  40. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type ThisElem = TaxonomyElem

    Permalink
    Definition Classes
    TaxonomyElem → SubtypeAwareElemLike → SubtypeAwareElemApi → ScopedElemLike → ClarkElemLike → IsNavigable → ElemLike → Elem → ScopedElemApi → Elem → HasChildNodesApi → ClarkElemApi → IsNavigableApi → ElemApi → AnyElemApi
  2. type ThisNode = TaxonomyNode

    Permalink
    Definition Classes
    TaxonomyElem → Elem → Elem → AnyElemNodeApi

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def \(p: (ThisElem) ⇒ Boolean): IndexedSeq[ThisElem]

    Permalink
    Definition Classes
    ElemLike → ElemApi
  5. final def \@(expandedName: EName): Option[String]

    Permalink
    Definition Classes
    HasEName → HasENameApi
  6. final def \\(p: (ThisElem) ⇒ Boolean): IndexedSeq[ThisElem]

    Permalink
    Definition Classes
    ElemLike → ElemApi
  7. final def \\!(p: (ThisElem) ⇒ Boolean): IndexedSeq[ThisElem]

    Permalink
    Definition Classes
    ElemLike → ElemApi
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. final def attribute(expandedName: EName): String

    Permalink
    Definition Classes
    HasEName → HasENameApi
  10. final def attributeAsQName(expandedName: EName): QName

    Permalink
    Definition Classes
    ScopedElemLike → ScopedElemApi
  11. final def attributeAsQNameOption(expandedName: EName): Option[QName]

    Permalink
    Definition Classes
    ScopedElemLike → ScopedElemApi
  12. final def attributeAsResolvedQName(expandedName: EName): EName

    Permalink
    Definition Classes
    ScopedElemLike → ScopedElemApi
  13. final def attributeAsResolvedQNameOption(expandedName: EName): Option[EName]

    Permalink
    Definition Classes
    ScopedElemLike → ScopedElemApi
  14. final def attributeOption(expandedName: EName): Option[String]

    Permalink
    Definition Classes
    HasEName → HasENameApi
  15. final def attributes: IndexedSeq[(QName, String)]

    Permalink
    Definition Classes
    TaxonomyElem → HasQNameApi
  16. val backingElem: Elem

    Permalink
    Definition Classes
    TaxonomyElem
  17. final def baseUri: URI

    Permalink
    Definition Classes
    TaxonomyElem
  18. final def baseUriOption: Option[URI]

    Permalink
    Definition Classes
    TaxonomyElem
  19. val childElems: IndexedSeq[TaxonomyElem]

    Permalink
    Definition Classes
    TaxonomyElem
  20. final def children: IndexedSeq[TaxonomyNode]

    Permalink
    Definition Classes
    TaxonomyElem → HasChildNodesApi
  21. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def docUri: URI

    Permalink
    Definition Classes
    TaxonomyElem
  23. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def equals(obj: Any): Boolean

    Permalink
    Definition Classes
    TaxonomyElem → AnyRef → Any
  25. final def filterChildElems(p: (ThisElem) ⇒ Boolean): IndexedSeq[ThisElem]

    Permalink
    Definition Classes
    ElemLike → ElemApi
  26. final def filterChildElemsOfType[B <: ThisElem](subType: ClassTag[B])(p: (B) ⇒ Boolean): IndexedSeq[B]

    Permalink
    Definition Classes
    SubtypeAwareElemLike → SubtypeAwareElemApi
  27. final def filterElems(p: (ThisElem) ⇒ Boolean): IndexedSeq[ThisElem]

    Permalink
    Definition Classes
    ElemLike → ElemApi
  28. final def filterElemsOfType[B <: ThisElem](subType: ClassTag[B])(p: (B) ⇒ Boolean): IndexedSeq[B]

    Permalink
    Definition Classes
    SubtypeAwareElemLike → SubtypeAwareElemApi
  29. final def filterElemsOrSelf(p: (ThisElem) ⇒ Boolean): IndexedSeq[ThisElem]

    Permalink
    Definition Classes
    ElemLike → ElemApi
  30. final def filterElemsOrSelfOfType[B <: ThisElem](subType: ClassTag[B])(p: (B) ⇒ Boolean): IndexedSeq[B]

    Permalink
    Definition Classes
    SubtypeAwareElemLike → SubtypeAwareElemApi
  31. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  32. final def findAllChildElems: IndexedSeq[TaxonomyElem]

    Permalink

    Returns all child elements, and returns them extremely fast.

    Returns all child elements, and returns them extremely fast. This is important for fast querying, at the expense of more expensive recursive creation.

    Definition Classes
    TaxonomyElem → ElemLike → ElemApi
  33. final def findAllChildElemsOfType[B <: ThisElem](subType: ClassTag[B]): IndexedSeq[B]

    Permalink
    Definition Classes
    SubtypeAwareElemLike → SubtypeAwareElemApi
  34. final def findAllChildElemsWithPathEntries: IndexedSeq[(ThisElem, Entry)]

    Permalink
    Definition Classes
    ClarkElemLike → IsNavigable → IsNavigableApi
  35. final def findAllElems: IndexedSeq[ThisElem]

    Permalink
    Definition Classes
    ElemLike → ElemApi
  36. final def findAllElemsOfType[B <: ThisElem](subType: ClassTag[B]): IndexedSeq[B]

    Permalink
    Definition Classes
    SubtypeAwareElemLike → SubtypeAwareElemApi
  37. final def findAllElemsOrSelf: IndexedSeq[ThisElem]

    Permalink
    Definition Classes
    ElemLike → ElemApi
  38. final def findAllElemsOrSelfOfType[B <: ThisElem](subType: ClassTag[B]): IndexedSeq[B]

    Permalink
    Definition Classes
    SubtypeAwareElemLike → SubtypeAwareElemApi
  39. final def findAttributeByLocalName(localName: String): Option[String]

    Permalink
    Definition Classes
    HasEName → HasENameApi
  40. final def findChildElem(p: (ThisElem) ⇒ Boolean): Option[ThisElem]

    Permalink
    Definition Classes
    ElemLike → ElemApi
  41. final def findChildElemByPathEntry(entry: Entry): Option[ThisElem]

    Permalink
    Definition Classes
    ClarkElemLike → IsNavigable → IsNavigableApi
  42. final def findChildElemOfType[B <: ThisElem](subType: ClassTag[B])(p: (B) ⇒ Boolean): Option[B]

    Permalink
    Definition Classes
    SubtypeAwareElemLike → SubtypeAwareElemApi
  43. final def findElem(p: (ThisElem) ⇒ Boolean): Option[ThisElem]

    Permalink
    Definition Classes
    ElemLike → ElemApi
  44. final def findElemOfType[B <: ThisElem](subType: ClassTag[B])(p: (B) ⇒ Boolean): Option[B]

    Permalink
    Definition Classes
    SubtypeAwareElemLike → SubtypeAwareElemApi
  45. final def findElemOrSelf(p: (ThisElem) ⇒ Boolean): Option[ThisElem]

    Permalink
    Definition Classes
    ElemLike → ElemApi
  46. final def findElemOrSelfByPath(path: Path): Option[ThisElem]

    Permalink
    Definition Classes
    IsNavigable → IsNavigableApi
  47. final def findElemOrSelfOfType[B <: ThisElem](subType: ClassTag[B])(p: (B) ⇒ Boolean): Option[B]

    Permalink
    Definition Classes
    SubtypeAwareElemLike → SubtypeAwareElemApi
  48. final def findReverseAncestryOrSelfByPath(path: Path): Option[IndexedSeq[ThisElem]]

    Permalink
    Definition Classes
    IsNavigable → IsNavigableApi
  49. final def findTopmostElems(p: (ThisElem) ⇒ Boolean): IndexedSeq[ThisElem]

    Permalink
    Definition Classes
    ElemLike → ElemApi
  50. final def findTopmostElemsOfType[B <: ThisElem](subType: ClassTag[B])(p: (B) ⇒ Boolean): IndexedSeq[B]

    Permalink
    Definition Classes
    SubtypeAwareElemLike → SubtypeAwareElemApi
  51. final def findTopmostElemsOrSelf(p: (ThisElem) ⇒ Boolean): IndexedSeq[ThisElem]

    Permalink
    Definition Classes
    ElemLike → ElemApi
  52. final def findTopmostElemsOrSelfOfType[B <: ThisElem](subType: ClassTag[B])(p: (B) ⇒ Boolean): IndexedSeq[B]

    Permalink
    Definition Classes
    SubtypeAwareElemLike → SubtypeAwareElemApi
  53. final def getChildElem(p: (ThisElem) ⇒ Boolean): ThisElem

    Permalink
    Definition Classes
    ElemLike → ElemApi
  54. final def getChildElemByPathEntry(entry: Entry): ThisElem

    Permalink
    Definition Classes
    IsNavigable → IsNavigableApi
  55. final def getChildElemOfType[B <: ThisElem](subType: ClassTag[B])(p: (B) ⇒ Boolean): B

    Permalink
    Definition Classes
    SubtypeAwareElemLike → SubtypeAwareElemApi
  56. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  57. final def getElemOrSelfByPath(path: Path): ThisElem

    Permalink
    Definition Classes
    IsNavigable → IsNavigableApi
  58. final def getReverseAncestryOrSelfByPath(path: Path): IndexedSeq[ThisElem]

    Permalink
    Definition Classes
    IsNavigable → IsNavigableApi
  59. def hasSubstitutionGroup(substGroup: EName, substitutionGroupMap: SubstitutionGroupMap): Boolean

    Permalink

    Returns true if this global element declaration has the given substitution group, either directly or indirectly.

    Returns true if this global element declaration has the given substitution group, either directly or indirectly. The given mappings are used as the necessary context, but are not needed if the element declaration directly has the substitution group itself.

    This method may fail with an exception if the taxonomy is not schema-valid.

  60. final def hashCode(): Int

    Permalink
    Definition Classes
    TaxonomyElem → AnyRef → Any
  61. final def idOption: Option[String]

    Permalink
    Definition Classes
    TaxonomyElem
  62. final def isAbstract: Boolean

    Permalink

    Returns the boolean "abstract" attribute (defaulting to false).

    Returns the boolean "abstract" attribute (defaulting to false). This may fail with an exception if the taxonomy is not schema-valid.

    Definition Classes
    CanBeAbstract
  63. final def isConcrete: Boolean

    Permalink
    Definition Classes
    CanBeAbstract
  64. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  65. final def key: XmlFragmentKey

    Permalink
    Definition Classes
    TaxonomyElemAnyTaxonomyElem
  66. final def localName: String

    Permalink
    Definition Classes
    HasEName → HasENameApi
  67. final def msg(s: String): String

    Permalink
    Attributes
    protected
    Definition Classes
    TaxonomyElem
  68. final def nameAttributeValue: String

    Permalink

    Returns the "name" attribute.

    Returns the "name" attribute. This may fail with an exception if the taxonomy is not schema-valid.

    Definition Classes
    NamedDeclOrDef
  69. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  70. final def normalizedText: String

    Permalink
    Definition Classes
    HasText → HasTextApi
  71. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  72. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  73. def periodTypeOption: Option[PeriodType]

    Permalink

    Returns the optional xbrli:periodType attribute, as PeriodType.

    Returns the optional xbrli:periodType attribute, as PeriodType.

    This method may fail with an exception if the taxonomy is not schema-valid.

  74. final def qname: QName

    Permalink
    Definition Classes
    TaxonomyElem → HasQNameApi
  75. final def resolvedAttributes: IndexedSeq[(EName, String)]

    Permalink
    Definition Classes
    TaxonomyElem → HasENameApi
  76. final def resolvedName: EName

    Permalink
    Definition Classes
    TaxonomyElem → HasENameApi
  77. final def schemaTargetNamespaceOption: Option[String]

    Permalink

    Returns the optional target namespace of the surrounding schema root element (or self), ignoring the possibility that this is an included chameleon schema.

    Returns the optional target namespace of the surrounding schema root element (or self), ignoring the possibility that this is an included chameleon schema.

    Definition Classes
    XsdElem
  78. final def scope: Scope

    Permalink
    Definition Classes
    TaxonomyElem → HasScopeApi
  79. def substitutionGroupOption: Option[EName]

    Permalink

    Returns the optional substitution group (as EName).

    Returns the optional substitution group (as EName). This may fail with an exception if the taxonomy is not schema-valid.

  80. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  81. def targetEName: EName

    Permalink

    Returns the "target EName".

    Returns the "target EName". That is, returns the EName composed of the optional target namespace and the name attribute as local part. This may fail with an exception if the taxonomy is not schema-valid, although such a failure is very unlikely.

  82. final def text: String

    Permalink
    Definition Classes
    TaxonomyElem → HasTextApi
  83. final def textAsQName: QName

    Permalink
    Definition Classes
    ScopedElemLike → ScopedElemApi
  84. final def textAsResolvedQName: EName

    Permalink
    Definition Classes
    ScopedElemLike → ScopedElemApi
  85. final def thisElem: ThisElem

    Permalink
    Definition Classes
    TaxonomyElem → AnyElemApi
  86. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  87. final def trimmedText: String

    Permalink
    Definition Classes
    HasText → HasTextApi
  88. def typeOption: Option[EName]

    Permalink

    Returns the optional type attribute (as EName).

    Returns the optional type attribute (as EName). This may fail with an exception if the taxonomy is not schema-valid.

    Definition Classes
    ElementDeclaration
  89. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  90. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  91. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CanBeAbstract

Inherited from ElementDeclaration

Inherited from NamedDeclOrDef

Inherited from XsdElem

Inherited from TaxonomyElem

Inherited from SubtypeAwareElemLike

Inherited from SubtypeAwareElemApi

Inherited from ScopedElemLike

Inherited from ClarkElemLike

Inherited from HasText

Inherited from HasEName

Inherited from IsNavigable

Inherited from ElemLike

Inherited from Elem

Inherited from ScopedElemApi

Inherited from HasScopeApi

Inherited from HasQNameApi

Inherited from Elem

Inherited from HasChildNodesApi

Inherited from AnyElemNodeApi

Inherited from ClarkElemApi

Inherited from HasTextApi

Inherited from HasENameApi

Inherited from IsNavigableApi

Inherited from ElemApi

Inherited from AnyElemApi

Inherited from Elem

Inherited from AnyTaxonomyElem

Inherited from CanBeDocumentChild

Inherited from CanBeDocumentChild

Inherited from CanBeDocumentChild

Inherited from TaxonomyNode

Inherited from Node

Inherited from Node

Inherited from Node

Inherited from AnyRef

Inherited from Any

Ungrouped