org.mule.expression
Class OutboundAttachmentsMap

java.lang.Object
  extended by org.mule.expression.OutboundAttachmentsMap
All Implemented Interfaces:
java.util.Map<java.lang.String,javax.activation.DataHandler>

public class OutboundAttachmentsMap
extends java.lang.Object
implements java.util.Map<java.lang.String,javax.activation.DataHandler>

Creates a wrapper around Mule Message with a MAp facade used for allowing developers to add attachments to an outgoing message in a transformer of component without needing to access the Mule API directly


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
OutboundAttachmentsMap(MuleMessage message)
           
 
Method Summary
 void clear()
           
 boolean containsKey(java.lang.Object key)
           
 boolean containsValue(java.lang.Object value)
           
 java.util.Set<java.util.Map.Entry<java.lang.String,javax.activation.DataHandler>> entrySet()
           
 javax.activation.DataHandler get(java.lang.Object key)
           
 boolean isEmpty()
           
 java.util.Set<java.lang.String> keySet()
           
 javax.activation.DataHandler put(java.lang.String key, javax.activation.DataHandler value)
           
 javax.activation.DataHandler put(java.lang.String key, java.lang.Object value, java.lang.String contentType)
           
 void putAll(java.util.Map<? extends java.lang.String,? extends javax.activation.DataHandler> map)
           
 javax.activation.DataHandler remove(java.lang.Object key)
           
 int size()
           
 java.util.Collection<javax.activation.DataHandler> values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

OutboundAttachmentsMap

public OutboundAttachmentsMap(MuleMessage message)
Method Detail

size

public int size()
Specified by:
size in interface java.util.Map<java.lang.String,javax.activation.DataHandler>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Map<java.lang.String,javax.activation.DataHandler>

containsKey

public boolean containsKey(java.lang.Object key)
Specified by:
containsKey in interface java.util.Map<java.lang.String,javax.activation.DataHandler>

containsValue

public boolean containsValue(java.lang.Object value)
Specified by:
containsValue in interface java.util.Map<java.lang.String,javax.activation.DataHandler>

get

public javax.activation.DataHandler get(java.lang.Object key)
Specified by:
get in interface java.util.Map<java.lang.String,javax.activation.DataHandler>

put

public javax.activation.DataHandler put(java.lang.String key,
                                        javax.activation.DataHandler value)
Specified by:
put in interface java.util.Map<java.lang.String,javax.activation.DataHandler>

put

public javax.activation.DataHandler put(java.lang.String key,
                                        java.lang.Object value,
                                        java.lang.String contentType)

remove

public javax.activation.DataHandler remove(java.lang.Object key)
Specified by:
remove in interface java.util.Map<java.lang.String,javax.activation.DataHandler>

putAll

public void putAll(java.util.Map<? extends java.lang.String,? extends javax.activation.DataHandler> map)
Specified by:
putAll in interface java.util.Map<java.lang.String,javax.activation.DataHandler>

clear

public void clear()
Specified by:
clear in interface java.util.Map<java.lang.String,javax.activation.DataHandler>

keySet

public java.util.Set<java.lang.String> keySet()
Specified by:
keySet in interface java.util.Map<java.lang.String,javax.activation.DataHandler>

values

public java.util.Collection<javax.activation.DataHandler> values()
Specified by:
values in interface java.util.Map<java.lang.String,javax.activation.DataHandler>

entrySet

public java.util.Set<java.util.Map.Entry<java.lang.String,javax.activation.DataHandler>> entrySet()
Specified by:
entrySet in interface java.util.Map<java.lang.String,javax.activation.DataHandler>


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.