|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.xml.registry.infomodel Interface LocalizedString
public interface LocalizedString
This interface is used as a simple wrapper interface that associates a String with its Locale. The interface is needed in the InternationalString interface where a Collection of LocalizedString instances are kept. Each LocalizedString instance has a Locale and a String instance.
- 作者:
- Farrukh S. Najmi
- 另请参见:
InternationalString
字段摘要 | |
---|---|
static String |
DEFAULT_CHARSET_NAME
The default name returned by getCharsetName if no other name has explicitly been set. |
方法摘要 | |
---|---|
String |
getCharsetName()
Gets the canonical name for the charset for this object. |
Locale |
getLocale()
Get the Locale for this object. |
String |
getValue()
Get the String value for this object. |
void |
setCharsetName(String charsetName)
Set the canonical name for the charset for this object. |
void |
setLocale(Locale locale)
Set the Locale for this object. |
void |
setValue(String value)
Set the String value for the specified object. |
字段详细信息 |
---|
DEFAULT_CHARSET_NAME
static final String DEFAULT_CHARSET_NAME
- The default name returned by getCharsetName if no other
name has explicitly been set.
- 另请参见:
- 常量字段
方法详细信息 |
---|
getCharsetName
String getCharsetName() throws JAXRException
- Gets the canonical name for the charset for this object.
Must return the default charset when there is no charset name defined.
- Capability Level: 0
- 返回:
- the character set name for the character set used by this object
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error- 另请参见:
DEFAULT_CHARSET_NAME
getLocale
Locale getLocale() throws JAXRException
- Get the Locale for this object.
Must return the default Locale when no Locale has been defined.
- Capability Level: 0
- 返回:
- the Locale used by this object
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error- 另请参见:
Locale.getDefault()
getValue
String getValue() throws JAXRException
- Get the String value for this object.
- Capability Level: 0
- 返回:
- the value defined by this object
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
setCharsetName
void setCharsetName(String charsetName) throws JAXRException
- Set the canonical name for the charset for this object.
- Capability Level: 0
- 参数:
charsetName
- the character set name for the character set used by this object- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
setLocale
void setLocale(Locale locale) throws JAXRException
- Set the Locale for this object.
- Capability Level: 0
- 参数:
locale
- the Locale used by this object- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
setValue
void setValue(String value) throws JAXRException
- Set the String value for the specified object.
- Capability Level: 0
- 参数:
value
- the value defined by this object- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.