Class ElementDataWriter

java.lang.Object
org.apache.cxf.aegis.databinding.ElementDataWriter
All Implemented Interfaces:
DataWriter<Element>

public class ElementDataWriter extends Object implements DataWriter<Element>
  • Constructor Details

  • Method Details

    • setAttachments

      public void setAttachments(Collection<Attachment> attachments)
      Description copied from interface: DataWriter
      Attach a collection of attachments to this writer.
      Specified by:
      setAttachments in interface DataWriter<Element>
    • setSchema

      public void setSchema(Schema s)
      Description copied from interface: DataWriter
      Attach a schema to the writer. If the binding supports validation, it will validate the XML that it produces (assuming that it produces XML).
      Specified by:
      setSchema in interface DataWriter<Element>
      Parameters:
      s - the schema.
    • write

      public void write(Object obj, MessagePartInfo part, Element output)
      Description copied from interface: DataWriter
      Write an object to an output sink, including extra processing based on the WSDL service model for a particular message part.
      Specified by:
      write in interface DataWriter<Element>
      Parameters:
      obj - The object to write.
      part - the message part.
      output - the output sink.
    • write

      public void write(Object obj, Element output)
      Description copied from interface: DataWriter
      Write an object to an output sink.
      Specified by:
      write in interface DataWriter<Element>
      Parameters:
      obj - the object to write.
      output - the output sink.
    • setProperty

      public void setProperty(String prop, Object value)
      Description copied from interface: DataWriter
      Set a property for the writer.
      Specified by:
      setProperty in interface DataWriter<Element>
      Parameters:
      prop - property key
      value - property value.
    • getProperty

      public Object getProperty(String key)