Package edu.harvard.hul.ois.jhove
Class Document
java.lang.Object
edu.harvard.hul.ois.jhove.Document
This class encapsulates information about format specification documents.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDocument(String title, DocumentType type) Creates a Document with a given title and one of the predefined DocumentTypes. -
Method Summary
Modifier and TypeMethodDescriptionReturns a List of Agents, each representing an author of this Document.getDate()Returns the date of this DocumentReturns informaton on the edition of this DocumentReturns the enumeration (e.g., serial volume and number) of this DocumentReturns the list of formal Identifiers for this Document.getNote()Returns the note associated with this DocumentgetPages()Returns pagination information for this DocumentReturns a List of Agents, each representing a publisher of this Document.getTitle()Returns the title of this DocumentgetType()Returns one of the predefined DocumentTypes as the type of this DocumentvoidAdds an author to the list of authorsvoidSets the date of this DocumentvoidsetEdition(String edition) Sets edition information for this DocumentvoidsetEnumeration(String enm) Sets enumeration information (e.g., serial volume and number) for this DocumentvoidsetIdentifier(Identifier identifier) Adds an Identifier to the list of identifiersvoidSets a note giving additional information about this DocumentvoidSets pagination information for this DocumentvoidsetPublisher(Agent publisher) Adds a publisher to the list of publishers
-
Constructor Details
-
Document
Creates a Document with a given title and one of the predefined DocumentTypes.
-
-
Method Details
-
getAuthor
Returns a List of Agents, each representing an author of this Document. Returns an empty list if no authors have been listed.- See Also:
-
getDate
Returns the date of this Document -
getEdition
Returns informaton on the edition of this Document -
getEnumeration
Returns the enumeration (e.g., serial volume and number) of this Document -
getIdentifier
Returns the list of formal Identifiers for this Document. If no Identifiers are given, returns an empty list. -
getNote
Returns the note associated with this Document -
getPages
Returns pagination information for this Document -
getPublisher
Returns a List of Agents, each representing a publisher of this Document. If no publishers are listed, returns an empty list. -
getTitle
Returns the title of this Document -
getType
Returns one of the predefined DocumentTypes as the type of this Document -
setAuthor
Adds an author to the list of authors -
setDate
Sets the date of this Document -
setEdition
Sets edition information for this Document -
setEnumeration
Sets enumeration information (e.g., serial volume and number) for this Document -
setIdentifier
Adds an Identifier to the list of identifiers -
setNote
Sets a note giving additional information about this Document -
setPages
Sets pagination information for this Document -
setPublisher
Adds a publisher to the list of publishers
-