org.mmbase.datatypes.processors
Class IgnoreEmptyProcessor
java.lang.Object
org.mmbase.datatypes.processors.IgnoreEmptyProcessor
- All Implemented Interfaces:
- Processor, Serializable
- public class IgnoreEmptyProcessor
- extends Object
- implements Processor
If you use this processor for a field, then setting it to an empty value will be ignored (the
previous value will remain intact).
- Since:
- MMBase-1.8.1
- Version:
- $Id: IgnoreEmptyProcessor.java,v 1.1 2006/07/06 14:58:03 michiel Exp $
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
IgnoreEmptyProcessor
public IgnoreEmptyProcessor()
process
public final Object process(Node node,
Field field,
Object value)
- Specified by:
process in interface Processor
- Parameters:
node - The node object for which the field must be transformed.field - The field which is set.value - The (new) field value.
toString
public String toString()
MMBase build 1.8.1.20060716