Class AdobePDFAdapter
- java.lang.Object
-
- org.apache.xmlgraphics.xmp.XMPSchemaAdapter
-
- org.apache.xmlgraphics.xmp.schemas.pdf.AdobePDFAdapter
-
public class AdobePDFAdapter extends XMPSchemaAdapter
Schema adapter implementation for the Adobe PDF schema.
-
-
Field Summary
-
Fields inherited from class org.apache.xmlgraphics.xmp.XMPSchemaAdapter
meta
-
-
Constructor Summary
Constructors Constructor Description AdobePDFAdapter(Metadata meta, String namespace)Constructs a new adapter for Adobe PDF around the given metadata object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetKeywords()StringgetPDFVersion()StringgetProducer()voidsetKeywords(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 False-
Methods 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, setValue
-
-
-
-
Method Detail
-
getKeywords
public String getKeywords()
- Returns:
- the keywords
-
setKeywords
public void setKeywords(String value)
Sets the keywords.- Parameters:
value- the keywords
-
getPDFVersion
public String getPDFVersion()
- Returns:
- the PDF version
-
setPDFVersion
public void setPDFVersion(String value)
Sets the PDF version- Parameters:
value- the PDF version (ex. "1.4")
-
getProducer
public String getProducer()
- Returns:
- the name of the tool that produced the PDF document
-
setProducer
public void setProducer(String value)
Sets the name of the tool that produced the PDF document- Parameters:
value- the producer
-
setTrapped
public void setTrapped(String v)
Sets if the pdf has trapping information True or False- Parameters:
v- the value
-
-