public class MetadataImpl extends Object
| Constructor and Description |
|---|
MetadataImpl(VeraPDFMeta metadata,
COSStream stream) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPDFIdentificationSchema(MetadataFixerResultImpl.Builder resultBuilder,
PDFAFlavour flavour) |
void |
checkMetadataStream(MetadataFixerResultImpl.Builder resultBuilder,
PDFAFlavour flavour) |
AdobePDF |
getAdobePDFSchema(InfoDictionary info) |
DublinCore |
getDublinCoreSchema(InfoDictionary info) |
XMPBasic |
getXMPBasicSchema(InfoDictionary info) |
boolean |
isNeedToBeUpdated() |
void |
removePDFIdentificationSchema(MetadataFixerResultImpl.Builder resultBuilder,
PDFAFlavour flavour) |
void |
setNeedToBeUpdated(boolean needToBeUpdated) |
void |
updateMetadataStream() |
public MetadataImpl(VeraPDFMeta metadata,
COSStream stream)
metadata - stream - public void checkMetadataStream(MetadataFixerResultImpl.Builder resultBuilder,
PDFAFlavour flavour)
public void removePDFIdentificationSchema(MetadataFixerResultImpl.Builder resultBuilder,
PDFAFlavour flavour)
public void addPDFIdentificationSchema(MetadataFixerResultImpl.Builder resultBuilder,
PDFAFlavour flavour)
public DublinCore getDublinCoreSchema(InfoDictionary info)
public AdobePDF getAdobePDFSchema(InfoDictionary info)
public XMPBasic getXMPBasicSchema(InfoDictionary info)
public boolean isNeedToBeUpdated()
public void setNeedToBeUpdated(boolean needToBeUpdated)
public void updateMetadataStream()
throws IOException,
TransformerException,
XMPException
IOExceptionTransformerExceptionXMPExceptionCopyright © 2015–2016 The veraPDF Consortium. All rights reserved.