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 options
XMPException
- Thrown if parsing or normalisation fails.
Copyright © 1998–2018 iText Group NV. All rights reserved.