Class PluginDecoratorMapper<M>

java.lang.Object
com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
com.atlassian.confluence.impl.sitemesh.PluginDecoratorMapper<M>
All Implemented Interfaces:
com.opensymphony.module.sitemesh.DecoratorMapper

public final class PluginDecoratorMapper<M> extends com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
Since:
9.1
  • Field Summary

    Fields inherited from class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper

    config, parent
  • Constructor Summary

    Constructors
    Constructor
    Description
    PluginDecoratorMapper(Function<M,String> decoratorNameFactory, Function<M,URI> decoratorUriFactory, Supplier<Collection<? extends com.atlassian.plugin.ModuleDescriptor<M>>> moduleDescriptorsRef, BiPredicate<M,javax.servlet.http.HttpServletRequest> decoratorPathMatcher)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.opensymphony.module.sitemesh.Decorator
    getDecorator(javax.servlet.http.HttpServletRequest httpServletRequest, com.opensymphony.module.sitemesh.Page page)
     
    com.opensymphony.module.sitemesh.Decorator
    getNamedDecorator(javax.servlet.http.HttpServletRequest httpServletRequest, String name)
     

    Methods inherited from class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper

    init

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PluginDecoratorMapper

      public PluginDecoratorMapper(Function<M,String> decoratorNameFactory, Function<M,URI> decoratorUriFactory, Supplier<Collection<? extends com.atlassian.plugin.ModuleDescriptor<M>>> moduleDescriptorsRef, BiPredicate<M,javax.servlet.http.HttpServletRequest> decoratorPathMatcher)
  • Method Details

    • getDecorator

      public com.opensymphony.module.sitemesh.Decorator getDecorator(javax.servlet.http.HttpServletRequest httpServletRequest, com.opensymphony.module.sitemesh.Page page)
      Specified by:
      getDecorator in interface com.opensymphony.module.sitemesh.DecoratorMapper
      Overrides:
      getDecorator in class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
    • getNamedDecorator

      public com.opensymphony.module.sitemesh.Decorator getNamedDecorator(javax.servlet.http.HttpServletRequest httpServletRequest, String name)
      Specified by:
      getNamedDecorator in interface com.opensymphony.module.sitemesh.DecoratorMapper
      Overrides:
      getNamedDecorator in class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper