net.mlw.vlh.adapter.util
Class StringDotReplaceAllTextManipulator
java.lang.Object
net.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringDotReplaceAllTextManipulator
public StringDotReplaceAllTextManipulator()
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.