Package org.daisy.dotify.api.formatter
Class Marker
- java.lang.Object
-
- org.daisy.dotify.api.formatter.Marker
-
public class Marker extends Object
A Marker is a reference data inserted at some point in the flow. It can be used to create running headers/footers.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Get the name of this Marker.String
getValue()
Get the value of this Marker
-
-
-
Constructor Detail
-
Marker
public Marker(String name, String value)
Create a new Marker with the given name and value.
Marker names are used when finding references for e.g. headers and footers and are generally not unique. Instead, think of marker names as "type" or "class".
- Parameters:
name
- the name of the Markervalue
- the Marker value
-
-