|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.tests.framework.testDescriptor.ConfigurationType
public class ConfigurationType
Configuration for marshaling or unmarshaling or source generation. Contains a list of methods to be called on the marshaler or unmarshaler or source generator with the parameters to be provided for each method.
Constructor Summary | |
---|---|
ConfigurationType()
|
Method Summary | |
---|---|
void |
addCallMethod(CallMethod vCallMethod)
|
void |
addCallMethod(int index,
CallMethod vCallMethod)
|
java.util.Enumeration |
enumerateCallMethod()
Method enumerateCallMethod. |
CallMethod[] |
getCallMethod()
Method getCallMethod.Returns the contents of the collection in an Array. |
CallMethod |
getCallMethod(int index)
Method getCallMethod. |
int |
getCallMethodCount()
Method getCallMethodCount. |
boolean |
isValid()
Method isValid. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllCallMethod()
|
boolean |
removeCallMethod(CallMethod vCallMethod)
Method removeCallMethod. |
CallMethod |
removeCallMethodAt(int index)
Method removeCallMethodAt. |
void |
setCallMethod(CallMethod[] vCallMethodArray)
|
void |
setCallMethod(int index,
CallMethod vCallMethod)
|
static ConfigurationType |
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 ConfigurationType()
Method Detail |
---|
public void addCallMethod(CallMethod vCallMethod) throws java.lang.IndexOutOfBoundsException
vCallMethod
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addCallMethod(int index, CallMethod vCallMethod) throws java.lang.IndexOutOfBoundsException
index
- vCallMethod
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration enumerateCallMethod()
public CallMethod getCallMethod(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic CallMethod[] getCallMethod()
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 getCallMethodCount()
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 removeAllCallMethod()
public boolean removeCallMethod(CallMethod vCallMethod)
vCallMethod
-
public CallMethod removeCallMethodAt(int index)
index
-
public void setCallMethod(int index, CallMethod vCallMethod) throws java.lang.IndexOutOfBoundsException
index
- vCallMethod
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setCallMethod(CallMethod[] vCallMethodArray)
vCallMethodArray
- public static ConfigurationType 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 |