public class LocalizedStringImpl extends java.lang.Object implements LocalizedString
LocalizedString
.Constructor and Description |
---|
LocalizedStringImpl(javax.xml.registry.infomodel.LocalizedString jaxrLocalizedString)
Constructs a new object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCharsetName()
Gets the canonical name for the char-set for this object.
|
javax.xml.registry.infomodel.LocalizedString |
getJaxrLocalizedString()
Get the the javax.xml.registry.infomodel.LocalizedString instance wrapped by
this object.
|
java.util.Locale |
getLocale()
Gets the Locale for this object.
|
java.lang.String |
getValue()
Gets the String value for this object.
|
void |
setCharsetName(java.lang.String charsetName)
Sets the canonical name for the char-set for this object.
|
void |
setLocale(java.util.Locale locale)
Set the Locale for this object.
|
void |
setValue(java.lang.String value)
Sets the String value for the specified object.
|
public LocalizedStringImpl(javax.xml.registry.infomodel.LocalizedString jaxrLocalizedString)
jaxrLocalizedString
- the JAXR localized string.public java.lang.String getCharsetName() throws CSAppFrameworkException
LocalizedString
getCharsetName
in interface LocalizedString
CSAppFrameworkException
- if an internal error occurs on getting the char-set name.public void setCharsetName(java.lang.String charsetName) throws CSAppFrameworkException
LocalizedString
setCharsetName
in interface LocalizedString
charsetName
- the canonical name for the char-set.CSAppFrameworkException
- if an internal error occurs on setting the char-set name.public java.util.Locale getLocale() throws CSAppFrameworkException
LocalizedString
getLocale
in interface LocalizedString
CSAppFrameworkException
- if an internal error occurs on getting the locale.public void setLocale(java.util.Locale locale) throws CSAppFrameworkException
LocalizedString
setLocale
in interface LocalizedString
locale
- the current locale.CSAppFrameworkException
- if an internal error occurs on getting the locale.public java.lang.String getValue() throws CSAppFrameworkException
LocalizedString
getValue
in interface LocalizedString
CSAppFrameworkException
- if an internal error occurs.public void setValue(java.lang.String value) throws CSAppFrameworkException
LocalizedString
setValue
in interface LocalizedString
value
- the String value for this object.CSAppFrameworkException
- n internal error occurs.public javax.xml.registry.infomodel.LocalizedString getJaxrLocalizedString()