Save This Page
Home » sitemesh-2.3 » com.opensymphony.module » sitemesh » mapper » [javadoc | source]
com.opensymphony.module.sitemesh.mapper
public class: NullDecoratorMapper [javadoc | source]
java.lang.Object
   com.opensymphony.module.sitemesh.mapper.NullDecoratorMapper

All Implemented Interfaces:
    DecoratorMapper

The NullDecoratorMapper represents the top-level DecoratorMapper that is finally delegated to if no other DecoratorMapper has intervened. It is used so the parent property does not have to be checked by other DecoratorMappers (null object pattern).
Method from com.opensymphony.module.sitemesh.mapper.NullDecoratorMapper Summary:
getDecorator,   getNamedDecorator,   init
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.opensymphony.module.sitemesh.mapper.NullDecoratorMapper Detail:
 public Decorator getDecorator(HttpServletRequest request,
    Page page) 
    Returns null.
 public Decorator getNamedDecorator(HttpServletRequest request,
    String name) 
    Returns null.
 public  void init(Config config,
    Properties properties,
    DecoratorMapper parent) 
    Does nothing.