public class Collect extends Object implements Serializable
Constructor and Description |
---|
Collect() |
Modifier and Type | Method and Description |
---|---|
void |
addIncludeGroup(int index,
String vIncludeGroup) |
void |
addIncludeGroup(String includeGroup) |
Enumeration<String> |
enumerateIncludeGroup()
Method enumerateIncludeGroup.
|
boolean |
equals(Object obj)
Overrides the Object.equals method.
|
String[] |
getIncludeGroup()
Method getIncludeGroup.Returns the contents of the
collection in an Array.
|
String |
getIncludeGroup(int index)
Method getIncludeGroup.
|
List<String> |
getIncludeGroupCollection()
Method getIncludeGroupCollection.Returns a reference to
'_includeGroupList'.
|
int |
getIncludeGroupCount()
Method getIncludeGroupCount.
|
int |
hashCode()
Overrides the Object.hashCode method.
|
boolean |
isValid()
Deprecated.
|
Iterator<String> |
iterateIncludeGroup()
Method iterateIncludeGroup.
|
void |
marshal(ContentHandler handler)
Deprecated.
|
void |
marshal(Writer out)
Deprecated.
|
void |
removeAllIncludeGroup() |
boolean |
removeIncludeGroup(String includeGroup)
Method removeIncludeGroup.
|
String |
removeIncludeGroupAt(int index)
Method removeIncludeGroupAt.
|
void |
setIncludeGroup(int index,
String includeGroup) |
void |
setIncludeGroup(List<String> includeGroups)
Sets the value of '_includeGroupList' by copying the given
Vector.
|
void |
setIncludeGroup(String[] includeGroups) |
void |
setIncludeGroupCollection(List<String> includeGroups)
Deprecated.
|
static Collect |
unmarshal(Reader reader)
Deprecated.
|
void |
validate()
Deprecated.
|
public void addIncludeGroup(String includeGroup) throws IndexOutOfBoundsException
includeGroup
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addIncludeGroup(int index, String vIncludeGroup) throws IndexOutOfBoundsException
index
- vIncludeGroup
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<String> enumerateIncludeGroup()
public boolean equals(Object obj)
public String getIncludeGroup(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic String[] getIncludeGroup()
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 List<String> getIncludeGroupCollection()
public int getIncludeGroupCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
@Deprecated public boolean isValid()
public Iterator<String> iterateIncludeGroup()
@Deprecated public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema@Deprecated public void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllIncludeGroup()
public boolean removeIncludeGroup(String includeGroup)
includeGroup
- public String removeIncludeGroupAt(int index)
index
- public void setIncludeGroup(int index, String includeGroup) throws IndexOutOfBoundsException
index
- includeGroup
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setIncludeGroup(String[] includeGroups)
includeGroups
- public void setIncludeGroup(List<String> includeGroups)
includeGroups
- the Vector to copy.public void setIncludeGroupCollection(List<String> includeGroups)
includeGroups
- the Vector to set.@Deprecated public static Collect unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema@Deprecated public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2015. All Rights Reserved.