1 9 10 package com.opensymphony.module.sitemesh.mapper; 11 12 import com.opensymphony.module.sitemesh.Config; 13 import com.opensymphony.module.sitemesh.Decorator; 14 import com.opensymphony.module.sitemesh.DecoratorMapper; 15 import com.opensymphony.module.sitemesh.Page; 16 17 import javax.servlet.http.HttpServletRequest ; 18 import java.util.Properties ; 19 20 31 public class NullDecoratorMapper implements DecoratorMapper { 32 33 34 public void init(Config config, Properties properties, DecoratorMapper parent) { 35 } 36 37 38 public Decorator getDecorator(HttpServletRequest request, Page page) { 39 return null; 40 } 41 42 43 public Decorator getNamedDecorator(HttpServletRequest request, String name) { 44 return null; 45 } 46 } | Popular Tags |