public interface InternationalString
LocalizedString
Modifier and Type | Method and Description |
---|---|
void |
addLocalizedString(LocalizedString localizedString)
Adds a LocalizedString to this object.
|
void |
addLocalizedStrings(Collection localizedStrings)
Adds many LocalizedStrings to this object.
|
LocalizedString |
getLocalizedString(Locale locale,
String charsetName)
Gets the LocalizedString for the specified Locale and charsetName.
|
Collection |
getLocalizedStrings()
Returns the LocalizedStrings associated with this object.
|
String |
getValue()
Gets the String value for the Locale returned by Locale.getDefault().
|
String |
getValue(Locale locale)
Gets the String value for the specified Locale.
|
void |
removeLocalizedString(LocalizedString localizedString)
Removes a LocalizedString from this object.
|
void |
removeLocalizedStrings(Collection localizedStrings)
Removes specified LocalizedStrings to this object.
|
void |
setValue(Locale locale,
String value)
Sets the String value for the specified Locale.
|
void |
setValue(String value)
Sets the String value for the Locale returned by Locale.getDefault().
|
String getValue() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorString getValue(Locale locale) throws JAXRException
locale
- The Locale for the desired valueJAXRException
- If the JAXR provider encounters an internal errorvoid setValue(String value) throws JAXRException
value
- the String value for the Locale returned by Locale.getDefault()JAXRException
- If the JAXR provider encounters an internal errorvoid setValue(Locale locale, String value) throws JAXRException
locale
- The locale for this value being setvalue
- The value being setJAXRException
- If the JAXR provider encounters an internal errorvoid addLocalizedString(LocalizedString localizedString) throws JAXRException
localizedString
- the LocalizedString being added to this objectJAXRException
- If the JAXR provider encounters an internal errorvoid addLocalizedStrings(Collection localizedStrings) throws JAXRException
localizedStrings
- the Collection of LocalizedStrings being added to this objectJAXRException
- If the JAXR provider encounters an internal errorvoid removeLocalizedString(LocalizedString localizedString) throws JAXRException
localizedString
- the LocalizedString being removed from this objectJAXRException
- If the JAXR provider encounters an internal errorvoid removeLocalizedStrings(Collection localizedStrings) throws JAXRException
localizedStrings
- the Collection of LocalizedStrings being removed from this objectJAXRException
- If the JAXR provider encounters an internal errorLocalizedString getLocalizedString(Locale locale, String charsetName) throws JAXRException
locale
- The loacle for the desired LocalizedStringscharsetName
- The character set name for the desired LocalizedStringsJAXRException
- If the JAXR provider encounters an internal errorCollection getLocalizedStrings() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorLocalizedString
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.