|
||||||||||
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 |
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 |
STYLE_SHEET_NAME
Key for the XSS style sheet name 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 |
TECATE_SERVLET_URL
Deprecated. Use IMAGE_SERVLET_URL |
static java.lang.Object |
USER_STYLE_SHEET
Key for the UserStyleSheetProperty. |
static java.lang.Object |
XML_PROVIDER
Key for the XMLProvider property. |
Constructor Summary | |
---|---|
Configuration(java.lang.String name)
Create a Configuration with a name. |
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, clients should not need to disable these optimizations. However, clients that want to disable this functionality for testing or debugging purposes can do so by setting this property to Boolean.TRUE.
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.Skin
public static final java.lang.Object LOOK_AND_FEEL_MANAGER
LookAndFeelManager
public static final java.lang.Object STYLE_SHEET_NAME
public 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
@Deprecated public static final java.lang.Object TECATE_SERVLET_URL
public static final java.lang.Object USER_STYLE_SHEET
UserStyleSheet
,
StyleProvider
public static final java.lang.Object DISABLE_STANDARDS_MODE
Constructor Detail |
---|
public Configuration(java.lang.String name)
register()
method) before it is used.
#register
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
unavailablepublic 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 |