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

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

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

Describes the protein to be rendered.

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

Constructor Summary
Protein()
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getResidueCodes()
           
 SecondaryStructure getSecondaryStructure()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setName(java.lang.String name)
           
 void setResidueCodes(java.lang.String residueCodes)
           
 void setSecondaryStructure(SecondaryStructure secondaryStructure)
           
static Protein 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

Protein

public Protein()
Method Detail

getName

public java.lang.String getName()

getResidueCodes

public java.lang.String getResidueCodes()

getSecondaryStructure

public SecondaryStructure getSecondaryStructure()

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

setName

public void setName(java.lang.String name)
Parameters:
name -

setResidueCodes

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

setSecondaryStructure

public void setSecondaryStructure(SecondaryStructure secondaryStructure)
Parameters:
secondaryStructure -

unmarshal

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