| 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.CallMethodpublic class CallMethodextends java.lang.Objectimplements java.io.SerializableConstructor Summary | |
Method Summary | |
void | |
void | |
java.util.Enumeration |
|
java.lang.String |
|
Value[] |
|
Value |
|
int |
|
boolean |
|
void |
|
void |
|
void | |
boolean |
|
Value |
|
void |
|
void | |
void | |
static CallMethod |
|
void |
|
public void addValue(int index,
Value vValue)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index-vValue-
public void addValue(Value vValue) throws java.lang.IndexOutOfBoundsException
- Parameters:
vValue-
public java.util.Enumeration enumerateValue()
Method enumerateValue.
- Returns:
- an Enumeration over all org.exolab.castor.tests.framework.testDescriptor.Value elements
public java.lang.String getName()
Returns the value of field 'name'.
- Returns:
- the value of field 'Name'.
public Value[] getValue()
Method getValue.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 Value getValue(int index) throws java.lang.IndexOutOfBoundsException
Method getValue.
- Parameters:
index-
- Returns:
- the value of the org.exolab.castor.tests.framework.testDescriptor.Value at the given index
public int getValueCount()
Method getValueCount.
- 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 removeAllValue()
public boolean removeValue(Value vValue)
Method removeValue.
- Parameters:
vValue-
- Returns:
- true if the object was removed from the collection.
public Value removeValueAt(int index)
Method removeValueAt.
- Parameters:
index-
- Returns:
- the element removed from the collection
public void setName(java.lang.String name)
Sets the value of field 'name'.
- Parameters:
name- the value of field 'name'.
public void setValue(int index,
Value vValue)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index-vValue-
public static CallMethod unmarshal(java.io.Reader reader) throws MarshalException, ValidationException
Method unmarshal.
- Parameters:
reader-
- Returns:
- the unmarshaled org.exolab.castor.tests.framework.testDescriptor.CallMethod
- 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