Package org.daisy.dotify.api.formatter
Class CompoundMarkerReferenceField
- java.lang.Object
- 
- org.daisy.dotify.api.formatter.CompoundMarkerReferenceField
 
- 
- All Implemented Interfaces:
- Iterable<MarkerReferenceField>,- Field
 
 public class CompoundMarkerReferenceField extends Object implements Field, Iterable<MarkerReferenceField> A CompoundMarkerReferenceField holds a sequence ofMarkerReferenceField. Only the first MarkerReferenceField that resolves to a value is rendered.
- 
- 
Constructor SummaryConstructors Constructor Description CompoundMarkerReferenceField(List<MarkerReferenceField> fields)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetTextStyle()The text style of the field, or null if no special style is used.Iterator<MarkerReferenceField>iterator()- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.lang.IterableforEach, spliterator
 
- 
 
- 
- 
- 
Constructor Detail- 
CompoundMarkerReferenceFieldpublic CompoundMarkerReferenceField(List<MarkerReferenceField> fields) 
 
- 
 - 
Method Detail- 
iteratorpublic Iterator<MarkerReferenceField> iterator() - Specified by:
- iteratorin interface- Iterable<MarkerReferenceField>
 
 - 
getTextStylepublic String getTextStyle() Description copied from interface:FieldThe text style of the field, or null if no special style is used.- Specified by:
- getTextStylein interface- Field
- Returns:
- the text style
 
 
- 
 
-