This classes define how the Hanyu Pinyin should be outputted.
The output feature includes:
- Output format of character 'ü';
- Output format of Chinese tones;
- Cases of letters in outputted string
Default values of these features are listed below:
HanyuPinyinVCharType := WITH_U_AND_COLON
HanyuPinyinCaseType := LOWERCASE
HanyuPinyinToneType := WITH_TONE_NUMBER
Some combinations of output format options are meaningless. For example, WITH_TONE_MARK and WITH_U_AND_COLON.
The combination of different output format options are listed below. For example, '吕'
LOWERCASE |
Combination | WITH_U_AND_COLON | WITH_V | WITH_U_UNICODE |
WITH_TONE_NUMBER | lu:3 | lv3 | lü3 |
WITHOUT_TONE | lu: | lv | lü |
WITH_TONE_MARK | throw exception | throw exception | lǚ |
UPPERCASE |
Combination | WITH_U_AND_COLON | WITH_V | WITH_U_UNICODE |
WITH_TONE_NUMBER | LU:3 | LV3 | LÜ3 |
WITHOUT_TONE | LU: | LV | LÜ |
WITH_TONE_MARK | throw exception | throw exception | LǙ |
@see HanyuPinyinVCharType
@see HanyuPinyinCaseType
@see HanyuPinyinToneType
@author Li Min (xmlerlimin@gmail.com)