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

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

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

Links a residue to a URL. This feature is supported for all types of export (GIF,JPG, SVG, etc). Residue position numbering starts at 1.

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

Constructor Summary
Residue()
           
 
Method Summary
 int getPosition()
           
 java.lang.String getUrl()
           
 boolean hasPosition()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setPosition(int position)
           
 void setUrl(java.lang.String url)
           
static Residue 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

Residue

public Residue()
Method Detail

getPosition

public int getPosition()

getUrl

public java.lang.String getUrl()

hasPosition

public boolean hasPosition()

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

setPosition

public void setPosition(int position)
Parameters:
position -

setUrl

public void setUrl(java.lang.String url)
Parameters:
url -

unmarshal

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