|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjwo.landserf.structure.Header
Stores general header information about a document. Includes information such as title, author, copyright details etc.
Constructor Summary | |
Header(Header oldHeader)
Creates a header based on a copy of the given one. |
|
Header(String title)
Creates a default header with a given title. |
|
Header(String title,
String author,
String rights,
String notes)
Creates a header with given title, author, rights and notes. |
Method Summary | |
String |
getAuthor()
Reports the author of the object associated with this header. |
String |
getNotes()
Reports any notes on the object associated with this header. |
String |
getRights()
Reports the copyright details of the object associated with this header. |
String |
getTitle()
Reports the title of the object associated with this header. |
void |
setAuthor(String author)
Sets the author of the object associated with this header. |
void |
setNotes(String notes)
Sets the notes on the object associated with this header. |
void |
setRights(String rights)
Sets the copyright details associated with this header. |
void |
setTitle(String title)
Sets the title of the object associated with this header. |
String |
toString()
Reports the contents of the header as a text string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Header(String title)
title
- Title of object described by the header.public Header(String title, String author, String rights, String notes)
title
- Title of object described by the header.author
- Author of object described by the header.rights
- Copyright details of object described by the header.notes
- Miscellaneous notes associated with object.public Header(Header oldHeader)
oldHeader
- Header to copy.Method Detail |
public String getTitle()
public String getAuthor()
public String getRights()
public String getNotes()
public String toString()
public void setTitle(String title)
title
- New title of object.public void setAuthor(String author)
author
- New author information associated with object.public void setRights(String rights)
rights
- New copyright information associated with object.public void setNotes(String notes)
notes
- New notes associated with object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |