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.
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.
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.
Returns the "name" attribute.
Returns the "name" attribute. This may fail with an exception if the taxonomy is not schema-valid.
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.
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.
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.
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.
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.
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:
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 aConceptDeclaration
, if the global element declaration is indeed an item or tuple declaration according to theSubstitutionGroupMap
.