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
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final Stringprivate static final Stringprivate static final StringFields inherited from class 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 TypeMethodDescriptionvoidsetKeywords(String value) Sets the keywords.voidsetPDFVersion(String value) Sets the PDF versionvoidsetProducer(String value) Sets the name of the tool that produced the PDF documentvoidsetTrapped(String v) Sets if the pdf has trapping information True or FalseMethods inherited from class XMPSchemaAdapter
addDateToSeq, addObjectToArray, addStringToBag, addStringToSeq, findQualifiedStructure, findQualifiedValue, formatISO8601Date, formatISO8601Date, getDateArray, getDateValue, getLangAlt, getObjectArray, getQName, getSchema, getStringArray, getValue, removeLangAlt, removeStringFromArray, setCompact, setDateValue, setLangAlt, setProperty, setValue
-
Field Details
-
KEYWORDS
- See Also:
-
PDFVERSION
- See Also:
-
PRODUCER
- See Also:
-
TRAPPED
- See Also:
-
-
Constructor Details
-
AdobePDFAdapter
-
-
Method Details
-
getKeywords
- Returns:
- the keywords
-
setKeywords
-
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
-