org.codehaus.xfire.attachments
Class SimpleAttachment
java.lang.Object
org.codehaus.xfire.attachments.SimpleAttachment
- All Implemented Interfaces:
- Attachment
public class SimpleAttachment
- extends Object
- implements Attachment
- Author:
- Dan Diephouse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleAttachment
public SimpleAttachment(String id,
javax.activation.DataHandler handler)
getId
public String getId()
- Specified by:
getId
in interface Attachment
- Returns:
- The attachment id.
getDataHandler
public javax.activation.DataHandler getDataHandler()
- Specified by:
getDataHandler
in interface Attachment
setHeader
public void setHeader(String name,
String value)
getHeader
public String getHeader(String name)
- Specified by:
getHeader
in interface Attachment
isXOP
public boolean isXOP()
- Description copied from interface:
Attachment
- Whether or not this is an XOP package. This will affect the
serialization of the attachment. If true, it will be serialized
as binary data, and not Base64Binary.
- Specified by:
isXOP
in interface Attachment
- Returns:
setXOP
public void setXOP(boolean xop)
Copyright © 2004-2013. All Rights Reserved.