org.omg.CORBA

Class 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 {@link Context }. The context list is created by invoking {@link ORB#create_context_list()}.
Method Summary
abstract voidadd(String name)
Add a name object
abstract intcount()
Return the number of stored names
abstract Stringitem(int at)
Return the name at the given index.
abstract voidremove(int at)
Remove the name at the given index.

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)
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)
Remove the name at the given index.

Parameters: at the index

Throws: Bounds if the index is out of bounds.