Class TranslatedData.Builder

Enclosing class:
TranslatedData

public static class TranslatedData.Builder extends BaseAttribute.Builder<TranslatedData,TranslatedData.Builder>
Builder class for TranslatedData.
  • Constructor Details

    • Builder

      public Builder(com.basistech.util.TextDomain domain, String translation)
      Constructs a builder from the required properties
      Parameters:
      domain - specifies the language and script of the translation
      translation - the translation for the text
    • Builder

      public Builder(TranslatedData toCopy)
      Constructs a builder from an existing TranslatedData object
      Parameters:
      toCopy - the existing object
  • Method Details