org.jvnet.wom.impl.extension.wsdl11.mime
Class MimePartImpl

java.lang.Object
  extended by org.jvnet.wom.impl.extension.wsdl11.mime.MimePartImpl
All Implemented Interfaces:
MimePart

public class MimePartImpl
extends java.lang.Object
implements MimePart

Author:
Vivek Pandey

Constructor Summary
MimePartImpl(java.lang.String partName, org.xml.sax.Locator locator)
           
 
Method Summary
 void addMimeContent(MimeContent mimeContent)
           
 SOAPBodyImpl getBodyPart()
          Returns SOAPBody if present, otherwise null
 java.util.Collection<MimeContent> getMimeContentParts()
          Gives all the MimeContent
 java.util.Collection<java.lang.String> getMimeContentType(java.lang.String mimePart)
          Gives the content types of a mime part.
 java.lang.String getPartName()
           
 void setBodyPart(SOAPBodyImpl part)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MimePartImpl

public MimePartImpl(java.lang.String partName,
                    org.xml.sax.Locator locator)
Method Detail

getPartName

public java.lang.String getPartName()
Specified by:
getPartName in interface MimePart

setBodyPart

public void setBodyPart(SOAPBodyImpl part)

getBodyPart

public SOAPBodyImpl getBodyPart()
Description copied from interface: MimePart
Returns SOAPBody if present, otherwise null

Specified by:
getBodyPart in interface MimePart

getMimeContentParts

public java.util.Collection<MimeContent> getMimeContentParts()
Description copied from interface: MimePart
Gives all the MimeContent

Specified by:
getMimeContentParts in interface MimePart

addMimeContent

public void addMimeContent(MimeContent mimeContent)

getMimeContentType

public java.util.Collection<java.lang.String> getMimeContentType(java.lang.String mimePart)
Description copied from interface: MimePart
Gives the content types of a mime part. If the part is not bound to MIME this will be empty collection.

Specified by:
getMimeContentType in interface MimePart


Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved.