Class DelayedFieldXmlSerializer

java.lang.Object
com.emc.documentum.rest.parser.xml.writer.field.AbstractFieldXmlSerializer
com.emc.documentum.rest.parser.xml.writer.field.DelayedFieldXmlSerializer
All Implemented Interfaces:
AnnotatedFieldBindingProcessor, AnnotatedFieldSerializer<com.emc.documentum.rest.parser.xml.writer.TypeXmlWriter>

public class DelayedFieldXmlSerializer extends AbstractFieldXmlSerializer
This is the delayed XML serializer for serializable field.
  • Constructor Details

    • DelayedFieldXmlSerializer

      public DelayedFieldXmlSerializer()
  • Method Details

    • serializable

      public boolean serializable(Object fieldValue, SerializableFieldMeta fieldNode)
      Description copied from interface: AnnotatedFieldSerializer
      Check if the field value and field type is serializable by this serializer.
      Parameters:
      fieldValue - the field value
      fieldNode - the serializable field meta
      Returns:
      true if the field value is serializable; false otherwise.
    • serialize

      public void serialize(com.emc.documentum.rest.parser.xml.writer.TypeXmlWriter writer, Object fieldValue, SerializableFieldMeta node, org.springframework.http.MediaType mediaType, com.emc.documentum.rest.config.BindingConfig bindingConfig)
      Description copied from interface: AnnotatedFieldSerializer
      Serialize the field.
      Parameters:
      writer - message writer
      fieldValue - field value
      node - the serializable field meta
      mediaType - the target media type to serialize
      bindingConfig - the binding configuration