public class PDFAAdapter extends XMPSchemaAdapter
meta
Constructor and Description |
---|
PDFAAdapter(Metadata meta,
java.lang.String namespace)
Constructs a new adapter for PDF/A around the given metadata object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAmendment() |
java.lang.String |
getConformance() |
int |
getPart() |
void |
setAmendment(java.lang.String value)
Sets the PDF/A amendment identifier ("amd").
|
void |
setConformance(java.lang.String value)
Sets the PDF/A conformance level.
|
void |
setPart(int value)
Sets the PDF/A version identifier ("part").
|
addDateToSeq, addObjectToArray, addStringToBag, addStringToSeq, findQualifiedStructure, findQualifiedValue, formatISO8601Date, formatISO8601Date, getDateArray, getDateValue, getLangAlt, getObjectArray, getQName, getSchema, getStringArray, getValue, removeLangAlt, removeStringFromArray, setDateValue, setLangAlt, setValue
public PDFAAdapter(Metadata meta, java.lang.String namespace)
meta
- the underlying metadatanamespace
- the namespace to access the schema (must be one of the PDF/A schema
namespaces)public void setPart(int value)
value
- the version identifier ("1" for PDF/A-1)public int getPart()
public void setAmendment(java.lang.String value)
value
- the amendment identifiertpublic java.lang.String getAmendment()
public void setConformance(java.lang.String value)
value
- the conformance level ("A" or "B" for PDF/A-1)public java.lang.String getConformance()
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.