com.basistech.util
Class ByNameTextDomain
java.lang.Object
com.basistech.util.TextDomain
com.basistech.util.ByNameTextDomain
- All Implemented Interfaces:
- Comparable<TextDomain>
public class ByNameTextDomain
- extends TextDomain
When using TextDomain in a Spring environment, this class allows the XML file to create TextDomain values.
A Spring XML file can create a series of these, in particular to make it easier to initialize a rule-based name translator.
The three parameters of the text domain are specified at construction, since TextDomain objects themselves are immutable.
- Since:
- 2.0
ByNameTextDomain
public ByNameTextDomain(String script,
String language,
String scheme)
- Initialize the text domain object.
- Parameters:
script
- The 'code4' representation of the script (e.g. Arab).language
- The ISO649 code for the language. (e.g. FA).scheme
- The transliteration scheme. (e.g. BGN).
Copyright © 2004-2008 Basis Technology Corporation. All Rights Reserved.