Table of Contents

Class XMPMetaParser

Namespace
iText.Kernel.XMP.Impl
Assembly
itext.kernel.dll

This class replaces the

ExpatAdapter.cpp
and does the XML-parsing and fixes the prefix.
public class XMPMetaParser
Inheritance
XMPMetaParser
Inherited Members

Remarks

This class replaces the

ExpatAdapter.cpp
and does the XML-parsing and fixes the prefix. After the parsing several normalisations are applied to the XMPTree.

Methods

Parse(object, ParseOptions)

Parses the input source into an XMP metadata object, including de-aliasing and normalisation.

public static XMPMeta Parse(object input, ParseOptions options)

Parameters

input object

the input can be an

InputStream
, a
String
or a byte buffer containing the XMP packet.
options ParseOptions

the parse options

Returns

XMPMeta

Returns the resulting XMP metadata object