java.io.Serializable
public class Forces
extends java.lang.Object
implements java.io.Serializable
Constructor | Description |
---|---|
Forces() |
Modifier and Type | Method | Description |
---|---|---|
void |
addForce(int index,
java.lang.String vForce) |
|
void |
addForce(java.lang.String vForce) |
|
java.util.Enumeration |
enumerateForce() |
Method enumerateForce.
|
java.lang.String[] |
getForce() |
Method getForce.Returns the contents of the collection in an
Array.
|
java.lang.String |
getForce(int index) |
Method getForce.
|
int |
getForceCount() |
Method getForceCount.
|
boolean |
isValid() |
Method isValid.
|
java.util.Iterator |
iterateForce() |
Method iterateForce.
|
void |
marshal(java.io.Writer out) |
|
void |
marshal(org.xml.sax.ContentHandler handler) |
|
void |
removeAllForce() |
|
boolean |
removeForce(java.lang.String vForce) |
Method removeForce.
|
java.lang.String |
removeForceAt(int index) |
Method removeForceAt.
|
void |
setForce(int index,
java.lang.String vForce) |
|
void |
setForce(java.lang.String[] vForceArray) |
|
static Forces |
unmarshalForces(java.io.Reader reader) |
Method unmarshalForces.
|
void |
validate() |
public void addForce(java.lang.String vForce) throws java.lang.IndexOutOfBoundsException
vForce
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addForce(int index, java.lang.String vForce) throws java.lang.IndexOutOfBoundsException
index
- vForce
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration enumerateForce()
public java.lang.String getForce(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.lang.String[] getForce()
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 getForceCount()
public boolean isValid()
public java.util.Iterator iterateForce()
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
out
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- 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
marshalingValidationException
- if this
object is an invalid instance according to the schemaMarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllForce()
public boolean removeForce(java.lang.String vForce)
vForce
- public java.lang.String removeForceAt(int index)
index
- public void setForce(int index, java.lang.String vForce) throws java.lang.IndexOutOfBoundsException
index
- vForce
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setForce(java.lang.String[] vForceArray)
vForceArray
- public static Forces unmarshalForces(java.io.Reader reader) throws MarshalException, ValidationException
reader
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- 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 schemaIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com