xmlBlaster 2.1.0 API

org.xmlBlaster.jms
Class XBMapMessage

java.lang.Object
  extended by org.xmlBlaster.jms.XBMessage
      extended by org.xmlBlaster.jms.XBMapMessage
All Implemented Interfaces:
javax.jms.MapMessage, javax.jms.Message

public class XBMapMessage
extends XBMessage
implements javax.jms.MapMessage

XBMapMessage

Author:
Michele Laghi

Field Summary
 
Fields inherited from class org.xmlBlaster.jms.XBMessage
acknowledged, BYTES, content, DEFAULT_TYPE, destination, global, MAP, OBJECT, props, readOnly, session, STREAM, STREAMING, TEXT, type
 
Fields inherited from interface javax.jms.Message
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE
 
Constructor Summary
XBMapMessage(XBSession session, byte[] content)
           
 
Method Summary
 boolean getBoolean(java.lang.String arg0)
           
 byte getByte(java.lang.String arg0)
           
 byte[] getBytes(java.lang.String arg0)
           
 char getChar(java.lang.String arg0)
           
 double getDouble(java.lang.String arg0)
           
 float getFloat(java.lang.String arg0)
           
 int getInt(java.lang.String arg0)
           
 long getLong(java.lang.String arg0)
           
 java.util.Enumeration getMapNames()
           
 java.lang.Object getObject(java.lang.String arg0)
           
 short getShort(java.lang.String arg0)
           
 java.lang.String getString(java.lang.String arg0)
           
 boolean itemExists(java.lang.String arg0)
           
static void main(java.lang.String[] args)
           
 void setBoolean(java.lang.String arg0, boolean arg1)
           
 void setByte(java.lang.String arg0, byte arg1)
           
 void setBytes(java.lang.String arg0, byte[] arg1)
           
 void setBytes(java.lang.String arg0, byte[] arg1, int arg2, int arg3)
           
 void setChar(java.lang.String arg0, char arg1)
           
 void setDouble(java.lang.String arg0, double arg1)
           
 void setFloat(java.lang.String arg0, float arg1)
           
 void setInt(java.lang.String arg0, int arg1)
           
 void setLong(java.lang.String arg0, long arg1)
           
 void setObject(java.lang.String arg0, java.lang.Object arg1)
           
 void setShort(java.lang.String arg0, short arg1)
           
 void setString(java.lang.String arg0, java.lang.String arg1)
           
 
Methods inherited from class org.xmlBlaster.jms.XBMessage
acknowledge, addToKeyAndCheck, checkPropertiesReadOnly, clearBody, clearProperties, get, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, isAcknowledged, propertyExists, setAcknowledged, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setPropertyReadOnly, setReadOnly, setShortProperty, setStringProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jms.Message
acknowledge, clearBody, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty
 

Constructor Detail

XBMapMessage

XBMapMessage(XBSession session,
             byte[] content)
Method Detail

getBoolean

public boolean getBoolean(java.lang.String arg0)
                   throws javax.jms.JMSException
Specified by:
getBoolean in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

getByte

public byte getByte(java.lang.String arg0)
             throws javax.jms.JMSException
Specified by:
getByte in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

getShort

public short getShort(java.lang.String arg0)
               throws javax.jms.JMSException
Specified by:
getShort in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

getChar

public char getChar(java.lang.String arg0)
             throws javax.jms.JMSException
Specified by:
getChar in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

getInt

public int getInt(java.lang.String arg0)
           throws javax.jms.JMSException
Specified by:
getInt in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

getLong

public long getLong(java.lang.String arg0)
             throws javax.jms.JMSException
Specified by:
getLong in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

getFloat

public float getFloat(java.lang.String arg0)
               throws javax.jms.JMSException
Specified by:
getFloat in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

getDouble

public double getDouble(java.lang.String arg0)
                 throws javax.jms.JMSException
Specified by:
getDouble in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

getString

public java.lang.String getString(java.lang.String arg0)
                           throws javax.jms.JMSException
Specified by:
getString in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

getBytes

public byte[] getBytes(java.lang.String arg0)
                throws javax.jms.JMSException
Specified by:
getBytes in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

getObject

public java.lang.Object getObject(java.lang.String arg0)
                           throws javax.jms.JMSException
Specified by:
getObject in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

getMapNames

public java.util.Enumeration getMapNames()
                                  throws javax.jms.JMSException
Specified by:
getMapNames in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setBoolean

public void setBoolean(java.lang.String arg0,
                       boolean arg1)
                throws javax.jms.JMSException
Specified by:
setBoolean in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setByte

public void setByte(java.lang.String arg0,
                    byte arg1)
             throws javax.jms.JMSException
Specified by:
setByte in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setShort

public void setShort(java.lang.String arg0,
                     short arg1)
              throws javax.jms.JMSException
Specified by:
setShort in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setChar

public void setChar(java.lang.String arg0,
                    char arg1)
             throws javax.jms.JMSException
Specified by:
setChar in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setInt

public void setInt(java.lang.String arg0,
                   int arg1)
            throws javax.jms.JMSException
Specified by:
setInt in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setLong

public void setLong(java.lang.String arg0,
                    long arg1)
             throws javax.jms.JMSException
Specified by:
setLong in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setFloat

public void setFloat(java.lang.String arg0,
                     float arg1)
              throws javax.jms.JMSException
Specified by:
setFloat in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setDouble

public void setDouble(java.lang.String arg0,
                      double arg1)
               throws javax.jms.JMSException
Specified by:
setDouble in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setString

public void setString(java.lang.String arg0,
                      java.lang.String arg1)
               throws javax.jms.JMSException
Specified by:
setString in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setBytes

public void setBytes(java.lang.String arg0,
                     byte[] arg1)
              throws javax.jms.JMSException
Specified by:
setBytes in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setBytes

public void setBytes(java.lang.String arg0,
                     byte[] arg1,
                     int arg2,
                     int arg3)
              throws javax.jms.JMSException
Specified by:
setBytes in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setObject

public void setObject(java.lang.String arg0,
                      java.lang.Object arg1)
               throws javax.jms.JMSException
Specified by:
setObject in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

itemExists

public boolean itemExists(java.lang.String arg0)
                   throws javax.jms.JMSException
Specified by:
itemExists in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

main

public static void main(java.lang.String[] args)

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.