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

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

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

Groups options related to the diagram output.

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

Constructor Summary
Output()
           
 
Method Summary
 void addImage(Image vImage)
           
 void addImage(int index, Image vImage)
           
 void clearImage()
           
 java.util.Enumeration enumerateImage()
           
 Image[] getImage()
           
 Image getImage(int index)
           
 int getImageCount()
           
 ImageMap getImageMap()
           
 Page getPage()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 boolean removeImage(Image vImage)
           
 void setImage(Image[] imageArray)
           
 void setImage(int index, Image vImage)
           
 void setImageMap(ImageMap imageMap)
           
 void setPage(Page page)
           
static Output 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

Output

public Output()
Method Detail

addImage

public void addImage(Image vImage)
              throws java.lang.IndexOutOfBoundsException
Parameters:
vImage -
java.lang.IndexOutOfBoundsException

addImage

public void addImage(int index,
                     Image vImage)
              throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vImage -
java.lang.IndexOutOfBoundsException

clearImage

public void clearImage()

enumerateImage

public java.util.Enumeration enumerateImage()

getImage

public Image getImage(int index)
               throws java.lang.IndexOutOfBoundsException
Parameters:
index -
java.lang.IndexOutOfBoundsException

getImage

public Image[] getImage()

getImageCount

public int getImageCount()

getImageMap

public ImageMap getImageMap()

getPage

public Page getPage()

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

removeImage

public boolean removeImage(Image vImage)
Parameters:
vImage -

setImage

public void setImage(int index,
                     Image vImage)
              throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vImage -
java.lang.IndexOutOfBoundsException

setImage

public void setImage(Image[] imageArray)
Parameters:
imageArray -

setImageMap

public void setImageMap(ImageMap imageMap)
Parameters:
imageMap -

setPage

public void setPage(Page page)
Parameters:
page -

unmarshal

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