|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.tests.framework.testDescriptor.TestDescriptor
public class TestDescriptor
Castor Testing Framework Test Descriptor XML Schema
Namespace: http://castor.exolab.org/Test
This schema is used to generate the org.exolab.castor.tests.framework.testdescriptor package Note: This schema is under evolution and subject to change. This schema is under the Exolab license.
Constructor Summary | |
---|---|
TestDescriptor()
|
Method Summary | |
---|---|
void |
addComment(int index,
java.lang.String vComment)
|
void |
addComment(java.lang.String vComment)
|
void |
deleteMinimumJavaVersion()
|
java.util.Enumeration |
enumerateComment()
Method enumerateComment. |
java.lang.String |
getAuthor()
Returns the value of field 'author'. |
BugFix |
getBugFix()
Returns the value of field 'bugFix'. |
CategoryType |
getCategory()
Returns the value of field 'category'. |
java.lang.String[] |
getComment()
Method getComment.Returns the contents of the collection in an Array. |
java.lang.String |
getComment(int index)
Method getComment. |
int |
getCommentCount()
Method getCommentCount. |
float |
getMinimumJavaVersion()
Returns the value of field 'minimumJavaVersion'. |
java.lang.String |
getName()
Returns the value of field 'name'. |
TestDescriptorChoice |
getTestDescriptorChoice()
Returns the value of field 'testDescriptorChoice'. |
boolean |
hasMinimumJavaVersion()
Method hasMinimumJavaVersion. |
boolean |
isValid()
Method isValid. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllComment()
|
boolean |
removeComment(java.lang.String vComment)
Method removeComment. |
java.lang.String |
removeCommentAt(int index)
Method removeCommentAt. |
void |
setAuthor(java.lang.String author)
Sets the value of field 'author'. |
void |
setBugFix(BugFix bugFix)
Sets the value of field 'bugFix'. |
void |
setCategory(CategoryType category)
Sets the value of field 'category'. |
void |
setComment(int index,
java.lang.String vComment)
|
void |
setComment(java.lang.String[] vCommentArray)
|
void |
setMinimumJavaVersion(float minimumJavaVersion)
Sets the value of field 'minimumJavaVersion'. |
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
void |
setTestDescriptorChoice(TestDescriptorChoice testDescriptorChoice)
Sets the value of field 'testDescriptorChoice'. |
static TestDescriptor |
unmarshal(java.io.Reader reader)
Method unmarshal. |
void |
validate()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestDescriptor()
Method Detail |
---|
public void addComment(java.lang.String vComment) throws java.lang.IndexOutOfBoundsException
vComment
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addComment(int index, java.lang.String vComment) throws java.lang.IndexOutOfBoundsException
index
- vComment
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void deleteMinimumJavaVersion()
public java.util.Enumeration enumerateComment()
public java.lang.String getAuthor()
public BugFix getBugFix()
public CategoryType getCategory()
public java.lang.String getComment(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.lang.String[] getComment()
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.
public int getCommentCount()
public float getMinimumJavaVersion()
public java.lang.String getName()
public TestDescriptorChoice getTestDescriptorChoice()
public boolean hasMinimumJavaVersion()
public boolean isValid()
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
out
-
MarshalException
- if object is
null or if any SAXException is thrown during marshaling
ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException
handler
-
java.io.IOException
- if an IOException occurs during
marshaling
ValidationException
- if this
object is an invalid instance according to the schema
MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllComment()
public boolean removeComment(java.lang.String vComment)
vComment
-
public java.lang.String removeCommentAt(int index)
index
-
public void setAuthor(java.lang.String author)
author
- the value of field 'author'.public void setBugFix(BugFix bugFix)
bugFix
- the value of field 'bugFix'.public void setCategory(CategoryType category)
category
- the value of field 'category'.public void setComment(int index, java.lang.String vComment) throws java.lang.IndexOutOfBoundsException
index
- vComment
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setComment(java.lang.String[] vCommentArray)
vCommentArray
- public void setMinimumJavaVersion(float minimumJavaVersion)
minimumJavaVersion
- the value of field
'minimumJavaVersion'.public void setName(java.lang.String name)
name
- the value of field 'name'.public void setTestDescriptorChoice(TestDescriptorChoice testDescriptorChoice)
testDescriptorChoice
- the value of field
'testDescriptorChoice'.public static TestDescriptor unmarshal(java.io.Reader reader) throws MarshalException, ValidationException
reader
-
MarshalException
- if object is
null or if any SAXException is thrown during marshaling
ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws ValidationException
ValidationException
- if this
object is an invalid instance according to the schema
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |