com.softwareag.centrasite.appl.framework.beans.standard
Interface InternationalString

All Known Implementing Classes:
InternationalStringImpl

public interface InternationalString


Method Summary
 void addLocalizedString(LocalizedString localizedString)
          Adds a LocalizedString to this object.
 void addLocalizedStrings(java.util.Collection<LocalizedString> 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<LocalizedString> getLocalizedStrings()
          Returns the LocalizedStrings associated with this object.
 java.lang.String getValue()
          Gets the String value for the default locale and the default charset.
 java.lang.String getValue(java.util.Locale locale)
          Gets the String value for the specified Locale and the default charset.
 void removeLocalizedString(LocalizedString localizedString)
          Removes a LocalizedString from this object.
 void removeLocalizedStrings(java.util.Collection<LocalizedString> 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 default locale.
 

Method Detail

addLocalizedString

void addLocalizedString(LocalizedString localizedString)
                        throws CSAppFrameworkException
Adds a LocalizedString to this object.

Parameters:
localizedString -
Throws:
CSAppFrameworkException

addLocalizedStrings

void addLocalizedStrings(java.util.Collection<LocalizedString> localizedStrings)
                         throws CSAppFrameworkException
Adds many LocalizedStrings to this object.

Parameters:
localizedStrings -
Throws:
CSAppFrameworkException

getLocalizedString

LocalizedString getLocalizedString(java.util.Locale locale,
                                   java.lang.String charsetName)
                                   throws CSAppFrameworkException
Gets the LocalizedString for the specified Locale and charsetName.

Parameters:
locale -
charsetName -
Returns:
LocalizedString
Throws:
CSAppFrameworkException

getLocalizedStrings

java.util.Collection<LocalizedString> getLocalizedStrings()
                                                          throws CSAppFrameworkException
Returns the LocalizedStrings associated with this object.

Returns:
Collection
Throws:
CSAppFrameworkException

getValue

java.lang.String getValue()
                          throws CSAppFrameworkException
Gets the String value for the default locale and the default charset.

Returns:
String
Throws:
CSAppFrameworkException

getValue

java.lang.String getValue(java.util.Locale locale)
                          throws CSAppFrameworkException
Gets the String value for the specified Locale and the default charset.

Parameters:
locale -
Returns:
String
Throws:
CSAppFrameworkException

removeLocalizedString

void removeLocalizedString(LocalizedString localizedString)
                           throws CSAppFrameworkException
Removes a LocalizedString from this object.

Parameters:
localizedString -
Throws:
CSAppFrameworkException

removeLocalizedStrings

void removeLocalizedStrings(java.util.Collection<LocalizedString> localizedStrings)
                            throws CSAppFrameworkException
Removes specified LocalizedStrings to this object.

Parameters:
localizedStrings -
Throws:
CSAppFrameworkException

setValue

void setValue(java.util.Locale locale,
              java.lang.String value)
              throws CSAppFrameworkException
Sets the String value for the specified Locale.

Parameters:
locale -
value -
Throws:
CSAppFrameworkException

setValue

void setValue(java.lang.String value)
              throws CSAppFrameworkException
Sets the String value for the default locale.

Parameters:
value -
Throws:
CSAppFrameworkException