Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.exolab.castor.builder.binding.xml.Forces
public class Forces
extends java.lang.Object
implements java.io.Serializable
Constructor Summary | |
|
Method Summary | |
void |
|
void |
|
java.util.Enumeration |
|
java.lang.String[] |
|
java.lang.String |
|
int |
|
boolean |
|
java.util.Iterator |
|
void |
|
void |
|
void | |
boolean |
|
java.lang.String |
|
void |
|
void |
|
static Forces |
|
void |
|
public void addForce(int index, java.lang.String vForce) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vForce
-
public void addForce(java.lang.String vForce) throws java.lang.IndexOutOfBoundsException
- Parameters:
vForce
-
public java.util.Enumeration enumerateForce()
Method enumerateForce.
- Returns:
- an Enumeration over all possible elements of this collection
public java.lang.String[] getForce()
Method getForce.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 java.lang.String getForce(int index) throws java.lang.IndexOutOfBoundsException
Method getForce.
- Parameters:
index
-
- Returns:
- the value of the java.lang.String at the given index
public int getForceCount()
Method getForceCount.
- Returns:
- the size of this collection
public boolean isValid()
Method isValid.
- Returns:
- true if this object is valid according to the schema
public java.util.Iterator iterateForce()
Method iterateForce.
- Returns:
- an Iterator over all possible elements in this collection
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 removeAllForce()
public boolean removeForce(java.lang.String vForce)
Method removeForce.
- Parameters:
vForce
-
- Returns:
- true if the object was removed from the collection.
public java.lang.String removeForceAt(int index)
Method removeForceAt.
- Parameters:
index
-
- Returns:
- the element removed from the collection
public void setForce(int index, java.lang.String vForce) throws java.lang.IndexOutOfBoundsException
- Parameters:
index
-vForce
-
public void setForce(java.lang.String[] vForceArray)
- Parameters:
vForceArray
-
public static Forces unmarshalForces(java.io.Reader reader) throws MarshalException, ValidationException
Method unmarshalForces.
- Parameters:
reader
-
- Returns:
- the unmarshaled org.exolab.castor.builder.binding.xml.Forces
- 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