Interface DataWriter<T>

    • Field Detail

      • ENDPOINT

        static final String ENDPOINT
    • Method Detail

      • setSchema

        void setSchema​(Schema s)
        Attach a schema to the writer. If the binding supports validation, it will validate the XML that it produces (assuming that it produces XML).
        Parameters:
        s - the schema.
      • setAttachments

        void setAttachments​(Collection<Attachment> attachments)
        Attach a collection of attachments to this writer.
        Parameters:
        attachments -
      • setProperty

        void setProperty​(String key,
                         Object value)
        Set a property for the writer.
        Parameters:
        key - property key
        value - property value.
      • write

        void write​(Object obj,
                   T output)
        Write an object to an output sink.
        Parameters:
        obj - the object to write.
        output - the output sink.
      • write

        void write​(Object obj,
                   MessagePartInfo part,
                   T output)
        Write an object to an output sink, including extra processing based on the WSDL service model for a particular message part.
        Parameters:
        obj - The object to write.
        part - the message part.
        output - the output sink.