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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuerySequence
public QuerySequence()
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.