Class org.omg.CORBA.ContextList
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.omg.CORBA.ContextList

java.lang.Object
   |
   +----org.omg.CORBA.ContextList

public class ContextList
extends Object
The ContextList class is used in the request operations to describe the contexts that need to be resolved and sent with the invocation. It contains a modifiable list of Strings.

Constructor Index

 o ContextList()

Method Index

 o add(String)
Add a String.
 o count()
A count of number of Strings in the ContextList
 o item(int)
Return the String at the given index
 o remove(int)
Remove the String at the given index.

Constructors

 o ContextList
  public ContextList()

Methods

 o count
  public abstract int count() throws SystemException
A count of number of Strings in the ContextList
Returns:
number of Strings in the ContextList.
 o add
  public abstract void add(String ctxt) throws SystemException
Add a String.
Parameters:
ctxt - the String to be added.
 o item
  public abstract String item(int index) throws SystemException, Bounds
Return the String at the given index
Parameters:
index - the index of String desired.
Returns:
the String at the given index.
Throws: Bounds
raised if the index is greater than or equal to number of Strings.
 o remove
  public abstract void remove(int index) throws SystemException, Bounds
Remove the String at the given index. Note that the indices of all Strings following this one are shifted down by one.
Parameters:
index - the index of String to be removed.
Throws: Bounds
raised if the index is greater than or equal to number of Strings.

All Packages  Class Hierarchy  This Package  Previous  Next  Index