org.mmbase.applications.vprowizards.spring.cache.modifiers
Class PrefixSuffixModifier

java.lang.Object
  extended by org.mmbase.applications.vprowizards.spring.cache.modifiers.PrefixSuffixModifier
All Implemented Interfaces:
Modifier

public class PrefixSuffixModifier
extends Object
implements Modifier

A simple modifier that lets you add a preconfigured prefix and suffix to a string

Author:
ebunders

Field Summary
protected  String prefix
           
protected  String suffix
           
 
Constructor Summary
PrefixSuffixModifier()
           
PrefixSuffixModifier(String prefix, String suffix)
           
 
Method Summary
 Modifier copy()
           
 String modify(String input)
           
 void setPrefix(String prefix)
           
 void setSuffix(String suffix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prefix

protected String prefix

suffix

protected String suffix
Constructor Detail

PrefixSuffixModifier

public PrefixSuffixModifier(String prefix,
                            String suffix)

PrefixSuffixModifier

public PrefixSuffixModifier()
Method Detail

setPrefix

public void setPrefix(String prefix)

setSuffix

public void setSuffix(String suffix)

modify

public String modify(String input)
Specified by:
modify in interface Modifier

copy

public Modifier copy()
Specified by:
copy in interface Modifier


MMBase 2.0-SNAPSHOT - null