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

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

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

Determines how individual residues will be rendered. Attributes determine when and what type of shape is used to render a residue. When can be either linked or nothing. "linked" selects residues that are hyperlinked. "other" select all the other residues. Three shapes are supported: rectangular, circular, and octogonal.

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

Constructor Summary
ResidueShape()
           
 
Method Summary
 java.lang.String getShape()
           
 java.lang.String getWhen()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setShape(java.lang.String shape)
           
 void setWhen(java.lang.String when)
           
static ResidueShape 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

ResidueShape

public ResidueShape()
Method Detail

getShape

public java.lang.String getShape()

getWhen

public java.lang.String getWhen()

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

setShape

public void setShape(java.lang.String shape)
Parameters:
shape -

setWhen

public void setWhen(java.lang.String when)
Parameters:
when -

unmarshal

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