public class BasicFieldExporter extends Object implements FieldExporter
Modifier and Type | Field and Description |
---|---|
protected org.apache.log4j.Logger |
mLogger |
Constructor and Description |
---|
BasicFieldExporter() |
Modifier and Type | Method and Description |
---|---|
nu.xom.Element |
export(neo.xredsys.content.type.Field pField,
Object pValue,
IOObject pObject,
ExportConfiguration pConfiguration)
Create an
Element for the given field. |
protected String |
toXML(neo.xredsys.content.type.Field pField,
String pValue)
Invoked from
export(neo.xredsys.content.type.Field, Object, neo.xredsys.api.IOObject, com.escenic.syndication.xml.ExportConfiguration) if
the mime-type of the field is application/xhtml+xml . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convertToString
public nu.xom.Element export(neo.xredsys.content.type.Field pField, Object pValue, IOObject pObject, ExportConfiguration pConfiguration)
FieldExporter
Element
for the given field. This method must be thread safe.export
in interface FieldExporter
pField
- the fieldpValue
- the value. This may be nullpObject
- the current objectpConfiguration
- the current configurationElement
for the given field. The method may return nullprotected String toXML(neo.xredsys.content.type.Field pField, String pValue)
export(neo.xredsys.content.type.Field, Object, neo.xredsys.api.IOObject, com.escenic.syndication.xml.ExportConfiguration)
if
the mime-type of the field is application/xhtml+xml
. Subclasses may override this method and modify the xml before
the value is sent to XOMUtilitiespField
- the current fieldpValue
- the current value© 1998- 2021 Escenic AS