commgrids.nuggets.wiley.schema
Class AuthorGroup

java.lang.Object
  extended bycommgrids.nuggets.wiley.schema.AuthorGroup
All Implemented Interfaces:
java.io.Serializable

public class AuthorGroup
extends java.lang.Object
implements java.io.Serializable

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
AuthorGroup()
           
 
Method Summary
 void addAuthor(Author vAuthor)
           
 void addAuthor(int index, Author vAuthor)
           
 java.util.Enumeration enumerateAuthor()
           
 Author[] getAuthor()
           
 Author getAuthor(int index)
           
 int getAuthorCount()
           
 boolean isValid()
           
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void removeAllAuthor()
           
 Author removeAuthor(int index)
           
 void setAuthor(Author[] authorArray)
           
 void setAuthor(int index, Author vAuthor)
           
static AuthorGroup unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorGroup

public AuthorGroup()
Method Detail

addAuthor

public void addAuthor(Author vAuthor)
               throws java.lang.IndexOutOfBoundsException
Parameters:
vAuthor -
Throws:
java.lang.IndexOutOfBoundsException

addAuthor

public void addAuthor(int index,
                      Author vAuthor)
               throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vAuthor -
Throws:
java.lang.IndexOutOfBoundsException

enumerateAuthor

public java.util.Enumeration enumerateAuthor()

getAuthor

public Author getAuthor(int index)
                 throws java.lang.IndexOutOfBoundsException
Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getAuthor

public Author[] getAuthor()

getAuthorCount

public int getAuthorCount()

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeAllAuthor

public void removeAllAuthor()

removeAuthor

public Author removeAuthor(int index)
Parameters:
index -

setAuthor

public void setAuthor(int index,
                      Author vAuthor)
               throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vAuthor -
Throws:
java.lang.IndexOutOfBoundsException

setAuthor

public void setAuthor(Author[] authorArray)
Parameters:
authorArray -

unmarshal

public static AuthorGroup unmarshal(java.io.Reader reader)
                             throws org.exolab.castor.xml.MarshalException,
                                    org.exolab.castor.xml.ValidationException
Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException