|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.share.config.Configuration
public abstract class Configuration
The Configuration class and its default
implementation, ConfigurationImpl, are remnant
configuration classes for the UIX portions of Trinidad, and
should not be used for new code.
ConfigurationImpl| Field Summary | |
|---|---|
static java.lang.Object |
BASE_DIRECTORY
Key for the base UIX directory. |
static java.lang.String |
CHECK_TIMESTAMP_PARAM
|
static java.lang.String |
DISABLE_CONTENT_COMPRESSION
Disables optimizations that are normally performed by the Trinidad Renderers to reduce content size. |
static java.lang.Object |
DISABLE_STANDARDS_MODE
|
static java.lang.Object |
HEADLESS
Key for enabled headless rendering. |
static java.lang.Object |
IMAGE_SERVLET_URL
Key used to specify the URL location of the ImageServlet to use for image generation. |
static java.lang.Object |
IMAGES_CACHE_DIRECTORY
Key for the UIX image cache directory. |
static java.lang.Object |
IMAGES_DIRECTORY
Key for the UIX images directory. |
static java.lang.Object |
JSLIBS_DIRECTORY
Key for the UIX jsLibs directory. |
static java.lang.Object |
JSPS_DIRECTORY
Key for the UIX JSP directory. |
static java.lang.Object |
LOOK_AND_FEEL_MANAGER
Key for the LookAndFeelManager property. |
static java.lang.Object |
RENDERER_MANAGER
Key for the RendererManager property. |
static java.lang.Object |
SKIN_FAMILY
Key for the Skin family property. |
static java.lang.Object |
STYLES_CACHE_DIRECTORY
Key for the UIX styles cache directory. |
static java.lang.Object |
STYLES_DIRECTORY
Key for the UIX styles directory. |
static java.lang.Object |
XML_PROVIDER
Key for the XMLProvider property. |
| Method Summary | |
|---|---|
abstract java.lang.String |
getPath(java.lang.Object key,
java.lang.String contextPath)
Return a path for a UIX directory. |
abstract java.lang.Object |
getProperty(java.lang.Object key)
Return a registered property. |
abstract java.lang.String |
getURI(java.lang.Object key,
java.lang.String contextURI)
Return a URI for a UIX directory. |
abstract boolean |
isDebug()
Returns whether the configuration is in debug mode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DISABLE_CONTENT_COMPRESSION
This Boolean property controls whether or not Trinidad Renderer implementations should attempt to reduce the size of generated content, for example, by compressing style class names. These optimizations are enabled by default. In general, users should not need to disable these optimizations. However, users who want to build custom skins for Trinidad will find this setting essential. Use Boolean.TRUE to disable compression.
public static final java.lang.String CHECK_TIMESTAMP_PARAM
public static final java.lang.Object BASE_DIRECTORY
public static final java.lang.Object IMAGES_DIRECTORY
public static final java.lang.Object IMAGES_CACHE_DIRECTORY
public static final java.lang.Object STYLES_DIRECTORY
public static final java.lang.Object STYLES_CACHE_DIRECTORY
public static final java.lang.Object JSLIBS_DIRECTORY
public static final java.lang.Object JSPS_DIRECTORY
public static final java.lang.Object SKIN_FAMILY
org.apache.myfaces.trinidadinternal.skin.Skinpublic static final java.lang.Object LOOK_AND_FEEL_MANAGER
LookAndFeelManagerpublic static final java.lang.Object RENDERER_MANAGER
public static final java.lang.Object XML_PROVIDER
public static final java.lang.Object HEADLESS
public static final java.lang.Object IMAGE_SERVLET_URL
public static final java.lang.Object DISABLE_STANDARDS_MODE
| Method Detail |
|---|
public abstract java.lang.String getURI(java.lang.Object key,
java.lang.String contextURI)
key - the key used to identify the directorycontextURI - the current contextURI; this will
be preprended to the returned URI if this directory
is registered as (or defaulting to) context-relative.
This path must not be terminated with a separator ("/").
DirectoryUnavailableException - if the directory is
unavailable
public abstract java.lang.String getPath(java.lang.Object key,
java.lang.String contextPath)
key - the key used to identify the directorycontextPath - the current context path; this will
be preprended to the returned path if this directory
is registered as (or defaulting to) context-relative.
DirectoryUnavailableException - if the directory is
unavailablepublic abstract java.lang.Object getProperty(java.lang.Object key)
key - the key used to identify the property
public abstract boolean isDebug()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||