TaxonomySchemaApi
Purely abstract trait offering a dimensionally-aware XBRL taxonomy schema API.
Purely abstract trait offering a dimensionally-aware XBRL taxonomy schema API.
See super-type SchemaApi for more information.
Primary item declarations are concept declarations that are neither hypercubes nor dimensions, regardless of whether they are used as primary items or domain members!
This API is also aware of enumeration (2.0) concepts. Recognition of enumeration concepts may fail, however, if the item concept has an anonymous type nested in the global element declaration.
- Authors
Chris de Vreeze
Value members
Abstract methods
Inherited methods
- Inherited from
- SchemaApi
- Inherited from
- SchemaApi
- Inherited from
- SchemaApi
- Inherited from
- SchemaApi
- Inherited from
- SchemaApi
- Inherited from
- SchemaApi
Returns schema root elements obeying some predicate. To find certain taxonomy schema elements, the following pattern can be used:
Returns schema root elements obeying some predicate. To find certain taxonomy schema elements, the following pattern can be used:
filterXsdSchemas(p).flatMap(_.filterElemsOrSelfOfType(classTag[E])(pred))
- Inherited from
- SchemaApi
Returns the schema root elements. To find certain taxonomy schema elements, the following pattern can be used:
Returns the schema root elements. To find certain taxonomy schema elements, the following pattern can be used:
findAllXsdSchemas.flatMap(_.filterElemsOrSelfOfType(classTag[E])(pred))
- Inherited from
- SchemaApi
If the given type obeys the type predicate, returns it, wrapped in an Option. Otherwise, returns the optional base type if that type obeys the type predicate, and so on, until either the predicate holds or no further base type can be found in the taxonomy.
If the given type obeys the type predicate, returns it, wrapped in an Option. Otherwise, returns the optional base type if that type obeys the type predicate, and so on, until either the predicate holds or no further base type can be found in the taxonomy.
- Inherited from
- SchemaApi
- Inherited from
- SchemaApi
- Inherited from
- SchemaApi
- Inherited from
- SchemaApi
- Inherited from
- SchemaApi
Finds the named type of the global element declaration with the given target EName, recursively trying to obtain the type via the substitution group ancestry chain, if needed.
Finds the named type of the global element declaration with the given target EName, recursively trying to obtain the type via the substitution group ancestry chain, if needed.
- Inherited from
- SchemaApi
Finds an optional schema root element obeying some predicate. To find certain taxonomy schema elements, the following pattern can be used:
Finds an optional schema root element obeying some predicate. To find certain taxonomy schema elements, the following pattern can be used:
findXsdSchema(p).toIndexedSeq.flatMap(_.filterElemsOrSelfOfType(classTag[E])(pred))
- Inherited from
- SchemaApi
Returns the known substitution groups as SubstitutionGroupMap. If the taxonomy is closed under DTS discovery, these substitution groups are found within the taxonomy. Otherwise they may partly be external.
Returns the known substitution groups as SubstitutionGroupMap. If the taxonomy is closed under DTS discovery, these substitution groups are found within the taxonomy. Otherwise they may partly be external.
Implementations should store this as a field, in order to make substitution group lookups as fast as possible.
- Inherited from
- SchemaApi