org.xins.common.types.standard
Class List.Value

java.lang.Object
  extended byorg.xins.common.types.ItemList
      extended byorg.xins.common.types.standard.List.Value
Enclosing class:
List

public static final class List.Value
extends ItemList

Inner class that represents a list of java.lang.String.


Constructor Summary
List.Value()
           
 
Method Summary
 void add(String value)
          Add a new element in the list.
 String get(int index)
          Get an element from the list.
 
Methods inherited from class org.xins.common.types.ItemList
addItem, getItem, getSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

List.Value

public List.Value()
Method Detail

add

public void add(String value)
Add a new element in the list.

Parameters:
value - the new value to add, cannot be null.
Throws:
IllegalArgumentException - if value == null.

get

public String get(int index)
Get an element from the list.

Parameters:
index - The position of the required element.
Returns:
The element at the specified position, cannot be null.


See http://www.xins.org/.