public interface Metadata
MetadataFixerImpl| Modifier and Type | Method and Description |
|---|---|
void |
addPDFIdentificationSchema(MetadataFixerResultImpl.Builder resultBuilder,
PDFAFlavour flavour)
Add PDF/A identification schema if
MetadataFixerImpl
be able to repair document to valid PDF/A document. |
void |
checkMetadataStream(MetadataFixerResultImpl.Builder resultBuilder,
PDFAFlavour flavour)
Add required fields to stream dictionary and add FlateDecode Filter for part 2 and 3 flavours or remove filters for part 1 flavour
|
AdobePDF |
getAdobePDFSchema(InfoDictionary info)
Get
AdobePDF representation. |
DublinCore |
getDublinCoreSchema(InfoDictionary info)
Get
DublinCore representation. |
XMPBasic |
getXMPBasicSchema(InfoDictionary info)
Get
XMPBasic representation. |
boolean |
isNeedToBeUpdated() |
void |
removePDFIdentificationSchema(MetadataFixerResultImpl.Builder resultBuilder,
PDFAFlavour flavour)
Remove identification schema if
MetadataFixerImpl
can not repair document to valid PDF/A Document. |
void |
setNeedToBeUpdated(boolean needToBeUpdated) |
void |
updateMetadataStream()
Update metadata stream from applied changes.
|
void checkMetadataStream(MetadataFixerResultImpl.Builder resultBuilder, PDFAFlavour flavour)
resultBuilder - report applied changesvoid removePDFIdentificationSchema(MetadataFixerResultImpl.Builder resultBuilder, PDFAFlavour flavour)
MetadataFixerImpl
can not repair document to valid PDF/A Document.resultBuilder - report applied changesvoid addPDFIdentificationSchema(MetadataFixerResultImpl.Builder resultBuilder, PDFAFlavour flavour)
MetadataFixerImpl
be able to repair document to valid PDF/A document.resultBuilder - report applied changesflavour - the checked flavourDublinCore getDublinCoreSchema(InfoDictionary info)
DublinCore representation. If current schema not presented
in metadata but Information dictionary consist corresponding values
than must return empty dublin core schema.info - information dictionary representation of current documentDublinCore schema or nullAdobePDF getAdobePDFSchema(InfoDictionary info)
AdobePDF representation. If current schema not presented
in metadata but Information dictionary consist corresponding values
than must return empty dublin core schema.info - information dictionary representation of current documentAdobePDF schema or nullXMPBasic getXMPBasicSchema(InfoDictionary info)
XMPBasic representation. If current schema not presented
in metadata but Information dictionary consist corresponding values
than must return empty dublin core schema.info - information dictionary representation of current documentXMPBasic schema or nullboolean isNeedToBeUpdated()
void setNeedToBeUpdated(boolean needToBeUpdated)
needToBeUpdated - Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.