# Package com.opensymphony.module.sitemesh.mapper

package com.opensymphony.module.sitemesh.mapper

Related Packages
Package
Description
com.opensymphony.module.sitemesh
Classes
Class
Description
AbstractDecoratorMapper
Abstract DecoratorMapper implementation for easy creation of new DecoratorMappers.
AgentDecoratorMapper
The AgentDecoratorMapper can determine the user-agent (i.e.
ConfigDecoratorMapper
Default implementation of DecoratorMapper.
ConfigLoader
The ConfigLoader reads a configuration XML file that contains Decorator definitions (name, url, init-params) and path-mappings (pattern, name).
ConfigLoader.State
State visibile across threads stored in a single container so that we can efficiently atomically access it with the guarantee that we wont see a partially loaded configuration in the face of one thread reloading the configuration while others are trying to read it.
CookieDecoratorMapper
The CookieDecoratorMapper will map a suitable decorator based on a cookie value.
DefaultDecorator
Default implementation of Decorator.
EnvEntryDecoratorMapper
The EnvEntryDecoratorMapper allows the reference to a web-app environment entry for the decorator name, and falls back to ConfigDecoratorMapper's behavior if no matching environment entry is found.
FileDecoratorMapper
The FileDecoratorMapper will treat the name of the decorator as a file-name to use (in the context of the web-app).
FrameSetDecoratorMapper
The FrameSetDecoratorMapper will use the specified decorator when the Page is an instance of `HTMLPage` and `isFrameSet()` returns true.
InlineDecoratorMapper
The InlineDecoratorMapper is used to determine the correct Decorator when using inline decorators.
LanguageDecoratorMapper
The LanguageDecoratorMapper can determine the preferred language set in the browser requesting a page, and map to a suitable Decorator (using the "Accept-Language" HTTP header).
NullDecoratorMapper
The NullDecoratorMapper represents the top-level DecoratorMapper that is finally delegated to if no other DecoratorMapper has intervened.
OSDecoratorMapper
The OSDecoratorMapper will map a suitable decorator based on the operating system of the remote client.
PageDecoratorMapper
The PageDecoratorMapper allows the actual Page to determine the Decorator to be used.
ParameterDecoratorMapper
The ParameterDecoratorMapper will map a suitable decorator based on request parameters.
PathMapper
The PathMapper is used to map file patterns to keys, and find an approriate key for a given file path.
PrintableDecoratorMapper
The PrintableDecoratorMapper is a sample DecoratorMapper that will check to see whether 'printable=true' is supplied as a request parameter and if so, use the specified decorator instead.
RobotDecoratorMapper
The RobotDecoratorMapper will use the specified decorator when the requester is identified as a robot (also known as spider, crawler, ferret) of a search engine.
SessionDecoratorMapper
Will look at a session attribute to find the name of an appropriate decorator to use.