|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jqurantree.arabic.encoding.EncodingTableBase
public abstract class EncodingTableBase
EncodingTableBase provides a common implementation for tables
used by table-driven encoders and decoders of
ArabicText.
| Constructor Summary | |
|---|---|
protected |
EncodingTableBase()
Creates a new encoding table instance. |
| Method Summary | |
|---|---|
protected void |
addItem(UnicodeType unicodeType,
char ch,
CharacterType characterType)
Adds an Arabic character to the table. |
protected void |
addItem(UnicodeType unicodeType,
char ch,
CharacterType characterType,
DiacriticType diacriticType)
Adds an Arabic character with an attached diacritic to the table. |
protected void |
addItem(UnicodeType unicodeType,
char ch,
DiacriticType diacriticType)
Adds a diacritic to the table. |
char |
getCharacter(CharacterType characterType)
Gets an output character in the table by Arabic character type. |
char |
getCharacter(UnicodeType unicodeType)
Gets an output character in the table by Unicode character type. |
org.jqurantree.arabic.encoding.EncodingTableItem |
getItem(char unicode)
Gets an item in the table by Unicode character. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected EncodingTableBase()
| Method Detail |
|---|
public org.jqurantree.arabic.encoding.EncodingTableItem getItem(char unicode)
unicode - the Unicode character
public char getCharacter(CharacterType characterType)
characterType - the type of Arabic character
public char getCharacter(UnicodeType unicodeType)
unicodeType - the type of Unicode character
protected void addItem(UnicodeType unicodeType,
char ch,
CharacterType characterType)
unicodeType - the type of Unicode characterch - the output charactercharacterType - the type of Arabic character
protected void addItem(UnicodeType unicodeType,
char ch,
DiacriticType diacriticType)
unicodeType - the type of Unicode characterch - the output characterdiacriticType - the type of diacritic
protected void addItem(UnicodeType unicodeType,
char ch,
CharacterType characterType,
DiacriticType diacriticType)
unicodeType - the type of Unicode characterch - the output charactercharacterType - the type of Arabic characterdiacriticType - the type of diacritic
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||