org.tinyjee.maven.dim.extensions
Class AbstractParameterTransformer

java.lang.Object
  extended by org.tinyjee.maven.dim.extensions.AbstractParameterTransformer
All Implemented Interfaces:
RequestParameterTransformer
Direct Known Subclasses:
InlineCssParameterTransformer, InlineScriptParameterTransformer, TabbedPanelParameterTransformer, TableLayoutParameterTransformer

public abstract class AbstractParameterTransformer
extends Object
implements RequestParameterTransformer

Implements a base for bundled request parameter transformers.

Author:
Juergen_Kellerer, 2011-11-08

Field Summary
 
Fields inherited from interface org.tinyjee.maven.dim.spi.RequestParameterTransformer
TRANSFORMERS
 
Constructor Summary
AbstractParameterTransformer()
           
 
Method Summary
protected abstract  boolean doTransformParameters(Map<String,Object> requestParams)
           
protected  boolean isSourceSet(Map<String,Object> requestParams)
           
 void transformParameters(Map<String,Object> requestParams)
          Transforms the specified request parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractParameterTransformer

public AbstractParameterTransformer()
Method Detail

doTransformParameters

protected abstract boolean doTransformParameters(Map<String,Object> requestParams)

isSourceSet

protected boolean isSourceSet(Map<String,Object> requestParams)

transformParameters

public final void transformParameters(Map<String,Object> requestParams)
Description copied from interface: RequestParameterTransformer
Transforms the specified request parameters.

Specified by:
transformParameters in interface RequestParameterTransformer
Parameters:
requestParams - the request params to modify.