anl.aida.reader
Class ParsedAuthors

java.lang.Object
  extended by anl.aida.reader.ParsedAuthors

public class ParsedAuthors
extends java.lang.Object

Encapsulates author info as returned by a document reader.


Field Summary
(package private)  java.util.List<java.lang.String[]> names
           
 
Constructor Summary
ParsedAuthors()
           
ParsedAuthors(ParsedAuthors authors)
           
 
Method Summary
 void addName(java.lang.String first, java.lang.String last, java.lang.String mi)
           
 java.lang.String getAuthors()
          Gets a String representation of the authors.
 org.apache.uima.jcas.cas.FSArray toAuthorsType(org.apache.uima.jcas.JCas cas)
          Creates an FSArray UIMA type of Name types from the author info.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

names

java.util.List<java.lang.String[]> names
Constructor Detail

ParsedAuthors

public ParsedAuthors()

ParsedAuthors

public ParsedAuthors(ParsedAuthors authors)
Method Detail

addName

public void addName(java.lang.String first,
                    java.lang.String last,
                    java.lang.String mi)

getAuthors

public java.lang.String getAuthors()
Gets a String representation of the authors.

Returns:
a String representation of the authors.

toAuthorsType

public org.apache.uima.jcas.cas.FSArray toAuthorsType(org.apache.uima.jcas.JCas cas)
Creates an FSArray UIMA type of Name types from the author info.

Parameters:
cas - the JCas to use in creating the type
Returns:
the created array.