XLinkLocator
XLink locator.
XLink locator.
Type members
Value members
Concrete methods
Returns the XLink href as URI. This may fail with an exception if the instance is not schema-valid.
Returns the XLink href as URI. This may fail with an exception if the instance is not schema-valid.
Inherited methods
Shorthand for attributeOption(expandedName)
.
Shorthand for attributeOption(expandedName)
.
- Inherited from
- ClarkElemLike
Returns the value of the attribute with the given expanded name, and throws an exception otherwise.
Returns the value of the attribute with the given expanded name, and throws an exception otherwise.
- Inherited from
- ClarkElemLike
Returns the value of the attribute with the given expanded name, if any, wrapped in an Option
.
Returns the value of the attribute with the given expanded name, if any, wrapped in an Option
.
Note that this method can be far more expensive than a custom implementation for a specific element implementation. Therefore this method is non-final and can be overridden.
- Inherited from
- ClarkElemLike
Returns the extended link role of the surrounding extended link element. This may fail with an exception if the instance is not schema-valid.
Returns the extended link role of the surrounding extended link element. This may fail with an exception if the instance is not schema-valid.
If the instance is not known to be schema-valid, use the following code instead:
backingElem.parentOption.flatMap(_.attributeOption(ENames.XLinkRoleEName))
- Inherited from
- ChildXLink
Very fast implementation of findAllChildElems, for fast querying
Very fast implementation of findAllChildElems, for fast querying
- Inherited from
- XbrliElem
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
Returns the first found attribute value of an attribute with the given local name, if any, wrapped in an Option
.
Because of differing namespaces, it is possible that more than one such attribute exists, although this is not often the case.
Returns the first found attribute value of an attribute with the given local name, if any, wrapped in an Option
.
Because of differing namespaces, it is possible that more than one such attribute exists, although this is not often the case.
Note that this method can be far more expensive than a custom implementation for a specific element implementation. Therefore this method is non-final and can be overridden.
- 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
The local name, that is, the local part of the EName
The local name, that is, the local part of the EName
- Inherited from
- ClarkElemLike
Returns XmlStringUtils.normalizeString(text)
.
Returns XmlStringUtils.normalizeString(text)
.
- Inherited from
- ClarkElemLike
Returns the underlying parent element. This may fail with an exception if the instance is not schema-valid.
Returns the underlying parent element. This may fail with an exception if the instance is not schema-valid.
If the instance is not known to be schema-valid, use the following code instead:
backingElem.parentOption
- Inherited from
- ChildXLink
Returns the XLink label. This may fail with an exception if the instance is not schema-valid.
Returns the XLink label. This may fail with an exception if the instance is not schema-valid.
If the instance is not known to be schema-valid, use the following code instead:
attributeOption(ENames.XLinkLabelEName)
- Inherited from
- LabeledXLink