edu.mssm.crover.tools.blast.parsers.xml.v1
Class BlastOutput_Hits

java.lang.Object
  |
  +--edu.mssm.crover.tools.blast.parsers.xml.v1.BlastOutput_Hits
All Implemented Interfaces:
java.io.Serializable

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

Version:
$Revision: 1.1 $ $Date: 2002/12/09 17:46:51 $
See Also:
Serialized Form

Constructor Summary
BlastOutput_Hits()
           
 
Method Summary
 void addHit(Hit vHit)
           
 void addHit(int index, Hit vHit)
           
 void clearHit()
           
 java.util.Enumeration enumerateHit()
           
 Hit[] getHit()
           
 Hit getHit(int index)
           
 int getHitCount()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 boolean removeHit(Hit vHit)
           
 void setHit(Hit[] hitArray)
           
 void setHit(int index, Hit vHit)
           
static BlastOutput_Hits 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

BlastOutput_Hits

public BlastOutput_Hits()
Method Detail

addHit

public void addHit(Hit vHit)
            throws java.lang.IndexOutOfBoundsException
Parameters:
vHit -
java.lang.IndexOutOfBoundsException

addHit

public void addHit(int index,
                   Hit vHit)
            throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vHit -
java.lang.IndexOutOfBoundsException

clearHit

public void clearHit()

enumerateHit

public java.util.Enumeration enumerateHit()

getHit

public Hit getHit(int index)
           throws java.lang.IndexOutOfBoundsException
Parameters:
index -
java.lang.IndexOutOfBoundsException

getHit

public Hit[] getHit()

getHitCount

public int getHitCount()

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

removeHit

public boolean removeHit(Hit vHit)
Parameters:
vHit -

setHit

public void setHit(int index,
                   Hit vHit)
            throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vHit -
java.lang.IndexOutOfBoundsException

setHit

public void setHit(Hit[] hitArray)
Parameters:
hitArray -

unmarshal

public static BlastOutput_Hits 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.