edu.mssm.crover.webapps.dimlib.parsers.xml
Class References

java.lang.Object
  |
  +--edu.mssm.crover.webapps.dimlib.parsers.xml.References
All Implemented Interfaces:
java.io.Serializable

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

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

Constructor Summary
References()
           
 
Method Summary
 void addPaper(int index, Paper vPaper)
           
 void addPaper(Paper vPaper)
           
 void addUrl(int index, Url vUrl)
           
 void addUrl(Url vUrl)
           
 void clearPaper()
           
 void clearUrl()
           
 java.util.Enumeration enumeratePaper()
           
 java.util.Enumeration enumerateUrl()
           
 Paper[] getPaper()
           
 Paper getPaper(int index)
           
 int getPaperCount()
           
 Url[] getUrl()
           
 Url getUrl(int index)
           
 int getUrlCount()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 boolean removePaper(Paper vPaper)
           
 boolean removeUrl(Url vUrl)
           
 void setPaper(int index, Paper vPaper)
           
 void setPaper(Paper[] paperArray)
           
 void setUrl(int index, Url vUrl)
           
 void setUrl(Url[] urlArray)
           
static References 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

References

public References()
Method Detail

addPaper

public void addPaper(Paper vPaper)
              throws java.lang.IndexOutOfBoundsException
Parameters:
vPaper -
java.lang.IndexOutOfBoundsException

addPaper

public void addPaper(int index,
                     Paper vPaper)
              throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vPaper -
java.lang.IndexOutOfBoundsException

addUrl

public void addUrl(Url vUrl)
            throws java.lang.IndexOutOfBoundsException
Parameters:
vUrl -
java.lang.IndexOutOfBoundsException

addUrl

public void addUrl(int index,
                   Url vUrl)
            throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vUrl -
java.lang.IndexOutOfBoundsException

clearPaper

public void clearPaper()

clearUrl

public void clearUrl()

enumeratePaper

public java.util.Enumeration enumeratePaper()

enumerateUrl

public java.util.Enumeration enumerateUrl()

getPaper

public Paper getPaper(int index)
               throws java.lang.IndexOutOfBoundsException
Parameters:
index -
java.lang.IndexOutOfBoundsException

getPaper

public Paper[] getPaper()

getPaperCount

public int getPaperCount()

getUrl

public Url getUrl(int index)
           throws java.lang.IndexOutOfBoundsException
Parameters:
index -
java.lang.IndexOutOfBoundsException

getUrl

public Url[] getUrl()

getUrlCount

public int getUrlCount()

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

removePaper

public boolean removePaper(Paper vPaper)
Parameters:
vPaper -

removeUrl

public boolean removeUrl(Url vUrl)
Parameters:
vUrl -

setPaper

public void setPaper(int index,
                     Paper vPaper)
              throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vPaper -
java.lang.IndexOutOfBoundsException

setPaper

public void setPaper(Paper[] paperArray)
Parameters:
paperArray -

setUrl

public void setUrl(int index,
                   Url vUrl)
            throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vUrl -
java.lang.IndexOutOfBoundsException

setUrl

public void setUrl(Url[] urlArray)
Parameters:
urlArray -

unmarshal

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