- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<java.lang.Object,java.lang.Object>
-
- java.util.Properties
-
- com.itextpdf.text.xml.xmp.XmpSchema
-
- com.itextpdf.text.xml.xmp.DublinCoreSchema
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.Object,java.lang.Object>
public class DublinCoreSchema extends XmpSchema
An implementation of an XmpSchema.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONTRIBUTORExternal Contributors to the resource (other than the authors).static java.lang.StringCOVERAGEThe extent or scope of the resource.static java.lang.StringCREATORThe authors of the resource (listed in order of precedence, if significant).static java.lang.StringDATEDate(s) that something interesting happened to the resource.static java.lang.StringDEFAULT_XPATH_IDdefault namespace identifierstatic java.lang.StringDEFAULT_XPATH_URIdefault namespace uristatic java.lang.StringDESCRIPTIONA textual description of the content of the resource.static java.lang.StringFORMATThe file format used when saving the resource.static java.lang.StringIDENTIFIERUnique identifier of the resource.static java.lang.StringLANGUAGEAn unordered array specifying the languages used in the resource.static java.lang.StringPUBLISHERPublishers.static java.lang.StringRELATIONRelationships to other documents.static java.lang.StringRIGHTSInformal rights statement, selected by language.static java.lang.StringSOURCEUnique identifier of the work from which this resource was derived.static java.lang.StringSUBJECTAn unordered array of descriptive phrases or keywords that specify the topic of the content of the resource.static java.lang.StringTITLEThe title of the document, or the name given to the resource.static java.lang.StringTYPEA document type; for example, novel, poem, or working paper.
-
Constructor Summary
Constructors Constructor Description DublinCoreSchema()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAuthor(java.lang.String author)Adds a single author.voidaddAuthor(java.lang.String[] author)Adds an array of authors.voidaddDescription(java.lang.String desc)Adds a description.voidaddPublisher(java.lang.String publisher)Adds a single publisher.voidaddPublisher(java.lang.String[] publisher)Adds an array of publishers.voidaddSubject(java.lang.String subject)Adds a subject.voidaddSubject(java.lang.String[] subject)Adds a subject.voidaddTitle(java.lang.String title)Adds a title.-
Methods inherited from class com.itextpdf.text.xml.xmp.XmpSchema
addProperty, escape, getXmlns, process, setProperty, 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
-
DEFAULT_XPATH_ID
public static final java.lang.String DEFAULT_XPATH_ID
default namespace identifier- See Also:
- Constant Field Values
-
DEFAULT_XPATH_URI
public static final java.lang.String DEFAULT_XPATH_URI
default namespace uri- See Also:
- Constant Field Values
-
CONTRIBUTOR
public static final java.lang.String CONTRIBUTOR
External Contributors to the resource (other than the authors).- See Also:
- Constant Field Values
-
COVERAGE
public static final java.lang.String COVERAGE
The extent or scope of the resource.- See Also:
- Constant Field Values
-
CREATOR
public static final java.lang.String CREATOR
The authors of the resource (listed in order of precedence, if significant).- See Also:
- Constant Field Values
-
DATE
public static final java.lang.String DATE
Date(s) that something interesting happened to the resource.- See Also:
- Constant Field Values
-
DESCRIPTION
public 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
public 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
-
IDENTIFIER
public static final java.lang.String IDENTIFIER
Unique identifier of the resource.- See Also:
- Constant Field Values
-
LANGUAGE
public static final java.lang.String LANGUAGE
An unordered array specifying the languages used in the resource.- See Also:
- Constant Field Values
-
PUBLISHER
public static final java.lang.String PUBLISHER
Publishers.- See Also:
- Constant Field Values
-
RELATION
public static final java.lang.String RELATION
Relationships to other documents.- See Also:
- Constant Field Values
-
RIGHTS
public static final java.lang.String RIGHTS
Informal rights statement, selected by language.- See Also:
- Constant Field Values
-
SOURCE
public static final java.lang.String SOURCE
Unique identifier of the work from which this resource was derived.- See Also:
- Constant Field Values
-
SUBJECT
public 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
public 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
-
TYPE
public static final java.lang.String TYPE
A document type; for example, novel, poem, or working paper.- 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
public void addSubject(java.lang.String subject)
Adds a subject.- Parameters:
subject-
-
addSubject
public void addSubject(java.lang.String[] subject)
Adds a subject.- Parameters:
subject- array of subjects
-
addAuthor
public void addAuthor(java.lang.String author)
Adds a single author.- Parameters:
author-
-
addAuthor
public void addAuthor(java.lang.String[] author)
Adds an array of authors.- Parameters:
author-
-
addPublisher
public void addPublisher(java.lang.String publisher)
Adds a single publisher.- Parameters:
publisher-
-
addPublisher
public void addPublisher(java.lang.String[] publisher)
Adds an array of publishers.- Parameters:
publisher-
-
-