|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
InternationalString
Field Summary | |
static String |
DEFAULT_CHARSET_NAME
The default name returned by getCharsetName if no other name has explicitly been set. |
Method Summary | |
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. |
Field Detail |
public static final String DEFAULT_CHARSET_NAME
Method Detail |
public String getCharsetName() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorDEFAULT_CHARSET_NAME
public Locale getLocale() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorLocale.getDefault()
public String getValue() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic void setCharsetName(String charsetName) throws JAXRException
charsetName
- the character set name for the character set used by this object
JAXRException
- If the JAXR provider encounters an internal errorpublic void setLocale(Locale locale) throws JAXRException
locale
- the Locale used by this object
JAXRException
- If the JAXR provider encounters an internal errorpublic void setValue(String value) throws JAXRException
value
- the value defined by this object
JAXRException
- If the JAXR provider encounters an internal error
|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.