net.mlw.vlh.adapter.util
Class StringDotReplaceAllTextManipulator

java.lang.Object
  extended bynet.mlw.vlh.adapter.util.StringDotReplaceAllTextManipulator
All Implemented Interfaces:
TextManipulator

public class StringDotReplaceAllTextManipulator
extends Object
implements TextManipulator

This interface consumes a StringBuffer and a Map and manipulates the StringBuffer. net.mlw.vlh.adapter.util.StringDotReplaceAllTextManipulator

Author:
mwilson

Constructor Summary
StringDotReplaceAllTextManipulator()
           
 
Method Summary
 StringBuffer manipulate(StringBuffer value, Map model)
          Consumes a StringBuffer and a Map and manipulates the StringBuffer.
 void setRegex(String regex)
           
 void setReplacement(String replacement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringDotReplaceAllTextManipulator

public StringDotReplaceAllTextManipulator()
Method Detail

setRegex

public void setRegex(String regex)
Parameters:
regex - The regex to set.

setReplacement

public void setReplacement(String replacement)
Parameters:
replacement - The replacement to set.

manipulate

public StringBuffer manipulate(StringBuffer value,
                               Map model)
Description copied from interface: TextManipulator
Consumes a StringBuffer and a Map and manipulates the StringBuffer.

Specified by:
manipulate in interface TextManipulator
Parameters:
value - The StringBuffer to manipulate.
model - The Map to reference.
Returns:
The manipulated StringBuffer.
See Also:
TextManipulator.manipulate(java.lang.StringBuffer, java.util.Map)


Copyright © 2003-2006 mlavilson. All Rights Reserved.