Package org.daisy.dotify.translator
Class DefaultMarkerProcessor.Builder
- java.lang.Object
-
- org.daisy.dotify.translator.DefaultMarkerProcessor.Builder
-
- Enclosing class:
- DefaultMarkerProcessor
public static class DefaultMarkerProcessor.Builder extends Object
Provides a builder for the marker processor.
-
-
Constructor Summary
Constructors Constructor Description Builder()Creates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultMarkerProcessor.BuilderaddDictionary(String identifier, MarkerDictionary def)Adds a marker dictionary.DefaultMarkerProcessorbuild()Creates a new default marker processor using the current state of the builder.
-
-
-
Method Detail
-
addDictionary
public DefaultMarkerProcessor.Builder addDictionary(String identifier, MarkerDictionary def)
Adds a marker dictionary.- Parameters:
identifier- the identifierdef- the dictionary- Returns:
- returns this builder
-
build
public DefaultMarkerProcessor build()
Creates a new default marker processor using the current state of the builder.- Returns:
- returns a new marker processor
-
-