public interface I_CmsClientMessageBundle
I_CmsMessageBundle
Modifier and Type | Method and Description |
---|---|
java.lang.String |
export(javax.servlet.http.HttpServletRequest request)
Returns the JSON code for this resource bundle and the default locale.
|
java.lang.String |
export(java.util.Locale locale)
Returns the JSON code for this resource bundle and given locale.
|
java.lang.String |
export(java.util.Locale locale,
boolean wrapScript)
Returns the JSON code for this resource bundle and given locale.
|
java.lang.String |
export(java.lang.String localeName)
Returns the JSON code for this resource bundle and given locale.
|
java.lang.String |
getBundleName()
Returns the bundle name for this OpenCms package.
|
java.lang.Class<?> |
getClientImpl()
Returns the class of the client implementation.
|
java.lang.String export(javax.servlet.http.HttpServletRequest request)
request
- the current request to get the default locale fromjava.lang.String export(java.util.Locale locale)
locale
- the locale to exportjava.lang.String export(java.util.Locale locale, boolean wrapScript)
locale
- the locale to exportwrapScript
- true
to wrap the data in a script tagjava.lang.String export(java.lang.String localeName)
localeName
- the name of the locale to exportjava.lang.String getBundleName()
java.lang.Class<?> getClientImpl() throws java.lang.Exception
java.lang.Exception
- if something goes wrong