|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kemet.orm.castor.Phonograms
public class Phonograms
Class Phonograms.
Constructor Summary | |
---|---|
Phonograms()
|
Method Summary | |
---|---|
void |
addPhonogram(int index,
Phonogram vPhonogram)
|
void |
addPhonogram(Phonogram vPhonogram)
|
java.util.Enumeration |
enumeratePhonogram()
Method enumeratePhonogram. |
Phonogram[] |
getPhonogram()
Method getPhonogram.Returns the contents of the collection in an Array. |
Phonogram |
getPhonogram(int index)
Method getPhonogram. |
int |
getPhonogramCount()
Method getPhonogramCount. |
boolean |
isValid()
Method isValid. |
java.util.Iterator |
iteratePhonogram()
Method iteratePhonogram. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllPhonogram()
|
boolean |
removePhonogram(Phonogram vPhonogram)
Method removePhonogram. |
Phonogram |
removePhonogramAt(int index)
Method removePhonogramAt. |
void |
setPhonogram(int index,
Phonogram vPhonogram)
|
void |
setPhonogram(Phonogram[] vPhonogramArray)
|
static Phonograms |
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 Phonograms()
Method Detail |
---|
public void addPhonogram(Phonogram vPhonogram) throws java.lang.IndexOutOfBoundsException
vPhonogram
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addPhonogram(int index, Phonogram vPhonogram) throws java.lang.IndexOutOfBoundsException
index
- vPhonogram
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration enumeratePhonogram()
public Phonogram getPhonogram(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Phonogram[] getPhonogram()
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 getPhonogramCount()
public boolean isValid()
public java.util.Iterator iteratePhonogram()
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 removeAllPhonogram()
public boolean removePhonogram(Phonogram vPhonogram)
vPhonogram
-
public Phonogram removePhonogramAt(int index)
index
-
public void setPhonogram(int index, Phonogram vPhonogram) throws java.lang.IndexOutOfBoundsException
index
- vPhonogram
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setPhonogram(Phonogram[] vPhonogramArray)
vPhonogramArray
- public static Phonograms 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 |