Package org.apache.jempbox.xmp
Class XMPSchemaPDF
java.lang.Object
org.apache.jempbox.xmp.XMPSchema
org.apache.jempbox.xmp.XMPSchemaPDF
Define XMP properties used with Adobe PDF documents.
- Version:
- $Revision: 1.2 $
- Author:
- Ben Litchfield
-
Field Summary
FieldsFields inherited from class org.apache.jempbox.xmp.XMPSchema
NS_NAMESPACE, prefix, schema
-
Constructor Summary
ConstructorsConstructorDescriptionXMPSchemaPDF
(XMPMetadata parent) Construct a new blank PDF schema.XMPSchemaPDF
(Element element, String prefix) Constructor from existing XML element. -
Method Summary
Modifier and TypeMethodDescriptionGet the PDF keywords.Get the PDF version.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.apache.jempbox.xmp.XMPSchema
addBagValue, addSequenceDateValue, addSequenceValue, addSequenceValue, getAbout, getBagList, getBooleanProperty, getDateProperty, getElement, getEventSequenceList, getIntegerProperty, getLanguageProperty, getLanguagePropertyLanguages, getSequenceDateList, getSequenceList, getTextProperty, getThumbnailProperty, merge, removeBagValue, removeSequenceDateValue, removeSequenceValue, removeSequenceValue, setAbout, setBooleanProperty, setDateProperty, setIntegerProperty, setLanguageProperty, setTextProperty, setThumbnailProperty
-
Field Details
-
NAMESPACE
The namespace for this schema.- See Also:
-
-
Constructor Details
-
XMPSchemaPDF
Construct a new blank PDF schema.- Parameters:
parent
- The parent metadata schema that this will be part of.
-
XMPSchemaPDF
Constructor from existing XML element.- Parameters:
element
- The existing element.prefix
- The schema prefix.
-
-
Method Details
-
setKeywords
PDF Keywords.- Parameters:
keywords
- The PDF keywords.
-
getKeywords
Get the PDF keywords.- Returns:
- The PDF keywords.
-
setPDFVersion
Set the PDF file version. 1.2,1.3,...- Parameters:
pdfVersion
- The version of the PDF file format.
-
getPDFVersion
Get the PDF version.- Returns:
- The value of the PDF version property.
-
setProducer
Set the PDF producer.- Parameters:
producer
- The tool that created the PDF.
-
getProducer
Get the value of the producer property.- Returns:
- The producer property.
-