|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.northwestern.at.wordhoard.tools.cm.Author
public class Author
An author.
| Constructor Summary | |
|---|---|
Author(org.w3c.dom.Element el)
Creates a new author from an element. |
|
Author(java.util.Map headerValueMap)
Creates a new author from a header value map. |
|
Author(java.lang.String name)
Creates a new author with just a name. |
|
| Method Summary | |
|---|---|
boolean |
contains(Author other)
Returns true if this author "contains" some other author. |
boolean |
equals(java.lang.Object o)
Returns true if this object equals some other object. |
java.lang.String |
getBirthYear()
Gets the author's birth year. |
java.lang.String |
getDeathYear()
Gets the author's death year. |
java.lang.String |
getEarliestWorkYear()
Gets the author's earliest work year. |
java.lang.String |
getLatestWorkYear()
Gets the author's latest work year. |
java.lang.String |
getName()
Gets the author's name. |
void |
write(XMLWriter out)
Writes the author to the WordHoard authors.xml file. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Author(java.util.Map headerValueMap)
headerValueMap - Header value map. Maps the names of WordHoard author
items to their values. public Author(org.w3c.dom.Element el)
public Author(java.lang.String name)
name - Author name. | Method Detail |
|---|
public java.lang.String getName()
public java.lang.String getBirthYear()
public java.lang.String getDeathYear()
public java.lang.String getEarliestWorkYear()
public java.lang.String getLatestWorkYear()
public void write(XMLWriter out)
out - XMLWriter for WordHoard authors.xml file. public boolean contains(Author other)
other - The other author.
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - The other object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||