Class DimeBodyPart

java.lang.Object
org.apache.axis.attachments.DimeBodyPart

public class DimeBodyPart extends Object
Holds one attachment DIME part.
  • Field Details

    • log

      protected static org.apache.commons.logging.Log log
    • data

      protected Object data
    • dtnf

      protected DimeTypeNameFormat dtnf
    • type

      protected byte[] type
    • id

      protected byte[] id
  • Constructor Details

    • DimeBodyPart

      protected DimeBodyPart()
    • DimeBodyPart

      public DimeBodyPart(byte[] data, DimeTypeNameFormat format, String type, String id)
      Create a DIME Attachment Part.
      Parameters:
      data - a byte array containing the data as the attachment.
      format - the type format for the data.
      type - the type of the data
      id - the ID for the DIME part.
    • DimeBodyPart

      public DimeBodyPart(DataHandler dh, DimeTypeNameFormat format, String type, String id)
      Create a DIME Attachment Part.
      Parameters:
      dh - the data for the attachment as a JAF datahadler.
      format - the type format for the data.
      type - the type of the data
      id - the ID for the DIME part.
    • DimeBodyPart

      public DimeBodyPart(DataHandler dh, String id)
      Create a DIME Attachment Part.
      Parameters:
      dh - the data for the attachment as a JAF datahadler. The type and foramt is derived from the DataHandler.
      id - the ID for the DIME part.
  • Method Details