Package com.aowagie.text.xml.xmp
Class DublinCoreSchema
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<java.lang.Object,java.lang.Object>
-
- java.util.Properties
-
- com.aowagie.text.xml.xmp.XmpSchema
-
- com.aowagie.text.xml.xmp.DublinCoreSchema
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.Object,java.lang.Object>
class DublinCoreSchema extends XmpSchema
An implementation of an XmpSchema.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
CREATOR
The authors of the resource (listed in order of precedence, if significant).private static java.lang.String
DEFAULT_XPATH_ID
default namespace identifierprivate static java.lang.String
DEFAULT_XPATH_URI
default namespace uriprivate static java.lang.String
DESCRIPTION
A textual description of the content of the resource.private static java.lang.String
FORMAT
The file format used when saving the resource.private static long
serialVersionUID
private static java.lang.String
SUBJECT
An unordered array of descriptive phrases or keywords that specify the topic of the content of the resource.private static java.lang.String
TITLE
The title of the document, or the name given to the resource.
-
Constructor Summary
Constructors Constructor Description DublinCoreSchema()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
addAuthor(java.lang.String author)
Adds a single author.void
addDescription(java.lang.String desc)
Adds a description.(package private) void
addSubject(java.lang.String subject)
Adds a subject.void
addTitle(java.lang.String title)
Adds a title.-
Methods inherited from class com.aowagie.text.xml.xmp.XmpSchema
escape, getXmlns, setProperty, setProperty, toString
-
Methods inherited from class java.util.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 Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
DEFAULT_XPATH_ID
private static final java.lang.String DEFAULT_XPATH_ID
default namespace identifier- See Also:
- Constant Field Values
-
DEFAULT_XPATH_URI
private static final java.lang.String DEFAULT_XPATH_URI
default namespace uri- See Also:
- Constant Field Values
-
CREATOR
private static final java.lang.String CREATOR
The authors of the resource (listed in order of precedence, if significant).- See Also:
- Constant Field Values
-
DESCRIPTION
private static final java.lang.String DESCRIPTION
A textual description of the content of the resource. Multiple values may be present for different languages.- See Also:
- Constant Field Values
-
FORMAT
private static final java.lang.String 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:
- Constant Field Values
-
SUBJECT
private static final java.lang.String SUBJECT
An unordered array of descriptive phrases or keywords that specify the topic of the content of the resource.- See Also:
- Constant Field Values
-
TITLE
private static final java.lang.String 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:
- Constant Field Values
-
-
Method Detail
-
addTitle
public void addTitle(java.lang.String title)
Adds a title.- Parameters:
title
-
-
addDescription
public void addDescription(java.lang.String desc)
Adds a description.- Parameters:
desc
-
-
addSubject
void addSubject(java.lang.String subject)
Adds a subject.- Parameters:
subject
-
-
addAuthor
void addAuthor(java.lang.String author)
Adds a single author.- Parameters:
author
-
-
-