org.globus.cog.abstraction.xml
Class ServiceList

java.lang.Object
  extended byorg.globus.cog.abstraction.xml.ServiceList
All Implemented Interfaces:
Serializable

public class ServiceList
extends Object
implements Serializable

Version:
$Revision: 1.1 $ $Date: 2005/04/22 09:53:24 $
See Also:
Serialized Form

Constructor Summary
ServiceList()
           
 
Method Summary
 void addService(Service vService)
           
 Enumeration enumerateService()
           
 Service[] getService()
           
 Service getService(int index)
           
 int getServiceCount()
           
 boolean isValid()
           
 void marshal(DocumentHandler handler)
           
 void marshal(Writer out)
           
 void removeAllService()
           
 Service removeService(int index)
           
 void setService(int index, Service vService)
           
 void setService(Service[] serviceArray)
           
static ServiceList unmarshal(Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceList

public ServiceList()
Method Detail

addService

public void addService(Service vService)
                throws IndexOutOfBoundsException
Parameters:
vService -
Throws:
IndexOutOfBoundsException

enumerateService

public Enumeration enumerateService()

getService

public Service getService(int index)
                   throws IndexOutOfBoundsException
Parameters:
index -
Throws:
IndexOutOfBoundsException

getService

public Service[] getService()

getServiceCount

public int getServiceCount()

isValid

public boolean isValid()

marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeAllService

public void removeAllService()

removeService

public Service removeService(int index)
Parameters:
index -

setService

public void setService(int index,
                       Service vService)
                throws IndexOutOfBoundsException
Parameters:
index -
vService -
Throws:
IndexOutOfBoundsException

setService

public void setService(Service[] serviceArray)
Parameters:
serviceArray -

unmarshal

public static ServiceList unmarshal(Reader reader)
                             throws org.exolab.castor.xml.MarshalException,
                                    org.exolab.castor.xml.ValidationException
Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException