org.apache.struts2.sitemesh

## Class VelocityMapper2DecoratorSelector

- java.lang.Object
- - org.apache.struts2.sitemesh.VelocityMapper2DecoratorSelector

- All Implemented Interfaces:
    com.opensymphony.sitemesh.DecoratorSelector

      public class VelocityMapper2DecoratorSelector
      extends Object
      implements com.opensymphony.sitemesh.DecoratorSelector

  Returns a `OldDecorator2NewStrutsVelocityDecorator` decorator for a velocity request. Won't decorate the output if it finds a "decorator" flag in the request

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `VelocityMapper2DecoratorSelector(com.opensymphony.module.sitemesh.DecoratorMapper decoratorMapper)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.opensymphony.sitemesh.Decorator` | `selectDecorator(com.opensymphony.sitemesh.Content content, com.opensymphony.sitemesh.SiteMeshContext context)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### VelocityMapper2DecoratorSelector

          public VelocityMapper2DecoratorSelector(com.opensymphony.module.sitemesh.DecoratorMapper decoratorMapper)

  - ### Method Detail

    - #### selectDecorator

          public com.opensymphony.sitemesh.Decorator selectDecorator(com.opensymphony.sitemesh.Content content,
                                                            com.opensymphony.sitemesh.SiteMeshContext context)

      Specified by:
        `selectDecorator` in interface `com.opensymphony.sitemesh.DecoratorSelector`

Copyright © 2000–2018 Apache Software Foundation. All rights reserved.