org.jempbox.xmp

Class XMPSchemaPDF


public class XMPSchemaPDF
extends XMPSchema

Define XMP properties used with Adobe PDF documents.
Version:
$Revision: 1.1 $
Author:
Ben Litchfield (ben@benlitchfield.com)

Field Summary

static String
NAMESPACE
The namespace for this schema.

Fields inherited from class org.jempbox.xmp.XMPSchema

schema

Constructor Summary

XMPSchemaPDF(Element element)
Constructor from existing XML element.
XMPSchemaPDF(XMPMetadata parent)
Construct a new blank PDF schema.

Method Summary

String
getKeywords()
Get the PDF keywords.
String
getPDFVersion()
Get the PDF version.
String
getProducer()
Get the value of the producer property.
void
setKeywords(String keywords)
PDF Keywords.
void
setPDFVersion(String pdfVersion)
Set the PDF file version.
void
setProducer(String producer)
Set the PDF producer.

Methods inherited from class org.jempbox.xmp.XMPSchema

addBagValue, addSequenceDateValue, addSequenceValue, addSequenceValue, getAbout, getBagList, getBooleanProperty, getDateProperty, getElement, getEventSequenceList, getIntegerProperty, getLanguageProperty, getLanguagePropertyLanguages, getSequenceDateList, getSequenceList, getTextProperty, getThumbnailProperty, removeBagValue, removeSequenceDateValue, removeSequenceValue, removeSequenceValue, setAbout, setBooleanProperty, setDateProperty, setIntegerProperty, setLanguageProperty, setTextProperty, setThumbnailProperty

Field Details

NAMESPACE

public static final String NAMESPACE
The namespace for this schema.

Constructor Details

XMPSchemaPDF

public XMPSchemaPDF(Element element)
Constructor from existing XML element.
Parameters:
element - The existing element.

XMPSchemaPDF

public XMPSchemaPDF(XMPMetadata parent)
Construct a new blank PDF schema.
Parameters:
parent - The parent metadata schema that this will be part of.

Method Details

getKeywords

public String getKeywords()
Get the PDF keywords.
Returns:
The PDF keywords.

getPDFVersion

public String getPDFVersion()
Get the PDF version.
Returns:
The value of the PDF version property.

getProducer

public String getProducer()
Get the value of the producer property.
Returns:
The producer property.

setKeywords

public void setKeywords(String keywords)
PDF Keywords.
Parameters:
keywords - The PDF keywords.

setPDFVersion

public void setPDFVersion(String pdfVersion)
Set the PDF file version. 1.2,1.3,...
Parameters:
pdfVersion - The version of the PDF file format.

setProducer

public void setProducer(String producer)
Set the PDF producer.
Parameters:
producer - The tool that created the PDF.