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 SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDictionaryIdentifier()Gets the dictionary identifier that applies to this text attribute.intgetWidth()Gets the width of this objectbooleanhasChildren()Returns true if this object has text attribute children.- 
Methods inherited from interface java.lang.IterableforEach, iterator, spliterator
 
- 
 
- 
- 
- 
Method Detail- 
getWidthint getWidth() Gets the width of this object- Returns:
- returns the width, in characters
 
 - 
getDictionaryIdentifierString getDictionaryIdentifier() Gets the dictionary identifier that applies to this text attribute.- Returns:
- returns the dictionary identifier, or null if it does not have any
 
 - 
hasChildrenboolean hasChildren() Returns true if this object has text attribute children.- Returns:
- returns true if this object has a text attribute children, false otherwise
 
 
- 
 
-