org.globus.cog.abstraction.xml
Class DependencyList
java.lang.Object
org.globus.cog.abstraction.xml.DependencyList
- All Implemented Interfaces:
- Serializable
- public class DependencyList
- extends Object
- implements Serializable
List of dependencies defined as "from" "to" pairs
- Version:
- $Revision: 1.1 $ $Date: 2005/04/22 09:53:24 $
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DependencyList
public DependencyList()
addDependency
public void addDependency(Dependency vDependency)
throws IndexOutOfBoundsException
- Parameters:
vDependency -
- Throws:
IndexOutOfBoundsException
enumerateDependency
public Enumeration enumerateDependency()
getDependency
public Dependency getDependency(int index)
throws IndexOutOfBoundsException
- Parameters:
index -
- Throws:
IndexOutOfBoundsException
getDependency
public Dependency[] getDependency()
getDependencyCount
public int getDependencyCount()
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
removeAllDependency
public void removeAllDependency()
removeDependency
public Dependency removeDependency(int index)
- Parameters:
index -
setDependency
public void setDependency(int index,
Dependency vDependency)
throws IndexOutOfBoundsException
- Parameters:
index - vDependency -
- Throws:
IndexOutOfBoundsException
setDependency
public void setDependency(Dependency[] dependencyArray)
- Parameters:
dependencyArray -
unmarshal
public static DependencyList 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