Class XMLSDOProvider

  • java.lang.Object
  • All Implemented Interfaces:<commonj.sdo.DataObject>,<commonj.sdo.DataObject>

    public class XMLSDOProvider
    This class converts a SDO into XML.
    • Constructor Summary

      Constructor and Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void writeTo(commonj.sdo.DataObject dataObject, java.lang.Class<?> dataObjectClass, java.lang.reflect.Type dataObjectType, java.lang.annotation.Annotation[] resourceAnnotations, responseMediaType,<java.lang.String,java.lang.Object> responseHttpHeaders, responseOutputStream)
      This method converts a SDO into XML.
      • Methods inherited from class

        getSize, isReadable, isWriteable, readFrom
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XMLSDOProvider

        public XMLSDOProvider()
    • Method Detail

      • writeTo

        public void writeTo(commonj.sdo.DataObject dataObject,
                            java.lang.Class<?> dataObjectClass,
                            java.lang.reflect.Type dataObjectType,
                            java.lang.annotation.Annotation[] resourceAnnotations,
                  <java.lang.String,java.lang.Object> responseHttpHeaders,
        This method converts a SDO into XML.
        dataObject - The SDO to convert.
        dataObjectClass - The SDO class.
        dataObjectType - The SDO type.
        resourceAnnotations - An array of annotations defined on the calling resource.
        responseMediaType - The media type to covert to, ie. "application/atom+xml".
        responseHttpHeaders - A map consisting of the response HTTP headers and the business context parameters of the request.
        responseOutputStream - The stream to write the Atom feed too.