edu.mssm.crover.webapps.dimlib.parsers.xml
Class Snps

java.lang.Object
  |
  +--edu.mssm.crover.webapps.dimlib.parsers.xml.Snps
All Implemented Interfaces:
java.io.Serializable

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

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

Constructor Summary
Snps()
           
 
Method Summary
 void addSnp(int index, Snp vSnp)
           
 void addSnp(Snp vSnp)
           
 void clearSnp()
           
 java.util.Enumeration enumerateSnp()
           
 Snp[] getSnp()
           
 Snp getSnp(int index)
           
 int getSnpCount()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 boolean removeSnp(Snp vSnp)
           
 void setSnp(int index, Snp vSnp)
           
 void setSnp(Snp[] snpArray)
           
static Snps 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

Snps

public Snps()
Method Detail

addSnp

public void addSnp(Snp vSnp)
            throws java.lang.IndexOutOfBoundsException
Parameters:
vSnp -
java.lang.IndexOutOfBoundsException

addSnp

public void addSnp(int index,
                   Snp vSnp)
            throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vSnp -
java.lang.IndexOutOfBoundsException

clearSnp

public void clearSnp()

enumerateSnp

public java.util.Enumeration enumerateSnp()

getSnp

public Snp getSnp(int index)
           throws java.lang.IndexOutOfBoundsException
Parameters:
index -
java.lang.IndexOutOfBoundsException

getSnp

public Snp[] getSnp()

getSnpCount

public int getSnpCount()

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 -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeSnp

public boolean removeSnp(Snp vSnp)
Parameters:
vSnp -

setSnp

public void setSnp(int index,
                   Snp vSnp)
            throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vSnp -
java.lang.IndexOutOfBoundsException

setSnp

public void setSnp(Snp[] snpArray)
Parameters:
snpArray -

unmarshal

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

validate

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


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.