org.mmbase.richtext.processors.xml
Class UnPGet

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

public class UnPGet
extends Object
implements Processor

If field was previously not 'mmxf' (but for example just a string), then it may be the case that getXMLValue on that field returns <p>ascii-like text</p>. This processor can be chained before MmxfGetString to ensure that the field is really Mmxf, even if such 'p' fields are stored.

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

Constructor Summary
UnPGet()
           
 
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

UnPGet

public UnPGet()
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()
Overrides:
toString in class Object


MMBase 2.0-SNAPSHOT - null