Uses of Interface
com.opensymphony.module.sitemesh.DecoratorMapper
Packages that use DecoratorMapper
Package
Description
Sitemesh Package.
Factory Package.
Mapper Package.
Compatability classes to enable easy migration of SiteMesh 1 and 2 applications to SiteMesh 3.
-
Uses of DecoratorMapper in com.opensymphony.module.sitemesh
Methods in com.opensymphony.module.sitemesh that return DecoratorMapperModifier and TypeMethodDescriptionabstract DecoratorMapperFactory.getDecoratorMapper()Return instance of DecoratorMapper.Methods in com.opensymphony.module.sitemesh with parameters of type DecoratorMapperModifier and TypeMethodDescriptionvoidDecoratorMapper.init(Config config, Properties properties, DecoratorMapper parent) Initialize the mapper. -
Uses of DecoratorMapper in com.opensymphony.module.sitemesh.factory
Fields in com.opensymphony.module.sitemesh.factory declared as DecoratorMapperModifier and TypeFieldDescriptionprotected DecoratorMapperBaseFactory.decoratorMapperInstance ofDecoratorMapper.Methods in com.opensymphony.module.sitemesh.factory that return DecoratorMapperModifier and TypeMethodDescriptionBaseFactory.getDecoratorMapper()Return instance of DecoratorMapper.protected DecoratorMapperBaseFactory.getDecoratorMapper(Class<?> decoratorMapperClass) Gets the decorator mapper. -
Uses of DecoratorMapper in com.opensymphony.module.sitemesh.mapper
Classes in com.opensymphony.module.sitemesh.mapper that implement DecoratorMapperModifier and TypeClassDescriptionclassAbstract DecoratorMapper implementation for easy creation of new DecoratorMappers.classThe AgentDecoratorMapper can determine the user-agent (i.e.classDefault implementation of DecoratorMapper.classThe CookieDecoratorMapper will map a suitable decorator based on a cookie value.classThe 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.classThe FileDecoratorMapper will treat the name of the decorator as a file-name to use (in the context of the web-app).classThe FrameSetDecoratorMapper will use the specified decorator when the Page is an instance ofHTMLPageandisFrameSet()returns true.classThe InlineDecoratorMapper is used to determine the correct Decorator when using inline decorators.classThe 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).classThe NullDecoratorMapper represents the top-level DecoratorMapper that is finally delegated to if no other DecoratorMapper has intervened.classThe OSDecoratorMapper will map a suitable decorator based on the operating system of the remote client.classThe PageDecoratorMapper allows the actual Page to determine the Decorator to be used.classThe ParameterDecoratorMapper will map a suitable decorator based on request parameters.classThe 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.classThe RobotDecoratorMapper will use the specified decorator when the requester is identified as a robot (also known as spider, crawler, ferret) of a search engine.classWill look at a session attribute to find the name of an appropriate decorator to use.Fields in com.opensymphony.module.sitemesh.mapper declared as DecoratorMapperModifier and TypeFieldDescriptionprotected DecoratorMapperAbstractDecoratorMapper.parentParent DecoratorMapper.Methods in com.opensymphony.module.sitemesh.mapper with parameters of type DecoratorMapperModifier and TypeMethodDescriptionvoidAbstractDecoratorMapper.init(Config config, Properties properties, DecoratorMapper parent) voidAgentDecoratorMapper.init(Config config, Properties properties, DecoratorMapper parent) voidConfigDecoratorMapper.init(Config config, Properties properties, DecoratorMapper parent) Create new ConfigLoader using '/WEB-INF/decorators.xml' file.voidCookieDecoratorMapper.init(Config config, Properties properties, DecoratorMapper parent) voidFrameSetDecoratorMapper.init(Config config, Properties properties, DecoratorMapper parent) voidLanguageDecoratorMapper.init(Config config, Properties properties, DecoratorMapper parent) voidNullDecoratorMapper.init(Config config, Properties properties, DecoratorMapper parent) Does nothing.voidOSDecoratorMapper.init(Config config, Properties properties, DecoratorMapper parent) Init initializes the OSDecoratorMapper object by setting the parent DecoratorMapper, and loading the initialization properties.voidPageDecoratorMapper.init(Config config, Properties properties, DecoratorMapper parent) voidParameterDecoratorMapper.init(Config config, Properties properties, DecoratorMapper parent) voidPrintableDecoratorMapper.init(Config config, Properties properties, DecoratorMapper parent) voidRobotDecoratorMapper.init(Config config, Properties properties, DecoratorMapper parent) voidSessionDecoratorMapper.init(Config config, Properties properties, DecoratorMapper parent) -
Uses of DecoratorMapper in com.opensymphony.sitemesh.compatability
Constructors in com.opensymphony.sitemesh.compatability with parameters of type DecoratorMapperModifierConstructorDescriptionDecoratorMapper2DecoratorSelector(DecoratorMapper decoratorMapper) Instantiates a new decorator mapper 2 decorator selector.