anl.aida.reader
Class ParsedAuthors
java.lang.Object
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
|
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 |
names
java.util.List<java.lang.String[]> names
ParsedAuthors
public ParsedAuthors()
ParsedAuthors
public ParsedAuthors(ParsedAuthors authors)
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.