-
- All Implemented Interfaces:
-
org.readium.r2.shared.publication.services.content.Content.AttributesHolder,org.readium.r2.shared.publication.services.content.Content.Element
public interface Content.TextualElement implements Content.Element
An element which can be represented as human-readable text.
The default implementation returns the first accessibility label associated to the element.
-
-
Method Summary
Modifier and Type Method Description StringgetText()abstract LocatorgetLocator()Locator targeting this element in the Publication. abstract List<Content.Attribute<?>>getAttributes()Associated list of attributes. LanguagegetLanguage()StringgetAccessibilityLabel()-
-
Method Detail
-
getLocator
abstract Locator getLocator()
Locator targeting this element in the Publication.
-
getAttributes
abstract List<Content.Attribute<?>> getAttributes()
Associated list of attributes.
-
getLanguage
Language getLanguage()
-
getAccessibilityLabel
String getAccessibilityLabel()
-
-
-
-