edu.mssm.crover.domain2d.rbdg.xml
Class Options
java.lang.Object
|
+--edu.mssm.crover.domain2d.rbdg.xml.Options
- All Implemented Interfaces:
- java.io.Serializable
- public class Options
- extends java.lang.Object
- implements java.io.Serializable
Groups options that can affect how the diagram is rendered.
- 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 |
Options
public Options()
addResidueShape
public void addResidueShape(ResidueShape vResidueShape)
throws java.lang.IndexOutOfBoundsException
- Parameters:
vResidueShape -
java.lang.IndexOutOfBoundsException
addResidueShape
public void addResidueShape(int index,
ResidueShape vResidueShape)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index - vResidueShape -
java.lang.IndexOutOfBoundsException
clearResidueShape
public void clearResidueShape()
enumerateResidueShape
public java.util.Enumeration enumerateResidueShape()
getResidueShape
public ResidueShape getResidueShape(int index)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index -
java.lang.IndexOutOfBoundsException
getResidueShape
public ResidueShape[] getResidueShape()
getResidueShapeCount
public int getResidueShapeCount()
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
removeResidueShape
public boolean removeResidueShape(ResidueShape vResidueShape)
- Parameters:
vResidueShape -
setResidueShape
public void setResidueShape(int index,
ResidueShape vResidueShape)
throws java.lang.IndexOutOfBoundsException
- Parameters:
index - vResidueShape -
java.lang.IndexOutOfBoundsException
setResidueShape
public void setResidueShape(ResidueShape[] residueShapeArray)
- Parameters:
residueShapeArray -
unmarshal
public static Options 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.