org.omg.CORBA
Class ContextList

java.lang.Object
  extended by org.omg.CORBA.ContextList

public abstract class ContextList
extends Object

Stores a modifiable list of String objects representing the property names. The property values are normally stored in the Context. The context list is created by invoking ORB.create_context_list().


Constructor Summary
ContextList()
           
 
Method Summary
abstract  void add(String name)
          Add a name object
abstract  int count()
          Return the number of stored names
abstract  String item(int at)
          Return the name at the given index.
abstract  void remove(int at)
          Remove the name at the given index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextList

public ContextList()
Method Detail

add

public abstract void add(String name)
Add a name object

Parameters:
name - a name to add.

count

public abstract int count()
Return the number of stored names

Returns:
a number of names.

item

public abstract String item(int at)
                     throws Bounds
Return the name at the given index.

Parameters:
at - the index
Returns:
the name at the given index
Throws:
Bounds - if the index is out of bounds.

remove

public abstract void remove(int at)
                     throws Bounds
Remove the name at the given index.

Parameters:
at - the index
Throws:
Bounds - if the index is out of bounds.