Package com.opensymphony.module.sitemesh.mapper


package com.opensymphony.module.sitemesh.mapper
  • Classes
    Class
    Description
    Abstract DecoratorMapper implementation for easy creation of new DecoratorMappers.
    The AgentDecoratorMapper can determine the user-agent (i.e.
    Default implementation of DecoratorMapper.
    The ConfigLoader reads a configuration XML file that contains Decorator definitions (name, url, init-params) and path-mappings (pattern, name).
    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.
    The CookieDecoratorMapper will map a suitable decorator based on a cookie value.
    Default implementation of Decorator.
    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.
    The FileDecoratorMapper will treat the name of the decorator as a file-name to use (in the context of the web-app).
    The FrameSetDecoratorMapper will use the specified decorator when the Page is an instance of HTMLPage and isFrameSet() returns true.
    The InlineDecoratorMapper is used to determine the correct Decorator when using inline decorators.
    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).
    The NullDecoratorMapper represents the top-level DecoratorMapper that is finally delegated to if no other DecoratorMapper has intervened.
    The OSDecoratorMapper will map a suitable decorator based on the operating system of the remote client.
    The PageDecoratorMapper allows the actual Page to determine the Decorator to be used.
    The ParameterDecoratorMapper will map a suitable decorator based on request parameters.
    The PathMapper is used to map file patterns to keys, and find an approriate key for a given file path.
    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.
    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.
    Will look at a session attribute to find the name of an appropriate decorator to use.