com.jalios.jcms.accessibility
Class AccessibilityContextManager
java.lang.Object
com.jalios.jcms.accessibility.AccessibilityContextManager
public class AccessibilityContextManager
- extends Object
Manage the list of AccessibilityContext
- available in the site;
- available for a given HttpSession
The list of AccessibilityContext is determined by a list of properties.
One AccessibilityContext is instantiated for each property :
ui.accessibility.context..jslist : a list of seperated js files to use in FO
or
ui.accessibility.context..csslist : a list of seperated css files to use in FO
or both.
Label and description of this context are set by I18N properties :
ui.accessibility.contextlabel.: Label of context
ui.accessibility.contextdescription.: Detailled description of this context
The default context is the only one if only one is defined, or the one that uses as id "standard".
- Since:
- JCMS-6.0
- Author:
- dissert
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static AccessibilityContextManager getInstance()
hasManyContexts
public boolean hasManyContexts()
getContexts
public Collection<AccessibilityContext> getContexts()
getCurrentAccessibilityContext
public AccessibilityContext getCurrentAccessibilityContext(javax.servlet.http.HttpServletRequest request)
getCurrentAccessibilityContext
public AccessibilityContext getCurrentAccessibilityContext(javax.servlet.http.HttpSession session)
setCurrentAccessibilityContext
public boolean setCurrentAccessibilityContext(javax.servlet.http.HttpServletRequest request,
String context)
setCurrentAccessibilityContext
public boolean setCurrentAccessibilityContext(javax.servlet.http.HttpSession session,
String context)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.