TypeDefinition
Type definition. It is either a complex or simple type definition, and it is also either a named or anonymous type definition.
Type definition. It is either a complex or simple type definition, and it is also either a named or anonymous type definition.
Type members
Inherited types
Value members
Abstract methods
Returns the base type of this type, as EName, if any, wrapped in an Option. If defined, this type is then a restriction or extension of that base type.
Returns the base type of this type, as EName, if any, wrapped in an Option. If defined, this type is then a restriction or extension of that base type.
For type xs:anyType, None is returned. For union and list types, None is returned as well.
For simple types, derivation (from the base type) is always by restriction.
This method may fail with an exception if the taxonomy is not schema-valid.
Inherited methods
Shorthand for attributeOption(expandedName)
.
Shorthand for attributeOption(expandedName)
.
- Inherited from
- ClarkElemLike
Returns all child elements, and returns them extremely fast. This is important for fast querying, at the expense of more expensive recursive creation.
Returns all child elements, and returns them extremely fast. This is important for fast querying, at the expense of more expensive recursive creation.
- Inherited from
- TaxonomyElem
Returns all child elements paired with their path entries.
Returns all child elements paired with their path entries.
This method is final, so more efficient implementations for sub-types are not supported. This implementation is only efficient if finding all child elements as well as computing their resolved names is efficient. That is not the case for DOM wrappers or Scala XML Elem wrappers (due to their expensive Scope computations). On the other hand, those wrapper element implementations are convenient, but not intended for heavy use in production. Hence, this method should typically be fast enough.
- Definition Classes
- ClarkElemLike -> IsNavigable -> IsNavigableApi
- Inherited from
- ClarkElemLike
Finds the child element with the given Path.Entry
(where this element is the root), if any, wrapped in an Option
.
Finds the child element with the given Path.Entry
(where this element is the root), if any, wrapped in an Option
.
This method is final, so more efficient implementations for sub-types are not supported. This implementation is only efficient if finding all child elements as well as computing their resolved names is efficient. That is not the case for DOM wrappers or Scala XML Elem wrappers (due to their expensive Scope computations). On the other hand, those wrapper element implementations are convenient, but not intended for heavy use in production. Hence, this method should typically be fast enough.
- Definition Classes
- ClarkElemLike -> IsNavigable -> IsNavigableApi
- Inherited from
- ClarkElemLike
- Inherited from
- SubtypeAwareElemLike
Returns backingElem.key
, or its equivalent.
Returns backingElem.key
, or its equivalent.
- Inherited from
- TaxonomyElem
Returns key.path
, or its equivalent backingElem.path
.
Returns key.path
, or its equivalent backingElem.path
.
- Inherited from
- TaxonomyElem
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.
- Inherited from
- ElemInXsdNamespace