Package org.daisy.dotify.api.translator
Class TranslatableWithContext.Builder
- java.lang.Object
-
- org.daisy.dotify.api.translator.TranslatableWithContext.Builder
-
- Enclosing class:
- TranslatableWithContext
public static class TranslatableWithContext.Builder extends Object
Provides a builder for translatable objects.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TranslatableWithContext.Builder
attributes(AttributeWithContext value)
Sets the attribute context for this builder.TranslatableWithContext
build()
Builds a new Translatable object using the current status of this builder.
-
-
-
Method Detail
-
attributes
public TranslatableWithContext.Builder attributes(AttributeWithContext value)
Sets the attribute context for this builder.- Parameters:
value
- the attribute context- Returns:
- this object
-
build
public TranslatableWithContext build()
Builds a new Translatable object using the current status of this builder.- Returns:
- a Translatable instance
-
-