net.mlw.vlh.adapter.util
Class FilterTextManipulator
java.lang.Object
   net.mlw.vlh.adapter.util.FilterTextManipulator
net.mlw.vlh.adapter.util.FilterTextManipulator
- All Implemented Interfaces: 
- TextManipulator
- public class FilterTextManipulator- extends Object- implements TextManipulator
Includes "filters" if the key is present in the filter tag.  For
  example:
  
  
    "I am a /~size:FAT~/ man."
 
    
      - Would produce "I am a FAT man." if size was a key in the map.
- Would produce "I am a  man." if size was not a key in the map.
- Author:
- mwilson
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
FilterTextManipulator
public FilterTextManipulator()
manipulate
public StringBuffer manipulate(StringBuffer text,
                               Map model)
- Description copied from interface: TextManipulator
- Consumes a StringBuffer and a Map and 
 manipulates the StringBuffer.
 
- 
- Specified by:
- manipulatein interface- TextManipulator
 
- 
- Parameters:
- text- The StringBuffer to manipulate.
- model- The Map to reference.
- Returns:
- The manipulated StringBuffer.
- See Also:
- net.mlw.vlh.adapter.util.TextManipulator#manipulate(java.lang.String, java.lang.Object)
 
setEndToken
public void setEndToken(String endToken)
- 
 
- 
- Parameters:
- endToken- The endToken to set.
 
setStartToken
public void setStartToken(String startToken)
- 
 
- 
- Parameters:
- startToken- The startToken to set.
 
Copyright © 2003-2006 mlavilson. All Rights Reserved.