com.sun.xml.ws.security.opt.impl.attachment
Class AttachmentSetImpl

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

public class AttachmentSetImpl
extends java.lang.Object
implements com.sun.xml.ws.api.message.AttachmentSet

Author:
Ashutosh.Shahi@sun.com

Constructor Summary
AttachmentSetImpl()
          Creates an empty AttachmentSet.
AttachmentSetImpl(java.lang.Iterable<com.sun.xml.ws.api.message.Attachment> base)
          Creates an AttachmentSet by copying contents from another.
 
Method Summary
 void add(com.sun.xml.ws.api.message.Attachment att)
           
 com.sun.xml.ws.api.message.Attachment get(java.lang.String contentId)
           
 boolean isEmpty()
           
 java.util.Iterator<com.sun.xml.ws.api.message.Attachment> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentSetImpl

public AttachmentSetImpl()
Creates an empty AttachmentSet.


AttachmentSetImpl

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

Method Detail

get

public com.sun.xml.ws.api.message.Attachment get(java.lang.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 java.util.Iterator<com.sun.xml.ws.api.message.Attachment> iterator()
Specified by:
iterator in interface java.lang.Iterable<com.sun.xml.ws.api.message.Attachment>


Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.