com.ibm.uddi.datatypes
Class ServiceInfoList

java.lang.Object
  |
  +--com.ibm.uddi.datatypes.ServiceInfoList
All Implemented Interfaces:
java.io.Serializable

public class ServiceInfoList
extends java.lang.Object
implements java.io.Serializable

Corresponds to UDDI v2.0 sequence of 'serviceInfo' elements. Encapsulates a Vector of ServiceInfo objects.

See Also:
Serialized Form

Field Summary
static java.lang.String java_copyright
           
 
Constructor Summary
ServiceInfoList()
          Constructs a new, empty ServiceInfoList.
ServiceInfoList(int initialSize)
          Constructs a new, empty ServiceInfoList, with the initial capacity specified.
 
Method Summary
 void add(ServiceInfo serviceInfo)
          Adds a ServiceInfo to the ServiceInfoList.
 ServiceInfo get(int index)
          Returns the ServiceInfo at the specified index.
 int size()
          Returns the number of ServiceInfo objects in the ServiceInfoList.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

java_copyright

public static final java.lang.String java_copyright
Constructor Detail

ServiceInfoList

public ServiceInfoList()
Constructs a new, empty ServiceInfoList.

ServiceInfoList

public ServiceInfoList(int initialSize)
Constructs a new, empty ServiceInfoList, with the initial capacity specified.
Parameters:
initialSize - the initial capacity of the ServiceInfoList.
Method Detail

add

public void add(ServiceInfo serviceInfo)
Adds a ServiceInfo to the ServiceInfoList.
Parameters:
serviceInfo - the ServiceInfo to be added.

get

public ServiceInfo get(int index)
Returns the ServiceInfo at the specified index.
Parameters:
int - the index of the ServiceInfo to be retrieved.
Returns:
the ServiceInfo at the specified index.

size

public int size()
Returns the number of ServiceInfo objects in the ServiceInfoList.
Returns:
the number of ServiceInfo objects in the ServiceInfoList.