net.sourceforge.pinyin4j.format
Class HanyuPinyinCaseType

java.lang.Object
  extended by net.sourceforge.pinyin4j.format.HanyuPinyinCaseType

public class HanyuPinyinCaseType
extends java.lang.Object

Define the output case of Hanyu Pinyin string

This class provides several options for outputted cases of Hanyu Pinyin string, which are listed below. For example, Chinese character '民'

Options Output
LOWERCASE min2
UPPERCASE MIN2

Author:
Li Min (xmlerlimin@gmail.com)

Field Summary
static HanyuPinyinCaseType LOWERCASE
          The option indicates that hanyu pinyin is outputted as lowercase letters
protected  java.lang.String name
           
static HanyuPinyinCaseType UPPERCASE
          The option indicates that hanyu pinyin is outputted as uppercase letters
 
Constructor Summary
protected HanyuPinyinCaseType(java.lang.String name)
          Constructor
 
Method Summary
 java.lang.String getName()
           
protected  void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UPPERCASE

public static final HanyuPinyinCaseType UPPERCASE
The option indicates that hanyu pinyin is outputted as uppercase letters


LOWERCASE

public static final HanyuPinyinCaseType LOWERCASE
The option indicates that hanyu pinyin is outputted as lowercase letters


name

protected java.lang.String name
Constructor Detail

HanyuPinyinCaseType

protected HanyuPinyinCaseType(java.lang.String name)
Constructor

Method Detail

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

protected void setName(java.lang.String name)
Parameters:
name - The name to set.