Package org.daisy.dotify.api.translator
Interface TextAttribute
-
- All Superinterfaces:
Iterable<TextAttribute>
- All Known Implementing Classes:
DefaultTextAttribute
public interface TextAttribute extends Iterable<TextAttribute>
Provides an interface for text attributes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDictionaryIdentifier()
Gets the dictionary identifier that applies to this text attribute.int
getWidth()
Gets the width of this objectboolean
hasChildren()
Returns true if this object has text attribute children.-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
getWidth
int getWidth()
Gets the width of this object- Returns:
- returns the width, in characters
-
getDictionaryIdentifier
String getDictionaryIdentifier()
Gets the dictionary identifier that applies to this text attribute.- Returns:
- returns the dictionary identifier, or null if it does not have any
-
hasChildren
boolean hasChildren()
Returns true if this object has text attribute children.- Returns:
- returns true if this object has a text attribute children, false otherwise
-
-