org.jboss.blacktie.jatmibroker.jab.factory
Class JABBuffer

java.lang.Object
  extended by org.jboss.blacktie.jatmibroker.jab.factory.JABBuffer
Direct Known Subclasses:
JABResponse

public class JABBuffer
extends java.lang.Object

The JABBuffer is a map of parameters that are passed to/returned from a remote XATMI service.

See Also:
JABResponse

Constructor Summary
JABBuffer()
           
 
Method Summary
 java.lang.Object getValue(java.lang.String key)
          Get the value of a certain type of data
 java.lang.Object getValue(java.lang.String key, int index)
          Get the value of a certain index of the data
 void setValue(java.lang.String key, int index, java.lang.Object value)
          Set the value of the data at a certain index
 void setValue(java.lang.String key, java.lang.Object value)
          Set the value of an item
 int size(java.lang.String key)
          Get the size of the data
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JABBuffer

public JABBuffer()
Method Detail

size

public int size(java.lang.String key)
Get the size of the data

Parameters:
key - The type of the data to look for
Returns:
The size

getValue

public java.lang.Object getValue(java.lang.String key,
                                 int index)
Get the value of a certain index of the data

Parameters:
key - The type of the data
index - The index to check for
Returns:
The value

getValue

public java.lang.Object getValue(java.lang.String key)
Get the value of a certain type of data

Parameters:
key - The type of the data
Returns:
The value

setValue

public void setValue(java.lang.String key,
                     int index,
                     java.lang.Object value)
Set the value of the data at a certain index

Parameters:
key - The key to change
index - The index to alter
value - The value to set it to

setValue

public void setValue(java.lang.String key,
                     java.lang.Object value)
Set the value of an item

Parameters:
key - The item name
value - The value to use


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.