java.lang.Object
com.sun.xml.ws.security.opt.impl.attachment.AttachmentSetImpl
All Implemented Interfaces:
com.sun.xml.ws.api.message.AttachmentSet, Iterable<com.sun.xml.ws.api.message.Attachment>

public class AttachmentSetImpl extends Object implements com.sun.xml.ws.api.message.AttachmentSet
Author:
Ashutosh.Shahi@sun.com
  • Constructor Details

    • AttachmentSetImpl

      public AttachmentSetImpl()
      Creates an empty AttachmentSet.
    • AttachmentSetImpl

      public AttachmentSetImpl(Iterable<com.sun.xml.ws.api.message.Attachment> base)
      Creates an AttachmentSet by copying contents from another.
  • Method Details

    • get

      public com.sun.xml.ws.api.message.Attachment get(String contentId)
      Specified by:
      get in interface com.sun.xml.ws.api.message.AttachmentSet
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface com.sun.xml.ws.api.message.AttachmentSet
    • add

      public void add(com.sun.xml.ws.api.message.Attachment att)
      Specified by:
      add in interface com.sun.xml.ws.api.message.AttachmentSet
    • iterator

      public Iterator<com.sun.xml.ws.api.message.Attachment> iterator()
      Specified by:
      iterator in interface Iterable<com.sun.xml.ws.api.message.Attachment>