temmental
Interface Filter
- All Superinterfaces:
- ObjectFilter<java.lang.String,java.lang.String>
public interface Filter
- extends ObjectFilter<java.lang.String,java.lang.String>
Interface to implement to create a display transformer. It transforms a String
to a String
.
Example:
Filter upperFilter = new Filter() {
public String apply(String value) {
return value.toUpperCase();
}
};
Method Summary |
java.lang.String |
apply(java.lang.String value)
Takes a String and return a String to display or pass to the next filter of the chain. |
apply
java.lang.String apply(java.lang.String value)
- Takes a
String
and return a String
to display or pass to the next filter of the chain.
- Specified by:
apply
in interface ObjectFilter<java.lang.String,java.lang.String>
- Parameters:
value
- The specified string
- Returns:
- an object of
Out
type or null
(in this case, the filter chains ends)