Package com.basistech.rosette.dm
Class TransliterationResults
java.lang.Object
com.basistech.rosette.dm.BaseAttribute
com.basistech.rosette.dm.TransliterationResults
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.basistech.rosette.dm.BaseAttribute
extendedProperties -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTransliterationResults(Map<com.basistech.util.LanguageCode, Transliteration> results, Map<String, Object> extendedAttributes) -
Method Summary
Modifier and TypeMethodDescriptionMap<com.basistech.util.LanguageCode,Transliteration> Gets all theTransliterations insidethisgetTransliteration(com.basistech.util.LanguageCode code) Gets theTransliterationfor the givenLanguageCode.getTransliterationInScript(com.basistech.util.LanguageCode code, com.basistech.util.ISO15924 script) Gets the actual transliteration for the givenLanguageCodein the givenscriptcom.google.common.base.MoreObjects.ToStringHelperMethods inherited from class com.basistech.rosette.dm.BaseAttribute
getExtendedProperties, listOrNull, setExtendedProperty, toString
-
Constructor Details
-
TransliterationResults
protected TransliterationResults(Map<com.basistech.util.LanguageCode, Transliteration> results, Map<String, Object> extendedAttributes)
-
-
Method Details
-
getResults
Gets all theTransliterations insidethis- Returns:
- An immutable view of the transliterations.
-
getTransliteration
Gets theTransliterationfor the givenLanguageCode.- Parameters:
code- The code to check- Returns:
- The transliteration, or
nullif 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 givenLanguageCodein the givenscript- Parameters:
code- The language code to checkscript- 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:
toStringHelperin classBaseAttribute
-