jodd.bean.modifiers
Class TrimStrings

java.lang.Object
  extended byjodd.bean.modifiers.TrimStrings
All Implemented Interfaces:
PropertyCallback

public class TrimStrings
extends java.lang.Object
implements PropertyCallback

Simple bean modifier that trims all String parameters of given java bean object.


Constructor Summary
TrimStrings()
           
 
Method Summary
 void onProperty(java.lang.Object obj, java.lang.String name)
          Method that will be called-back for each beans property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrimStrings

public TrimStrings()
Method Detail

onProperty

public void onProperty(java.lang.Object obj,
                       java.lang.String name)
Description copied from interface: PropertyCallback
Method that will be called-back for each beans property.

Specified by:
onProperty in interface PropertyCallback
Parameters:
obj - object instance
name - property name (without 'get'/'set')


Jodd v0.24.5 Javadoc