Class AdobePDFAdapter
java.lang.Object
org.apache.xmlgraphics.xmp.XMPSchemaAdapter
org.apache.xmlgraphics.xmp.schemas.pdf.AdobePDFAdapter
Schema adapter implementation for the Adobe PDF schema.
-
Field Summary
Fields inherited from class org.apache.xmlgraphics.xmp.XMPSchemaAdapter
meta
-
Constructor Summary
ConstructorsConstructorDescriptionAdobePDFAdapter
(Metadata meta, String namespace) Constructs a new adapter for Adobe PDF around the given metadata object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setKeywords
(String value) Sets the keywords.void
setPDFVersion
(String value) Sets the PDF versionvoid
setProducer
(String value) Sets the name of the tool that produced the PDF documentvoid
setTrapped
(String v) Sets if the pdf has trapping information True or FalseMethods inherited from class org.apache.xmlgraphics.xmp.XMPSchemaAdapter
addDateToSeq, addObjectToArray, addStringToBag, addStringToSeq, findQualifiedStructure, findQualifiedValue, formatISO8601Date, formatISO8601Date, getDateArray, getDateValue, getLangAlt, getObjectArray, getQName, getSchema, getStringArray, getValue, removeLangAlt, removeStringFromArray, setCompact, setDateValue, setLangAlt, setProperty, setValue
-
Constructor Details
-
AdobePDFAdapter
Constructs a new adapter for Adobe PDF around the given metadata object.- Parameters:
meta
- the underlying metadata
-
-
Method Details
-
getKeywords
- Returns:
- the keywords
-
setKeywords
Sets the keywords.- Parameters:
value
- the keywords
-
getPDFVersion
- Returns:
- the PDF version
-
setPDFVersion
Sets the PDF version- Parameters:
value
- the PDF version (ex. "1.4")
-
getProducer
- Returns:
- the name of the tool that produced the PDF document
-
setProducer
Sets the name of the tool that produced the PDF document- Parameters:
value
- the producer
-
setTrapped
Sets if the pdf has trapping information True or False- Parameters:
v
- the value
-