Interface Segment
-
- All Superinterfaces:
FollowingText,PrecedingText,ResolvableText
- All Known Implementing Classes:
AnchorSegment,Evaluate,ExternalReferenceSegment,IdentifierSegment,LeaderSegment,MarkerReferenceSegment,MarkerSegment,NewLineSegment,PageNumberReference,Style,TextSegment
public interface Segment extends ResolvableText
TODO: Write java doc.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSegment.SegmentType{PCDATA, LEADER, MARKER, ANCHOR, BR, EVALUATE, BLOCK, TOC_ENTRY, PAGE_NUMBER}.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Optional<String>getLocale()Segment.SegmentTypegetSegmentType()default booleanshouldHyphenate()default booleanshouldMarkCapitalLetters()-
Methods inherited from interface org.daisy.dotify.api.translator.FollowingText
isStatic
-
Methods inherited from interface org.daisy.dotify.api.translator.ResolvableText
peek, resolve
-
-
-
-
Method Detail
-
getSegmentType
Segment.SegmentType getSegmentType()
-
shouldHyphenate
default boolean shouldHyphenate()
-
shouldMarkCapitalLetters
default boolean shouldMarkCapitalLetters()
-
-