org.mmbase.richtext.processors.xml
Class MmxfGetString
java.lang.Object
org.mmbase.richtext.processors.xml.MmxfGetString
- All Implemented Interfaces:
- Serializable, Processor
public class MmxfGetString
- extends Object
- implements Processor
This class implements the `get' for `mmxf' fields.
- Since:
- MMBase-1.8
- Version:
- $Id: MmxfGetString.java 35335 2009-05-21 08:14:41Z michiel $
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
MODE_SHOWBROKEN
public static String MODE_SHOWBROKEN
MODE_LOADRELATIONS
public static String MODE_LOADRELATIONS
MODE_LOADRELATED
public static String MODE_LOADRELATED
MODE_UNDECORATEIDS
public static String MODE_UNDECORATEIDS
MODE_BRS
public static String MODE_BRS
MmxfGetString
public MmxfGetString()
getDocumentBuilder
static DocumentBuilder getDocumentBuilder()
getGenerator
protected static Generator getGenerator(Cloud cloud)
getDocument
public static Document getDocument(Node node,
Field field)
- Returns a 'objects' Document containing the node with the mmxf field plus all idrelated objects
putParams
protected void putParams(Map source,
Map dest)
- Stupid Xalan can come with exceptions like:
java.lang.IllegalArgumentException: The value of param org.mmbase.cloud.ignore-validation must be a valid Java Object
If values are
null This avoid setting values to null.
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