com.centrasite.jaxr.infomodel
Interface CentraSiteInternationalString

All Superinterfaces:
javax.xml.registry.infomodel.InternationalString

public interface CentraSiteInternationalString
extends javax.xml.registry.infomodel.InternationalString

Provide CentraSite specific extensions for the JAXR InternationalString interface.

See Also:
InternationalString

Method Summary
 boolean containsValue(java.lang.String value)
          Check whether one of the localized strings is equal to the given value.
 java.lang.String getLocalStringValue(java.util.Locale locale)
          Gets the String value for the specified Locale.
 
Methods inherited from interface javax.xml.registry.infomodel.InternationalString
addLocalizedString, addLocalizedStrings, getLocalizedString, getLocalizedStrings, getValue, getValue, removeLocalizedString, removeLocalizedStrings, setValue, setValue
 

Method Detail

getLocalStringValue

java.lang.String getLocalStringValue(java.util.Locale locale)
                                     throws javax.xml.registry.JAXRException
Gets the String value for the specified Locale. If no locale specific value is found return the value for the language part of the locale. If no value for the language part is found return the first localized string value.

Parameters:
locale - The Locale for the desired value. If null the default locale is used.
Returns:
the String value for the specified Locale
Throws:
javax.xml.registry.JAXRException

containsValue

boolean containsValue(java.lang.String value)
                      throws javax.xml.registry.JAXRException
Check whether one of the localized strings is equal to the given value.

Parameters:
value - the value to be checked
Returns:
true if this InternationalString contains the given value
Throws:
javax.xml.registry.JAXRException