org.mmbase.richtext.processors.xml
Class MmxfSetString

java.lang.Object
  extended by org.mmbase.richtext.processors.xml.MmxfSetString
All Implemented Interfaces:
Serializable, Processor

public class MmxfSetString
extends Object
implements Processor

Set-processing for an `mmxf' field. This is the counterpart and inverse of MmxfGetString, for more information see the javadoc of that class.

Since:
MMBase-1.8
Version:
$Id: MmxfSetString.java 35335 2009-05-21 08:14:41Z michiel $
Author:
Michiel Meeuwissen
See Also:
Serialized Form

Constructor Summary
MmxfSetString()
           
 
Method Summary
static void main(String[] argv)
          Invocation of the class from the commandline for testing.
 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

MmxfSetString

public MmxfSetString()
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.

main

public static void main(String[] argv)
Invocation of the class from the commandline for testing. Uses RMMCI (on the default configuration), gets the 'xmltest' node, and get and set processes it.


toString

public String toString()
Overrides:
toString in class Object


MMBase 2.0-SNAPSHOT - null