public class LocalizedStringImpl extends Object implements LocalizedString, Serializable
DEFAULT_CHARSET_NAME| Constructor and Description |
|---|
LocalizedStringImpl()
Default constructor
|
LocalizedStringImpl(Locale locale,
String value)
Utility constructor sets locale and value
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCharsetName()
Get the charset name
|
Locale |
getLocale()
Get the locale
|
String |
getValue()
Get the value
|
void |
setCharsetName(String charset)
Set the charset name
|
void |
setLocale(Locale locale)
Set the locale
|
void |
setValue(String value)
Set the value
|
public Locale getLocale() throws JAXRException
getLocale in interface LocalizedStringJAXRException - If the JAXR provider encounters an internal errorLocale.getDefault()public void setLocale(Locale locale) throws JAXRException
setLocale in interface LocalizedStringlocale - the Locale used by this objectJAXRException - If the JAXR provider encounters an internal errorpublic String getValue() throws JAXRException
getValue in interface LocalizedStringJAXRException - If the JAXR provider encounters an internal errorpublic void setValue(String value) throws JAXRException
setValue in interface LocalizedStringvalue - the value defined by this objectJAXRException - If the JAXR provider encounters an internal errorpublic String getCharsetName() throws JAXRException
getCharsetName in interface LocalizedStringJAXRException - If the JAXR provider encounters an internal errorLocalizedString.DEFAULT_CHARSET_NAMEpublic void setCharsetName(String charset) throws JAXRException
setCharsetName in interface LocalizedStringcharset - the character set name for the character set used by this objectJAXRException - If the JAXR provider encounters an internal errorCopyright © 2005–2017 Oracle Corporation. All rights reserved.