|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents a String that has been internationalized into several Locales. This interface is used as a replacement for the String type whenever a String attribute needs to be I18N capable. An instance of the InternationalString interface composes within it a Collection of LocalizedString instances, where each String is specific to a particular Locale. The InternationalString interface provides set/get methods for adding or getting locale specific String values for the InternationalString instance.
LocalizedString
Method Summary | |
java.lang.String |
getValue()
Get the String value for the Locale returned by Locale.getDefault(). |
java.lang.String |
getValue(java.util.Locale l)
Get the String value for the specified Locale. |
java.util.Collection |
getValues()
Get all the String values in all the different Locales as currently defined. |
void |
setValue(java.util.Collection localizedStrings)
Set all the String values for specified Locales. |
void |
setValue(java.util.Locale l,
java.lang.String s)
Set the String value for the specified Locale. |
void |
setValue(java.lang.String s)
Set the String value for the Locale returned by Locale.getDefault(). |
Method Detail |
public java.lang.String getValue() throws JAXRException
public java.lang.String getValue(java.util.Locale l) throws JAXRException
public java.util.Collection getValues() throws JAXRException
public void setValue(java.lang.String s) throws JAXRException
public void setValue(java.util.Locale l, java.lang.String s) throws JAXRException
public void setValue(java.util.Collection localizedStrings) throws JAXRException
localizedStrings
- Is a Collection of LocalizedString
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |