org.hippoecm.hst.site.request
Class MountDecoratorImpl

java.lang.Object
  extended by org.hippoecm.hst.site.request.MountDecoratorImpl
All Implemented Interfaces:
MountDecorator

public class MountDecoratorImpl
extends Object
implements MountDecorator


Field Summary
protected static org.slf4j.Logger log
           
 
Constructor Summary
MountDecoratorImpl()
           
 
Method Summary
 ContextualizableMount decorateMountAsPreview(ContextualizableMount mount)
          This method decorates the mount to a preview Mount.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.slf4j.Logger log
Constructor Detail

MountDecoratorImpl

public MountDecoratorImpl()
Method Detail

decorateMountAsPreview

public ContextualizableMount decorateMountAsPreview(ContextualizableMount mount)
Description copied from interface: MountDecorator
This method decorates the mount to a preview Mount. If the mount in the argument is already a preview mount according Mount.isPreview(), then the mount from the argument is returned without decorating it.

Specified by:
decorateMountAsPreview in interface MountDecorator
Parameters:
mount - the mount to decorate
Returns:
the decorated Mount


Copyright © 2008-2012 Hippo. All Rights Reserved.