org.mmbase.richtext.processors.xml
Class UnPGet
java.lang.Object
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
UnPGet
public UnPGet()
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