\Header{pubMedAbst-class}{Class pubMedAbst, a class to handle PubMed abstracts, and methods
for processing them.}
\alias{abstText}{pubMedAbst-class}
\alias{abstText,pubMedAbst-method}{pubMedAbst-class}
\alias{abstUrl}{pubMedAbst-class}
\alias{abstUrl,pubMedAbst-method}{pubMedAbst-class}
\alias{articleTitle}{pubMedAbst-class}
\alias{articleTitle,pubMedAbst-method}{pubMedAbst-class}
\alias{authors}{pubMedAbst-class}
\alias{authors,pubMedAbst-method}{pubMedAbst-class}
\alias{journal}{pubMedAbst-class}
\alias{journal,pubMedAbst-method}{pubMedAbst-class}
\alias{pmid}{pubMedAbst-class}
\alias{pmid,pubMedAbst-method}{pubMedAbst-class}
\alias{pubDate}{pubMedAbst-class}
\alias{pubDate,pubMedAbst-method}{pubMedAbst-class}
\alias{pubMedAbst}{pubMedAbst-class}
\alias{pubMedAbst,pubMedAbst-method}{pubMedAbst-class}
\alias{show,pubMedAbst-method}{pubMedAbst-class}
\keyword{classes}{pubMedAbst-class}
\begin{Description}\relax
This is a class representation for PubMed abstracts.
\end{Description}
\begin{Section}{Creating Objects}
\code{ new('pubMedAbst',}\\
\code{  authors      = ...., \# Object of class vector}\\
\code{  pmid         = ...., \# Object of class character}\\
\code{  abstText     = ...., \# Object of class character}\\
\code{  articleTitle = ...., \# object of class character}\\
\code{  journal      = ...., \# Object of class character}\\
\code{  pubDate      = ...., \# Object of class character}\\
\code{  abstUrl      = ...., \# Object of class character}\\
\code{  )}
\end{Section}
\begin{Section}{Slots}
\describe{
\item[\code{pmid}:] Object of class \code{"character"} The PubMed ID
for this paper. 
\item[\code{authors}:] Object of class \code{"vector"} The authors
of the paper. 
\item[\code{abstText}:] Object of class \code{"character"} The
contained text of the abstract.  
\item[\code{articleTitle}:] Object of class \code{"character"} The
title of the article the abstract pertains to. 
\item[\code{journal}:] Object of class \code{"character"} The journal
the article was published in. 
\item[\code{pubDate}:] Object of class \code{"character"} The date the
journal was published. 
\item[\code{abstUrl}:] Object of class \code{"character"} A URL, if
one is provided, contained in the abstract. 
}
\end{Section}
\begin{Section}{Methods}
\describe{
\item[pmid] \code{signature(object = "pmid")}: An accessor function
for \code{pmid}
\item[abstText] \code{signature(object = "pubMedAbst")}: An accessor
function for \code{abstText}
\item[abstUrl] \code{signature(object = "pubMedAbst")}: An accessor
function for \code{abstUrl} 
\item[articleTitle] \code{signature(object = "pubMedAbst")}: An accessor
function for \code{articleTitle} 
\item[authors] \code{signature(object = "pubMedAbst")}: An accessor
function for \code{authors} 
\item[journal] \code{signature(object = "pubMedAbst")}: An accessor
function for \code{journal} 
\item[pubDate] \code{signature(object = "pubMedAbst")}: An accessor
function for \code{pubDate}
}
\end{Section}
\begin{Author}\relax
Jeff Gentry
\end{Author}
\begin{SeeAlso}\relax
\code{\Link{pubmed}}, \code{\Link{genbank}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
   x <- pubmed("9695952","8325638","8422497")
   a <- xmlRoot(x)
   numAbst <- length(xmlChildren(a))
   absts <- list()
   for (i in 1:numAbst) {
      absts[[i]] <- buildPubMedAbst(a[[i]])
   }
\end{ExampleCode}
\end{Examples}

