org.mmbase.datatypes.processors
Class NodeNumber

java.lang.Object
  extended byorg.mmbase.datatypes.processors.NodeNumber
All Implemented Interfaces:
Processor, Serializable

public class NodeNumber
extends Object
implements Processor

If value is a node, returns it's number (as a String)

Since:
MMBase-1.8
Version:
$Id: NodeNumber.java,v 1.1 2006/04/10 17:30:46 michiel Exp $
Author:
Michiel Meeuwissen
See Also:
Serialized Form

Constructor Summary
NodeNumber()
           
 
Method Summary
 Object process(Node node, Field field, Object value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeNumber

public NodeNumber()
Method Detail

process

public 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