public class XMPMetaParser extends Object
ExpatAdapter.cpp and does the
XML-parsing and fixes the prefix. After the parsing several normalisations
are applied to the XMPTree.| Modifier and Type | Method and Description |
|---|---|
static XMPMeta |
parse(Object input,
ParseOptions options)
Parses the input source into an XMP metadata object, including
de-aliasing and normalisation.
|
public static XMPMeta parse(Object input, ParseOptions options) throws XMPException
input - the input can be an InputStream, a String or
a byte buffer containing the XMP packet.options - the parse optionsXMPException - Thrown if parsing or normalisation fails.Copyright © 2015–2021 The veraPDF Consortium. All rights reserved.