public class Col extends Object implements Serializable
Constructor and Description |
---|
Col() |
Modifier and Type | Method and Description |
---|---|
void |
addColTitle(int index,
String vColTitle) |
void |
addColTitle(String vColTitle) |
Enumeration<String> |
enumerateColTitle()
Method enumerateColTitle.
|
String[] |
getColTitle()
Method getColTitle.Returns the contents of the collection in
an Array.
|
String |
getColTitle(int index)
Method getColTitle.
|
List<String> |
getColTitleCollection()
Method getColTitleCollection.Returns a reference to
'_colTitleList'.
|
int |
getColTitleCount()
Method getColTitleCount.
|
boolean |
isValid()
Method isValid.
|
Iterator<String> |
iterateColTitle()
Method iterateColTitle.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllColTitle() |
boolean |
removeColTitle(String vColTitle)
Method removeColTitle.
|
String |
removeColTitleAt(int index)
Method removeColTitleAt.
|
void |
setColTitle(int index,
String vColTitle) |
void |
setColTitle(List<String> vColTitleList)
Sets the value of '_colTitleList' by copying the given
Vector.
|
void |
setColTitle(String[] vColTitleArray) |
void |
setColTitleCollection(List<String> colTitleList)
Deprecated.
|
static Col |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addColTitle(String vColTitle) throws IndexOutOfBoundsException
vColTitle
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addColTitle(int index, String vColTitle) throws IndexOutOfBoundsException
index
- vColTitle
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<String> enumerateColTitle()
public String getColTitle(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic String[] getColTitle()
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> getColTitleCollection()
public int getColTitleCount()
public boolean isValid()
public Iterator<String> iterateColTitle()
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 schemapublic 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 removeAllColTitle()
public boolean removeColTitle(String vColTitle)
vColTitle
- public String removeColTitleAt(int index)
index
- public void setColTitle(int index, String vColTitle) throws IndexOutOfBoundsException
index
- vColTitle
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setColTitle(String[] vColTitleArray)
vColTitleArray
- public void setColTitle(List<String> vColTitleList)
vColTitleList
- the Vector to copy.public void setColTitleCollection(List<String> colTitleList)
colTitleList
- the Vector to set.public static Col 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 schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2017. All rights reserved.