org.apache.myfaces.tobago.config
Class TobagoConfig

java.lang.Object
  extended by org.apache.myfaces.tobago.config.TobagoConfig

public class TobagoConfig
extends java.lang.Object


Field Summary
static java.lang.String TOBAGO_CONFIG
           
 
Constructor Summary
TobagoConfig()
           
 
Method Summary
 void addMappingRule(MappingRule mappingRule)
           
 void addResourceDir(java.lang.String resourceDir)
           
 void addSupportedThemeName(java.lang.String name)
           
 Theme getDefaultTheme()
           
static TobagoConfig getInstance(FacesContext facesContext)
           
static TobagoConfig getInstance(ServletContext servletContext)
           
 MappingRule getMappingRule(java.lang.String requestUri)
           
 java.util.Iterator<MappingRule> getMappingRules()
           
 RenderersConfig getRenderersConfig()
           
 java.util.List<java.lang.String> getResourceDirs()
           
 java.util.List<Theme> getSupportedThemes()
           
 Theme getTheme(java.lang.String name)
           
 boolean isAjaxEnabled()
           
 boolean isCheckSessionSecret()
           
 boolean isCreateSessionSecret()
           
 boolean isFixLayoutTransparency()
           
 boolean isFixResourceOrder()
           
 void resolveThemes()
           
 void setAjaxEnabled(java.lang.String value)
           
 void setAvailableThemes(java.util.Map<java.lang.String,Theme> availableTheme)
           
 void setCheckSessionSecret(java.lang.String checkSessionSecret)
           
 void setCreateSessionSecret(java.lang.String createSessionSecret)
           
 void setDefaultThemeName(java.lang.String defaultThemeName)
           
 void setFixLayoutTransparency(java.lang.String fixLayoutTransparency)
           
 void setFixResourceOrder(java.lang.String fixResourceOrder)
           
 void setLoadThemesFromClasspath(java.lang.String loadThemesFromClasspath)
          Deprecated. 
 void setRenderersConfig(RenderersConfig renderersConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOBAGO_CONFIG

public static final java.lang.String TOBAGO_CONFIG
See Also:
Constant Field Values
Constructor Detail

TobagoConfig

public TobagoConfig()
Method Detail

addMappingRule

public void addMappingRule(MappingRule mappingRule)

addSupportedThemeName

public void addSupportedThemeName(java.lang.String name)

resolveThemes

public void resolveThemes()

getInstance

public static TobagoConfig getInstance(FacesContext facesContext)

getInstance

public static TobagoConfig getInstance(ServletContext servletContext)

getMappingRule

public MappingRule getMappingRule(java.lang.String requestUri)

getMappingRules

public java.util.Iterator<MappingRule> getMappingRules()

getTheme

public Theme getTheme(java.lang.String name)

setDefaultThemeName

public void setDefaultThemeName(java.lang.String defaultThemeName)

getSupportedThemes

public java.util.List<Theme> getSupportedThemes()

addResourceDir

public void addResourceDir(java.lang.String resourceDir)

getResourceDirs

public java.util.List<java.lang.String> getResourceDirs()

isAjaxEnabled

public boolean isAjaxEnabled()

setAjaxEnabled

public void setAjaxEnabled(java.lang.String value)

isFixResourceOrder

public boolean isFixResourceOrder()

setFixResourceOrder

public void setFixResourceOrder(java.lang.String fixResourceOrder)

isFixLayoutTransparency

public boolean isFixLayoutTransparency()

setFixLayoutTransparency

public void setFixLayoutTransparency(java.lang.String fixLayoutTransparency)

isCreateSessionSecret

public boolean isCreateSessionSecret()

setCreateSessionSecret

public void setCreateSessionSecret(java.lang.String createSessionSecret)

isCheckSessionSecret

public boolean isCheckSessionSecret()

setCheckSessionSecret

public void setCheckSessionSecret(java.lang.String checkSessionSecret)

setLoadThemesFromClasspath

@Deprecated
public void setLoadThemesFromClasspath(java.lang.String loadThemesFromClasspath)
Deprecated. 


getDefaultTheme

public Theme getDefaultTheme()

setAvailableThemes

public void setAvailableThemes(java.util.Map<java.lang.String,Theme> availableTheme)

getRenderersConfig

public RenderersConfig getRenderersConfig()

setRenderersConfig

public void setRenderersConfig(RenderersConfig renderersConfig)


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.