org.apache.jempbox.xmp

Class XMPSchemaPDF

public class XMPSchemaPDF extends XMPSchema

Define XMP properties used with Adobe PDF documents.

Version: $Revision: 1.2 $

Author: Ben Litchfield

Field Summary
static StringNAMESPACE
The namespace for this schema.
Constructor Summary
XMPSchemaPDF(XMPMetadata parent)
Construct a new blank PDF schema.
XMPSchemaPDF(Element element, String prefix)
Constructor from existing XML element.
Method Summary
StringgetKeywords()
Get the PDF keywords.
StringgetPDFVersion()
Get the PDF version.
StringgetProducer()
Get the value of the producer property.
voidsetKeywords(String keywords)
PDF Keywords.
voidsetPDFVersion(String pdfVersion)
Set the PDF file version.
voidsetProducer(String producer)
Set the PDF producer.

Field Detail

NAMESPACE

public static final String NAMESPACE
The namespace for this schema.

Constructor Detail

XMPSchemaPDF

public XMPSchemaPDF(XMPMetadata parent)
Construct a new blank PDF schema.

Parameters: parent The parent metadata schema that this will be part of.

XMPSchemaPDF

public XMPSchemaPDF(Element element, String prefix)
Constructor from existing XML element.

Parameters: element The existing element. prefix The schema prefix.

Method Detail

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.

Copyright © 2008-2010 Apache Software Foundation. All Rights Reserved.