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.
-
ContextList()
-
-
add(String)
- Add a String.
-
count()
- A count of number of Strings in the ContextList
-
item(int)
- Return the String at the given index
-
remove(int)
- Remove the String at the given index.
ContextList
public ContextList()
count
public abstract int count() throws SystemException
- A count of number of Strings in the ContextList
- Returns:
- number of Strings in the ContextList.
add
public abstract void add(String ctxt) throws SystemException
- Add a String.
- Parameters:
- ctxt - the String to be added.
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.
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