Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`VelocityMapper2DecoratorSelector(com.opensymphony.module.sitemesh.DecoratorMapper decoratorMapper)`

Method Summary
`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`

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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