DecoratorMapper
public class NullDecoratorMapper extends Object implements DecoratorMapper
DecoratorMapper
Constructor | Description |
---|---|
NullDecoratorMapper() |
Modifier and Type | Method | Description |
---|---|---|
Decorator |
getDecorator(javax.servlet.http.HttpServletRequest request,
Page page) |
Returns null.
|
Decorator |
getNamedDecorator(javax.servlet.http.HttpServletRequest request,
String name) |
Returns null.
|
void |
init(Config config,
Properties properties,
DecoratorMapper parent) |
Does nothing.
|
public void init(Config config, Properties properties, DecoratorMapper parent)
init
in interface DecoratorMapper
config
- Config supplied by Servlet or Filter.properties
- Any initialization properties (specific to implementation).public Decorator getDecorator(javax.servlet.http.HttpServletRequest request, Page page)
getDecorator
in interface DecoratorMapper
public Decorator getNamedDecorator(javax.servlet.http.HttpServletRequest request, String name)
getNamedDecorator
in interface DecoratorMapper