| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.exolab.castor.tests.framework.testDescriptor.SchemaTestpublic class SchemaTestextends java.lang.Objectimplements java.io.SerializableConstructor Summary | |
Method Summary | |
void |
|
void |
|
java.util.Enumeration |
|
UnitTestCase[] |
|
UnitTestCase |
|
int |
|
boolean |
|
void |
|
void |
|
void | |
boolean |
|
UnitTestCase |
|
void |
|
void |
|
static SchemaTest |
|
void |
|
public void addUnitTestCase(int index,
UnitTestCase vUnitTestCase)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index-vUnitTestCase-
public void addUnitTestCase(UnitTestCase vUnitTestCase) throws java.lang.IndexOutOfBoundsException
- Parameters:
vUnitTestCase-
public java.util.Enumeration enumerateUnitTestCase()
Method enumerateUnitTestCase.
- Returns:
- an Enumeration over all org.exolab.castor.tests.framework.testDescriptor.UnitTestCase elements
public UnitTestCase[] getUnitTestCase()
Method getUnitTestCase.Returns the contents of the collection in an Array. Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
- Returns:
- this collection as an Array
public UnitTestCase getUnitTestCase(int index) throws java.lang.IndexOutOfBoundsException
Method getUnitTestCase.
- Parameters:
index-
- Returns:
- the value of the org.exolab.castor.tests.framework.testDescriptor.UnitTestCase at the given index
public int getUnitTestCaseCount()
Method getUnitTestCaseCount.
- Returns:
- the size of this collection
public boolean isValid()
Method isValid.
- Returns:
- true if this object is valid according to the schema
public void marshal(java.io.Writer out)
throws MarshalException,
ValidationException
- Parameters:
out-
- Throws:
MarshalException- if object is null or if any SAXException is thrown during marshalingValidationException- if this object is an invalid instance according to the schema
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
MarshalException,
ValidationException
- Parameters:
handler-
- Throws:
ValidationException- if this object is an invalid instance according to the schemaMarshalException- if object is null or if any SAXException is thrown during marshaling
public void removeAllUnitTestCase()
public boolean removeUnitTestCase(UnitTestCase vUnitTestCase)
Method removeUnitTestCase.
- Parameters:
vUnitTestCase-
- Returns:
- true if the object was removed from the collection.
public UnitTestCase removeUnitTestCaseAt(int index)
Method removeUnitTestCaseAt.
- Parameters:
index-
- Returns:
- the element removed from the collection
public void setUnitTestCase(int index,
UnitTestCase vUnitTestCase)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index-vUnitTestCase-
public void setUnitTestCase(UnitTestCase[] vUnitTestCaseArray)
- Parameters:
vUnitTestCaseArray-
public static SchemaTest unmarshal(java.io.Reader reader) throws MarshalException, ValidationException
Method unmarshal.
- Parameters:
reader-
- Returns:
- the unmarshaled org.exolab.castor.tests.framework.testDescriptor.SchemaTest
- Throws:
MarshalException- if object is null or if any SAXException is thrown during marshalingValidationException- if this object is an invalid instance according to the schema
public void validate()
throws ValidationException
- Throws:
ValidationException- if this object is an invalid instance according to the schema