Class DublinCoreSchema
java.lang.Object
java.util.Dictionary<Object,Object>
java.util.Hashtable<Object,Object>
java.util.Properties
org.openpdf.text.xml.xmp.XmpSchema
org.openpdf.text.xml.xmp.DublinCoreSchema
- All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringExternal Contributors to the resource (other than the authors).static final StringThe extent or scope of the resource.static final StringThe authors of the resource (listed in order of precedence, if significant).static final StringDate(s) that something interesting happened to the resource.static final Stringdefault namespace identifierstatic final Stringdefault namespace uristatic final StringA textual description of the content of the resource.static final StringThe file format used when saving the resource.static final StringUnique identifier of the resource.static final StringAn unordered array specifying the languages used in the resource.static final StringPublishers.static final StringRelationships to other documents.static final StringInformal rights statement, selected by language.private static final longstatic final StringUnique identifier of the work from which this resource was derived.static final StringAn unordered array of descriptive phrases or keywords that specify the topic of the content of the resource.static final StringThe title of the document, or the name given to the resource.static final StringA document type; for example, novel, poem, or working paper.Fields inherited from class Properties
defaults -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a single author.voidAdds an array of authors.voidaddDescription(String desc) Adds a description fordefault language.voidaddDescription(String language, String desc) Adds a description for specified language.voidaddPublisher(String publisher) Adds a single publisher.voidaddPublisher(String[] publisher) Adds an array of publishers.voidaddSubject(String subject) Adds a subject.voidaddSubject(String[] subject) Adds a subject.voidAdds a title fordefault language.voidAdds a title for specified language.Methods inherited from class XmpSchema
addProperty, escape, getXmlns, process, setProperty, setProperty, setProperty, toStringMethods inherited from class Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, values
-
Field Details
-
DEFAULT_XPATH_ID
-
DEFAULT_XPATH_URI
-
CONTRIBUTOR
External Contributors to the resource (other than the authors).- See Also:
-
COVERAGE
-
CREATOR
The authors of the resource (listed in order of precedence, if significant).- See Also:
-
DATE
Date(s) that something interesting happened to the resource.- See Also:
-
DESCRIPTION
A textual description of the content of the resource. Multiple values may be present for different languages.- See Also:
-
FORMAT
The file format used when saving the resource. Tools and applications should set this property to the save format of the data. It may include appropriate qualifiers.- See Also:
-
IDENTIFIER
-
LANGUAGE
An unordered array specifying the languages used in the resource.- See Also:
-
PUBLISHER
-
RELATION
-
RIGHTS
-
SOURCE
Unique identifier of the work from which this resource was derived.- See Also:
-
SUBJECT
An unordered array of descriptive phrases or keywords that specify the topic of the content of the resource.- See Also:
-
TITLE
The title of the document, or the name given to the resource. Typically, it will be a name by which the resource is formally known.- See Also:
-
TYPE
A document type; for example, novel, poem, or working paper.- See Also:
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
DublinCoreSchema
public DublinCoreSchema()
-
-
Method Details
-
addTitle
-
addTitle
-
addDescription
Adds a description fordefault language.- Parameters:
desc- description
-
addDescription
-
addSubject
-
addSubject
-
addAuthor
-
addAuthor
Adds an array of authors.- Parameters:
author- author names arrays
-
addPublisher
Adds a single publisher.- Parameters:
publisher- publisher name
-
addPublisher
Adds an array of publishers.- Parameters:
publisher- publishers array
-