public class CodingSchemes extends LexGridBase implements java.io.Serializable
Constructor and Description |
---|
CodingSchemes() |
Modifier and Type | Method and Description |
---|---|
void |
addCodingScheme(CodingScheme vCodingScheme) |
void |
addCodingScheme(int index,
CodingScheme vCodingScheme) |
java.util.Enumeration<? extends CodingScheme> |
enumerateCodingScheme()
Method enumerateCodingScheme.
|
CodingScheme[] |
getCodingScheme()
Method getCodingScheme.Returns the contents of the
collection in an Array.
|
CodingScheme |
getCodingScheme(int index)
Method getCodingScheme.
|
java.util.List<CodingScheme> |
getCodingSchemeAsReference()
Method getCodingSchemeAsReference.Returns a reference to
'_codingSchemeList'.
|
int |
getCodingSchemeCount()
Method getCodingSchemeCount.
|
boolean |
isValid()
Method isValid.
|
java.util.Iterator<? extends CodingScheme> |
iterateCodingScheme()
Method iterateCodingScheme.
|
void |
marshal(org.xml.sax.ContentHandler handler) |
void |
marshal(java.io.Writer out) |
void |
removeAllCodingScheme() |
boolean |
removeCodingScheme(CodingScheme vCodingScheme)
Method removeCodingScheme.
|
CodingScheme |
removeCodingSchemeAt(int index)
Method removeCodingSchemeAt.
|
void |
setCodingScheme(CodingScheme[] vCodingSchemeArray) |
void |
setCodingScheme(int index,
CodingScheme vCodingScheme) |
void |
setCodingScheme(java.util.List<CodingScheme> vCodingSchemeList)
Sets the value of '_codingSchemeList' by copying the given
Vector.
|
void |
setCodingSchemeAsReference(java.util.List<CodingScheme> codingSchemeList)
Deprecated.
|
static CodingSchemes |
unmarshalCodingSchemes(java.io.Reader reader)
Method unmarshalCodingSchemes.
|
void |
validate() |
getParent, setParent
public void addCodingScheme(CodingScheme vCodingScheme) throws java.lang.IndexOutOfBoundsException
vCodingScheme
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addCodingScheme(int index, CodingScheme vCodingScheme) throws java.lang.IndexOutOfBoundsException
index
- vCodingScheme
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends CodingScheme> enumerateCodingScheme()
public CodingScheme getCodingScheme(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic CodingScheme[] getCodingScheme()
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 java.util.List<CodingScheme> getCodingSchemeAsReference()
public int getCodingSchemeCount()
public boolean isValid()
public java.util.Iterator<? extends CodingScheme> iterateCodingScheme()
public void marshal(java.io.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(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- java.io.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 removeAllCodingScheme()
public boolean removeCodingScheme(CodingScheme vCodingScheme)
vCodingScheme
- public CodingScheme removeCodingSchemeAt(int index)
index
- public void setCodingScheme(int index, CodingScheme vCodingScheme) throws java.lang.IndexOutOfBoundsException
index
- vCodingScheme
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setCodingScheme(CodingScheme[] vCodingSchemeArray)
vCodingSchemeArray
- public void setCodingScheme(java.util.List<CodingScheme> vCodingSchemeList)
vCodingSchemeList
- the Vector to copy.public void setCodingSchemeAsReference(java.util.List<CodingScheme> codingSchemeList)
codingSchemeList
- the Vector to set.public static CodingSchemes unmarshalCodingSchemes(java.io.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 schema