com.ibm.mashups.enabler.context
Interface Factory


public Factory

Factory to get context objects.


Method Summary
 com.ibm.mashups.enabler.context.LocalizedContext getLocalizedContext(String preferredLocale, String defaultLocale)
           Returns a LocalizedContext for the specified locales.
 PageContext getPageContext()
           Returns a PageContext.
 

Method Detail

getLocalizedContext

com.ibm.mashups.enabler.context.LocalizedContext getLocalizedContext(String preferredLocale,
                                                                     String defaultLocale)
Returns a LocalizedContext for the specified locales.

Parameters:
preferredLocale - preferred locale to use; optional, defaults to the preferred locale set with the browser.
defaultLocale - default locale to use; optional, defaults to the locale "en"
Returns:
localized context for the specified locales.

getPageContext

PageContext getPageContext()
Returns a PageContext.

Returns:
the page context
Since:
2.4


Copyright IBM Corp. 2010 All Rights Reserved.