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

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

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

Generates an XML document that describes one diagram. This document will contain information suitable to generate HTML pages that embed the diagram images. When provided, the template attribute names an XSL stylesheet that will be set in the document.

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

Constructor Summary
Page()
           
 
Method Summary
 java.lang.String getDiagramName()
           
 java.lang.String getFilename()
           
 java.lang.String getTemplate()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setDiagramName(java.lang.String diagramName)
           
 void setFilename(java.lang.String filename)
           
 void setTemplate(java.lang.String template)
           
static Page 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

Page

public Page()
Method Detail

getDiagramName

public java.lang.String getDiagramName()

getFilename

public java.lang.String getFilename()

getTemplate

public java.lang.String getTemplate()

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

setDiagramName

public void setDiagramName(java.lang.String diagramName)
Parameters:
diagramName -

setFilename

public void setFilename(java.lang.String filename)
Parameters:
filename -

setTemplate

public void setTemplate(java.lang.String template)
Parameters:
template -

unmarshal

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