Class EntryFieldXmlSerializer
java.lang.Object
com.emc.documentum.rest.parser.xml.writer.field.AbstractFieldXmlSerializer
com.emc.documentum.rest.parser.xml.writer.field.EntryFieldXmlSerializer
- All Implemented Interfaces:
AnnotatedFieldBindingProcessor
,AnnotatedFieldSerializer<com.emc.documentum.rest.parser.xml.writer.TypeXmlWriter>
XML field writer for null data.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
serializable
(Object fieldValue, SerializableFieldMeta fieldNode) Check if the field value and field type is serializable by this serializer.void
serialize
(com.emc.documentum.rest.parser.xml.writer.TypeXmlWriter writer, Object object, SerializableFieldMeta fieldNode, org.springframework.http.MediaType mediaType, com.emc.documentum.rest.config.BindingConfig bindingConfig) Serialize the field.Methods inherited from class com.emc.documentum.rest.parser.xml.writer.field.AbstractFieldXmlSerializer
isCompatibleMediaType, serializeKeyValue
-
Constructor Details
-
EntryFieldXmlSerializer
public EntryFieldXmlSerializer()
-
-
Method Details
-
serialize
public void serialize(com.emc.documentum.rest.parser.xml.writer.TypeXmlWriter writer, Object object, SerializableFieldMeta fieldNode, org.springframework.http.MediaType mediaType, com.emc.documentum.rest.config.BindingConfig bindingConfig) Description copied from interface:AnnotatedFieldSerializer
Serialize the field.- Parameters:
writer
- message writerobject
- field valuefieldNode
- the serializable field metamediaType
- the target media type to serializebindingConfig
- the binding configuration
-
serializable
Description copied from interface:AnnotatedFieldSerializer
Check if the field value and field type is serializable by this serializer.- Parameters:
fieldValue
- the field valuefieldNode
- the serializable field meta- Returns:
true
if the field value is serializable;false
otherwise.
-