edu.mssm.crover.tools.tissue.xml
Class QuerySequence

java.lang.Object
  |
  +--edu.mssm.crover.tools.tissue.xml.QuerySequence
All Implemented Interfaces:
java.io.Serializable

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

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

Constructor Summary
QuerySequence()
           
 
Method Summary
 void addHit(Hit vHit)
           
 void addHit(int index, Hit vHit)
           
 void clearHit()
           
 java.util.Enumeration enumerateHit()
           
 java.lang.String getAc()
           
 Hit[] getHit()
           
 Hit getHit(int index)
           
 int getHitCount()
           
 java.lang.String getResidueCodes()
           
 java.lang.String getType()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 boolean removeHit(Hit vHit)
           
 void setAc(java.lang.String ac)
           
 void setHit(Hit[] hitArray)
           
 void setHit(int index, Hit vHit)
           
 void setResidueCodes(java.lang.String residueCodes)
           
 void setType(java.lang.String type)
           
static QuerySequence 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

QuerySequence

public QuerySequence()
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()

getAc

public java.lang.String getAc()

getHit

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

getHit

public Hit[] getHit()

getHitCount

public int getHitCount()

getResidueCodes

public java.lang.String getResidueCodes()

getType

public java.lang.String getType()

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 -

setAc

public void setAc(java.lang.String ac)
Parameters:
ac -

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 -

setResidueCodes

public void setResidueCodes(java.lang.String residueCodes)
Parameters:
residueCodes -

setType

public void setType(java.lang.String type)
Parameters:
type -

unmarshal

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