public interface CentraSiteLocale
Modifier and Type | Method and Description |
---|---|
java.util.Locale |
getLocale()
Get the locale.
|
boolean |
isDefault()
Return whether this is the default locale.
|
void |
setDefault(boolean isDefault)
Indicate whether this is the default locale.
|
void |
setLocale(java.util.Locale locale)
Set the locale.
|
java.util.Locale getLocale() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if an internal error occurs on retrieving the localevoid setLocale(java.util.Locale locale) throws javax.xml.registry.JAXRException
locale
- the localejavax.xml.registry.JAXRException
- if an internal error occurs on updating the localeboolean isDefault() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if an internal error occursvoid setDefault(boolean isDefault) throws javax.xml.registry.JAXRException
isDefault
- true if this is to be marked as default localejavax.xml.registry.JAXRException
- if an internal error occurs