edu.mssm.crover.domain2d.rbdg.xml
Class DisulfideBridge

java.lang.Object
  |
  +--edu.mssm.crover.domain2d.rbdg.xml.DisulfideBridge
All Implemented Interfaces:
java.io.Serializable

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

Describes a disulfide bridge. A yellow line is drawn on the diagram between the to and from residues.

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

Constructor Summary
DisulfideBridge()
           
 
Method Summary
 int getFrom()
           
 int getTo()
           
 boolean hasFrom()
           
 boolean hasTo()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setFrom(int from)
           
 void setTo(int to)
           
static DisulfideBridge 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

DisulfideBridge

public DisulfideBridge()
Method Detail

getFrom

public int getFrom()

getTo

public int getTo()

hasFrom

public boolean hasFrom()

hasTo

public boolean hasTo()

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

setFrom

public void setFrom(int from)
Parameters:
from -

setTo

public void setTo(int to)
Parameters:
to -

unmarshal

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