com.itextpdf.text.xml.xmp
Class DublinCoreSchema

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<Object,Object>
          extended by java.util.Properties
              extended by com.itextpdf.text.xml.xmp.XmpSchema
                  extended by com.itextpdf.text.xml.xmp.DublinCoreSchema
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public class DublinCoreSchema
extends XmpSchema

An implementation of an XmpSchema.

See Also:
Serialized Form

Field Summary
static String CONTRIBUTOR
          External Contributors to the resource (other than the authors).
static String COVERAGE
          The extent or scope of the resource.
static String CREATOR
          The authors of the resource (listed in order of precedence, if significant).
static String DATE
          Date(s) that something interesting happened to the resource.
static String DEFAULT_XPATH_ID
          default namespace identifier
static String DEFAULT_XPATH_URI
          default namespace uri
static String DESCRIPTION
          A textual description of the content of the resource.
static String FORMAT
          The file format used when saving the resource.
static String IDENTIFIER
          Unique identifier of the resource.
static String LANGUAGE
          An unordered array specifying the languages used in the resource.
static String PUBLISHER
          Publishers.
static String RELATION
          Relationships to other documents.
static String RIGHTS
          Informal rights statement, selected by language.
static String SOURCE
          Unique identifier of the work from which this resource was derived.
static String SUBJECT
          An unordered array of descriptive phrases or keywords that specify the topic of the content of the resource.
static String TITLE
          The title of the document, or the name given to the resource.
static String TYPE
          A document type; for example, novel, poem, or working paper.
 
Fields inherited from class com.itextpdf.text.xml.xmp.XmpSchema
xmlns
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
DublinCoreSchema()
           
 
Method Summary
 void addAuthor(String author)
          Adds a single author.
 void addAuthor(String[] author)
          Adds an array of authors.
 void addDescription(LangAlt desc)
          Adds a description.
 void addDescription(String desc)
          Adds a description.
 void addPublisher(String publisher)
          Adds a single publisher.
 void addPublisher(String[] publisher)
          Adds an array of publishers.
 void addSubject(String subject)
          Adds a subject.
 void addSubject(String[] subject)
          Adds a subject.
 void addTitle(LangAlt title)
          Adds a title.
 void addTitle(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
getProperty, getProperty, list, list, load, loadFromXML, propertyNames, save, store, storeToXML, storeToXML
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_XPATH_ID

public static final String DEFAULT_XPATH_ID
default namespace identifier

See Also:
Constant Field Values

DEFAULT_XPATH_URI

public static final String DEFAULT_XPATH_URI
default namespace uri

See Also:
Constant Field Values

CONTRIBUTOR

public static final String CONTRIBUTOR
External Contributors to the resource (other than the authors).

See Also:
Constant Field Values

COVERAGE

public static final String COVERAGE
The extent or scope of the resource.

See Also:
Constant Field Values

CREATOR

public static final String CREATOR
The authors of the resource (listed in order of precedence, if significant).

See Also:
Constant Field Values

DATE

public static final String DATE
Date(s) that something interesting happened to the resource.

See Also:
Constant Field Values

DESCRIPTION

public static final 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 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 String IDENTIFIER
Unique identifier of the resource.

See Also:
Constant Field Values

LANGUAGE

public static final String LANGUAGE
An unordered array specifying the languages used in the resource.

See Also:
Constant Field Values

PUBLISHER

public static final String PUBLISHER
Publishers.

See Also:
Constant Field Values

RELATION

public static final String RELATION
Relationships to other documents.

See Also:
Constant Field Values

RIGHTS

public static final String RIGHTS
Informal rights statement, selected by language.

See Also:
Constant Field Values

SOURCE

public static final String SOURCE
Unique identifier of the work from which this resource was derived.

See Also:
Constant Field Values

SUBJECT

public static final 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 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 String TYPE
A document type; for example, novel, poem, or working paper.

See Also:
Constant Field Values
Constructor Detail

DublinCoreSchema

public DublinCoreSchema()
Method Detail

addTitle

public void addTitle(String title)
Adds a title.

Parameters:
title -

addTitle

public void addTitle(LangAlt title)
Adds a title.

Parameters:
title -

addDescription

public void addDescription(String desc)
Adds a description.

Parameters:
desc -

addDescription

public void addDescription(LangAlt desc)
Adds a description.

Parameters:
desc -

addSubject

public void addSubject(String subject)
Adds a subject.

Parameters:
subject -

addSubject

public void addSubject(String[] subject)
Adds a subject.

Parameters:
subject - array of subjects

addAuthor

public void addAuthor(String author)
Adds a single author.

Parameters:
author -

addAuthor

public void addAuthor(String[] author)
Adds an array of authors.

Parameters:
author -

addPublisher

public void addPublisher(String publisher)
Adds a single publisher.

Parameters:
publisher -

addPublisher

public void addPublisher(String[] publisher)
Adds an array of publishers.

Parameters:
publisher -


Copyright © 2013. All Rights Reserved.