public class NullDecoratorMapper extends java.lang.Object implements DecoratorMapper
DecoratorMapper
Constructor and Description |
---|
NullDecoratorMapper() |
Modifier and Type | Method and Description |
---|---|
Decorator |
getDecorator(javax.servlet.http.HttpServletRequest request,
Page page)
Returns null.
|
Decorator |
getNamedDecorator(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
Returns null.
|
void |
init(Config config,
java.util.Properties properties,
DecoratorMapper parent)
Does nothing.
|
public void init(Config config, java.util.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, java.lang.String name)
getNamedDecorator
in interface DecoratorMapper