|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.builder.binding.xml.Forces
public class Forces
Class Forces.
Constructor Summary | |
---|---|
Forces()
|
Method Summary | |
---|---|
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(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Forces()
Method Detail |
---|
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 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 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 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 |