com.basistech.util
Class ByNameTextDomain

java.lang.Object
  extended by com.basistech.util.TextDomain
      extended by 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

Constructor Summary
ByNameTextDomain(String script, String language, String scheme)
          Initialize the text domain object.
 
Method Summary
 
Methods inherited from class com.basistech.util.TextDomain
compareTo, equals, getLanguage, getScript, getTransliterationScheme, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.