edu.mssm.crover.domain2d.rbdg.xml
Class Segment
java.lang.Object
|
+--edu.mssm.crover.domain2d.rbdg.xml.Segment
- All Implemented Interfaces:
- java.io.Serializable
- public class Segment
- extends java.lang.Object
- implements java.io.Serializable
Defines the limits of of segment of secondary structure.
Segments should span non overlapping parts of the sequence.
- 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 |
Segment
public Segment()
getEnd
public int getEnd()
getMapto
public java.lang.String getMapto()
getStart
public int getStart()
hasEnd
public boolean hasEnd()
hasStart
public boolean hasStart()
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
setEnd
public void setEnd(int end)
- Parameters:
end -
setMapto
public void setMapto(java.lang.String mapto)
- Parameters:
mapto -
setStart
public void setStart(int start)
- Parameters:
start -
unmarshal
public static Segment 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.