Class LocalizedStringImpl
- java.lang.Object
-
- com.sun.xml.registry.uddi.infomodel.LocalizedStringImpl
-
- All Implemented Interfaces:
Serializable,LocalizedString
public class LocalizedStringImpl extends Object implements LocalizedString, Serializable
Implementation of JAXR LocalizedString.- Author:
- Bobby Bissett
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface javax.xml.registry.infomodel.LocalizedString
DEFAULT_CHARSET_NAME
-
-
Constructor Summary
Constructors Constructor Description LocalizedStringImpl()Default constructorLocalizedStringImpl(Locale locale, String value)Utility constructor sets locale and value
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCharsetName()Get the charset nameLocalegetLocale()Get the localeStringgetValue()Get the valuevoidsetCharsetName(String charset)Set the charset namevoidsetLocale(Locale locale)Set the localevoidsetValue(String value)Set the value
-
-
-
Method Detail
-
getLocale
public Locale getLocale() throws JAXRException
Get the locale- Specified by:
getLocalein interfaceLocalizedString- Returns:
- the Locale used by this object
- Throws:
JAXRException- If the JAXR provider encounters an internal error- See Also:
Locale.getDefault()
-
setLocale
public void setLocale(Locale locale) throws JAXRException
Set the locale- Specified by:
setLocalein interfaceLocalizedString- Parameters:
locale- the Locale used by this object- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getValue
public String getValue() throws JAXRException
Get the value- Specified by:
getValuein interfaceLocalizedString- Returns:
- the value defined by this object
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
setValue
public void setValue(String value) throws JAXRException
Set the value- Specified by:
setValuein interfaceLocalizedString- Parameters:
value- the value defined by this object- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getCharsetName
public String getCharsetName() throws JAXRException
Get the charset name- Specified by:
getCharsetNamein interfaceLocalizedString- Returns:
- the character set name for the character set used by this object
- Throws:
JAXRException- If the JAXR provider encounters an internal error- See Also:
LocalizedString.DEFAULT_CHARSET_NAME
-
setCharsetName
public void setCharsetName(String charset) throws JAXRException
Set the charset name- Specified by:
setCharsetNamein interfaceLocalizedString- Parameters:
charset- the character set name for the character set used by this object- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
-