Package org.verapdf.xmp.impl
Class VeraPDFMeta
java.lang.Object
org.verapdf.xmp.impl.VeraPDFMeta
- Author:
- Maksim Bezrukov
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsDeclaration(String conformsTo) booleancontainsPropertiesFromNamespace(String nameSpaceURI) static VeraPDFMetacreate()voidbooleanbooleangetProperty(String namespaceURI, String name) getTitle()static VeraPDFMetaparse(InputStream in) static voidserialize(VeraPDFMeta veraPDFMeta, OutputStream out) setCreateDate(Calendar createDate) setCreator(List<String> creator) setCreatorTool(String creatorTool) setDescription(String description) setIdentificationRevisionYear(String namespaceURI, String identificationConformance) setKeywords(String keywords) setModifyDate(Calendar modifyDate) setPDFAIdentificationConformance(String identificationConformance) setPDFAIdentificationPart(Integer identificationPart) setPDFUAIdentificationPart(Integer identificationPart) setProducer(String producer)
-
Field Details
-
PDFAID_PREFIX
- See Also:
-
PDFUAID_PREFIX
- See Also:
-
PDFA_EXTENSION_PREFIX
- See Also:
-
SCHEMAS
- See Also:
-
CONFORMANCE
- See Also:
-
PART
- See Also:
-
REVISION_YEAR
- See Also:
-
CORR
- See Also:
-
AMD
- See Also:
-
DECLARATIONS
- See Also:
-
CONFORMS_TO
- See Also:
-
PDFA_DECLARATIONS
- See Also:
-
-
Method Details
-
getExtensionSchema
- Throws:
XMPException
-
createExtensionSchema
- Throws:
XMPException
-
create
-
parse
- Throws:
XMPException
-
serialize
- Throws:
XMPException
-
getProperties
-
getPacketHeader
-
getActualEncoding
-
getExtensionSchemasNode
-
getProperty
-
deletePDFAIdentificationSchema
public boolean deletePDFAIdentificationSchema() -
deletePDFUAIdentificationSchema
public boolean deletePDFUAIdentificationSchema() -
containsPropertiesFromNamespace
-
getTitle
- Throws:
XMPException
-
setTitle
- Throws:
XMPException
-
getCreator
- Throws:
XMPException
-
setCreator
- Throws:
XMPException
-
getDescription
- Throws:
XMPException
-
setDescription
- Throws:
XMPException
-
getKeywords
- Throws:
XMPException
-
setKeywords
- Throws:
XMPException
-
getCreatorTool
- Throws:
XMPException
-
setCreatorTool
- Throws:
XMPException
-
getProducer
- Throws:
XMPException
-
setProducer
- Throws:
XMPException
-
getCreateDate
- Throws:
XMPException
-
setCreateDate
- Throws:
XMPException
-
getModifyDate
- Throws:
XMPException
-
setModifyDate
- Throws:
XMPException
-
getPDFAIdentificationPart
- Throws:
XMPException
-
getPDFUAIdentificationPart
- Throws:
XMPException
-
getDeclarations
-
containsDeclaration
-
setPDFAIdentificationPart
- Throws:
XMPException
-
setPDFUAIdentificationPart
- Throws:
XMPException
-
getPDFAIdentificationConformance
- Throws:
XMPException
-
getPDFARevisionYear
- Throws:
XMPException
-
getPDFUARevisionYear
- Throws:
XMPException
-
setPDFAIdentificationConformance
public VeraPDFMeta setPDFAIdentificationConformance(String identificationConformance) throws XMPException - Throws:
XMPException
-
setIdentificationRevisionYear
public VeraPDFMeta setIdentificationRevisionYear(String namespaceURI, String identificationConformance) throws XMPException - Throws:
XMPException
-
getCloneOfInitialMeta
-