LabeledXLink
XLink locator or resource.
XLink locator or resource.
Type members
Inherited types
Value members
Concrete methods
Returns the XLink label. This may fail with an exception if the taxonomy is not schema-valid.
Returns the XLink label. This may fail with an exception if the taxonomy is not schema-valid.
If the taxonomy is not known to be schema-valid, use the following code instead:
attributeOption(ENames.XLinkLabelEName)
Inherited methods
Shorthand for attributeOption(expandedName)
.
Shorthand for attributeOption(expandedName)
.
- Inherited from
- ClarkElemLike
Returns the extended link role of the surrounding extended link element. This may fail with an exception if the taxonomy is not schema-valid.
Returns the extended link role of the surrounding extended link element. This may fail with an exception if the taxonomy is not schema-valid.
If the taxonomy is not known to be schema-valid, use the following code instead:
backingElem.parentOption.flatMap(_.attributeOption(ENames.XLinkRoleEName))
- Inherited from
- ChildXLink
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 underlying parent element. This may fail with an exception if the taxonomy is not schema-valid.
Returns the underlying parent element. This may fail with an exception if the taxonomy is not schema-valid.
If the taxonomy is not known to be schema-valid, use the following code instead:
backingElem.parentOption
- Inherited from
- ChildXLink