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

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

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

Describes the graphical arrangement of secondary structure units on the 2D page.

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

Constructor Summary
DiagramLayout()
           
 
Method Summary
 void addSubunit(int index, Subunit vSubunit)
           
 void addSubunit(Subunit vSubunit)
           
 void clearSubunit()
           
 java.util.Enumeration enumerateSubunit()
           
 Subunit[] getSubunit()
           
 Subunit getSubunit(int index)
           
 int getSubunitCount()
           
 TmBundle getTmBundle()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 boolean removeSubunit(Subunit vSubunit)
           
 void setSubunit(int index, Subunit vSubunit)
           
 void setSubunit(Subunit[] subunitArray)
           
 void setTmBundle(TmBundle tmBundle)
           
static DiagramLayout 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

DiagramLayout

public DiagramLayout()
Method Detail

addSubunit

public void addSubunit(Subunit vSubunit)
                throws java.lang.IndexOutOfBoundsException
Parameters:
vSubunit -
java.lang.IndexOutOfBoundsException

addSubunit

public void addSubunit(int index,
                       Subunit vSubunit)
                throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vSubunit -
java.lang.IndexOutOfBoundsException

clearSubunit

public void clearSubunit()

enumerateSubunit

public java.util.Enumeration enumerateSubunit()

getSubunit

public Subunit getSubunit(int index)
                   throws java.lang.IndexOutOfBoundsException
Parameters:
index -
java.lang.IndexOutOfBoundsException

getSubunit

public Subunit[] getSubunit()

getSubunitCount

public int getSubunitCount()

getTmBundle

public TmBundle getTmBundle()

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

removeSubunit

public boolean removeSubunit(Subunit vSubunit)
Parameters:
vSubunit -

setSubunit

public void setSubunit(int index,
                       Subunit vSubunit)
                throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vSubunit -
java.lang.IndexOutOfBoundsException

setSubunit

public void setSubunit(Subunit[] subunitArray)
Parameters:
subunitArray -

setTmBundle

public void setTmBundle(TmBundle tmBundle)
Parameters:
tmBundle -

unmarshal

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