|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kemet.orm.castor.TransliterationTypeSequence
public class TransliterationTypeSequence
Class TransliterationTypeSequence.
Constructor Summary | |
---|---|
TransliterationTypeSequence()
|
Method Summary | |
---|---|
void |
addPronunciation(int index,
Pronunciation vPronunciation)
|
void |
addPronunciation(Pronunciation vPronunciation)
|
java.util.Enumeration |
enumeratePronunciation()
Method enumeratePronunciation. |
Pronunciation[] |
getPronunciation()
Method getPronunciation.Returns the contents of the collection in an Array. |
Pronunciation |
getPronunciation(int index)
Method getPronunciation. |
int |
getPronunciationCount()
Method getPronunciationCount. |
boolean |
isValid()
Method isValid. |
java.util.Iterator |
iteratePronunciation()
Method iteratePronunciation. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllPronunciation()
|
boolean |
removePronunciation(Pronunciation vPronunciation)
Method removePronunciation. |
Pronunciation |
removePronunciationAt(int index)
Method removePronunciationAt. |
void |
setPronunciation(int index,
Pronunciation vPronunciation)
|
void |
setPronunciation(Pronunciation[] vPronunciationArray)
|
static TransliterationTypeSequence |
unmarshal(java.io.Reader reader)
Method unmarshal. |
void |
validate()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransliterationTypeSequence()
Method Detail |
---|
public void addPronunciation(Pronunciation vPronunciation) throws java.lang.IndexOutOfBoundsException
vPronunciation
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addPronunciation(int index, Pronunciation vPronunciation) throws java.lang.IndexOutOfBoundsException
index
- vPronunciation
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration enumeratePronunciation()
public Pronunciation getPronunciation(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Pronunciation[] getPronunciation()
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 getPronunciationCount()
public boolean isValid()
public java.util.Iterator iteratePronunciation()
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 marshaling
org.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
marshaling
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllPronunciation()
public boolean removePronunciation(Pronunciation vPronunciation)
vPronunciation
-
public Pronunciation removePronunciationAt(int index)
index
-
public void setPronunciation(int index, Pronunciation vPronunciation) throws java.lang.IndexOutOfBoundsException
index
- vPronunciation
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setPronunciation(Pronunciation[] vPronunciationArray)
vPronunciationArray
- public static TransliterationTypeSequence unmarshal(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 marshaling
org.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |