|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
InternationalString
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_CHARSET_NAME
The default name returned by getCharsetName if no other name has explicitly been set. |
Method Summary | |
---|---|
java.lang.String |
getCharsetName()
Gets the canonical name for the charset for this object. |
java.util.Locale |
getLocale()
Get the Locale for this object. |
java.lang.String |
getValue()
Get the String value for this object. |
void |
setCharsetName(java.lang.String charsetName)
Set the canonical name for the charset for this object. |
void |
setLocale(java.util.Locale locale)
Set the Locale for this object. |
void |
setValue(java.lang.String value)
Set the String value for the specified object. |
Field Detail |
---|
static final java.lang.String DEFAULT_CHARSET_NAME
Method Detail |
---|
java.lang.String getCharsetName() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorLocalizedString#DEFAULT_CHARSET_NAME
java.util.Locale getLocale() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorLocale.getDefault()
java.lang.String getValue() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setCharsetName(java.lang.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 errorvoid setLocale(java.util.Locale locale) throws JAXRException
locale
- the Locale used by this object
JAXRException
- If the JAXR provider encounters an internal errorvoid setValue(java.lang.String value) throws JAXRException
value
- the value defined by this object
JAXRException
- If the JAXR provider encounters an internal error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41