public interface InternationalString
LocalizedString
Modifier and Type | Method and Description |
---|---|
void |
addLocalizedString(LocalizedString localizedString)
Adds a LocalizedString to this object.
|
void |
addLocalizedStrings(java.util.Collection localizedStrings)
Adds many LocalizedStrings to this object.
|
LocalizedString |
getLocalizedString(java.util.Locale locale,
java.lang.String charsetName)
Gets the LocalizedString for the specified Locale and charsetName.
|
java.util.Collection |
getLocalizedStrings()
Returns the LocalizedStrings associated with this object.
|
java.lang.String |
getValue()
Gets the String value for the Locale returned by Locale.getDefault().
|
java.lang.String |
getValue(java.util.Locale locale)
Gets the String value for the specified Locale.
|
void |
removeLocalizedString(LocalizedString localizedString)
Removes a LocalizedString from this object.
|
void |
removeLocalizedStrings(java.util.Collection localizedStrings)
Removes specified LocalizedStrings to this object.
|
void |
setValue(java.util.Locale locale,
java.lang.String value)
Sets the String value for the specified Locale.
|
void |
setValue(java.lang.String value)
Sets the String value for the Locale returned by Locale.getDefault().
|
java.lang.String getValue() throws JAXRException
JAXRException
- If the Jakarta XML Registries provider encounters an internal errorjava.lang.String getValue(java.util.Locale locale) throws JAXRException
locale
- The Locale for the desired valueJAXRException
- If the Jakarta XML Registries provider encounters an internal errorvoid setValue(java.lang.String value) throws JAXRException
value
- the String value for the Locale returned by Locale.getDefault()JAXRException
- If the Jakarta XML Registries provider encounters an internal errorvoid setValue(java.util.Locale locale, java.lang.String value) throws JAXRException
locale
- The locale for this value being setvalue
- The value being setJAXRException
- If the Jakarta XML Registries provider encounters an internal errorvoid addLocalizedString(LocalizedString localizedString) throws JAXRException
localizedString
- the LocalizedString being added to this objectJAXRException
- If the Jakarta XML Registries provider encounters an internal errorvoid addLocalizedStrings(java.util.Collection localizedStrings) throws JAXRException
localizedStrings
- the Collection of LocalizedStrings being added to this objectJAXRException
- If the Jakarta XML Registries provider encounters an internal errorvoid removeLocalizedString(LocalizedString localizedString) throws JAXRException
localizedString
- the LocalizedString being removed from this objectJAXRException
- If the Jakarta XML Registries provider encounters an internal errorvoid removeLocalizedStrings(java.util.Collection localizedStrings) throws JAXRException
localizedStrings
- the Collection of LocalizedStrings being removed from this objectJAXRException
- If the Jakarta XML Registries provider encounters an internal errorLocalizedString getLocalizedString(java.util.Locale locale, java.lang.String charsetName) throws JAXRException
locale
- The loacle for the desired LocalizedStringscharsetName
- The character set name for the desired LocalizedStringsJAXRException
- If the Jakarta XML Registries provider encounters an internal errorjava.util.Collection getLocalizedStrings() throws JAXRException
JAXRException
- If the Jakarta XML Registries provider encounters an internal errorLocalizedString