Class TransliterationResults

java.lang.Object
com.basistech.rosette.dm.BaseAttribute
com.basistech.rosette.dm.TransliterationResults
All Implemented Interfaces:
Serializable

public final class TransliterationResults extends BaseAttribute
See Also:
  • Constructor Details

  • Method Details

    • getResults

      public Map<com.basistech.util.LanguageCode,Transliteration> getResults()
      Gets all the Transliterations inside this
      Returns:
      An immutable view of the transliterations.
    • getTransliteration

      public Transliteration getTransliteration(com.basistech.util.LanguageCode code)
      Gets the Transliteration for the given LanguageCode.
      Parameters:
      code - The code to check
      Returns:
      The transliteration, or null if there isn't one with the given language code.
    • getTransliterationInScript

      public String getTransliterationInScript(com.basistech.util.LanguageCode code, com.basistech.util.ISO15924 script)
      Gets the actual transliteration for the given LanguageCode in the given script
      Parameters:
      code - The language code to check
      script - The script to check
      Returns:
      The transliteration, or null if one doesn't exist matching the given criteria.
    • toStringHelper

      public com.google.common.base.MoreObjects.ToStringHelper toStringHelper()
      Overrides:
      toStringHelper in class BaseAttribute