| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.exolab.castor.builder.binding.xml.Excludespublic class Excludesextends java.lang.Objectimplements java.io.SerializableConstructor Summary | |
| |
Method Summary | |
void |
|
void |
|
java.util.Enumeration |
|
Exclude[] |
|
Exclude |
|
int |
|
boolean |
|
java.util.Iterator |
|
void |
|
void |
|
void | |
boolean |
|
Exclude |
|
void |
|
void |
|
static Excludes |
|
void |
|
public void addExclude(int index,
Exclude vExclude)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index-vExclude-
public void addExclude(Exclude vExclude) throws java.lang.IndexOutOfBoundsException
- Parameters:
vExclude-
public java.util.Enumeration enumerateExclude()
Method enumerateExclude.
- Returns:
- an Enumeration over all possible elements of this collection
public Exclude[] getExclude()
Method getExclude.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 Exclude getExclude(int index) throws java.lang.IndexOutOfBoundsException
Method getExclude.
- Parameters:
index-
- Returns:
- the value of the org.exolab.castor.builder.binding.xml.Exclude at the given index
public int getExcludeCount()
Method getExcludeCount.
- 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 iterateExclude()
Method iterateExclude.
- 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 removeAllExclude()
public boolean removeExclude(Exclude vExclude)
Method removeExclude.
- Parameters:
vExclude-
- Returns:
- true if the object was removed from the collection.
public Exclude removeExcludeAt(int index)
Method removeExcludeAt.
- Parameters:
index-
- Returns:
- the element removed from the collection
public void setExclude(int index,
Exclude vExclude)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index-vExclude-
public static Excludes unmarshalExcludes(java.io.Reader reader) throws MarshalException, ValidationException
Method unmarshalExcludes.
- Parameters:
reader-
- Returns:
- the unmarshaled org.exolab.castor.builder.binding.xml.Excludes
- 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