|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.tests.framework.testDescriptor.CallMethod
public class CallMethod
A single method to call
Constructor Summary | |
---|---|
CallMethod()
|
Method Summary | |
---|---|
void |
addValue(int index,
Value vValue)
|
void |
addValue(Value vValue)
|
java.util.Enumeration |
enumerateValue()
Method enumerateValue. |
java.lang.String |
getName()
Returns the value of field 'name'. |
Value[] |
getValue()
Method getValue.Returns the contents of the collection in an Array. |
Value |
getValue(int index)
Method getValue. |
int |
getValueCount()
Method getValueCount. |
boolean |
isValid()
Method isValid. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllValue()
|
boolean |
removeValue(Value vValue)
Method removeValue. |
Value |
removeValueAt(int index)
Method removeValueAt. |
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
void |
setValue(int index,
Value vValue)
|
void |
setValue(Value[] vValueArray)
|
static CallMethod |
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 CallMethod()
Method Detail |
---|
public void addValue(Value vValue) throws java.lang.IndexOutOfBoundsException
vValue
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addValue(int index, Value vValue) throws java.lang.IndexOutOfBoundsException
index
- vValue
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration enumerateValue()
public java.lang.String getName()
public Value getValue(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Value[] getValue()
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 getValueCount()
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 removeAllValue()
public boolean removeValue(Value vValue)
vValue
-
public Value removeValueAt(int index)
index
-
public void setName(java.lang.String name)
name
- the value of field 'name'.public void setValue(int index, Value vValue) throws java.lang.IndexOutOfBoundsException
index
- vValue
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setValue(Value[] vValueArray)
vValueArray
- public static CallMethod 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 |