org.jvnet.wom.impl.extension.wsdl11.mime
Class MimePartImpl
java.lang.Object
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MimePartImpl
public MimePartImpl(java.lang.String partName,
org.xml.sax.Locator locator)
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.