iText 7 7.1.8 API
iText.Kernel.XMP.Impl.XMPMetaParser Class Reference

This class replaces the More...

Static Public Member Functions

static XMPMeta  Parse (Object input, ParseOptions options)
  Parses the input source into an XMP metadata object, including de-aliasing and normalisation. More...
 

Detailed Description

This class replaces the

ExpatAdapter.cpp and does the XML-parsing and fixes the prefix.

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.

01.02.2006

Member Function Documentation

◆ Parse()

static XMPMeta iText.Kernel.XMP.Impl.XMPMetaParser.Parse ( Object  input,
ParseOptions  options 
)
inlinestatic

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

Parameters
input the input can be an
InputStream
, a
String
or a byte buffer containing the XMP packet.
options the parse options
Returns
Returns the resulting XMP metadata object
Exceptions
iText.Kernel.XMP.XMPException Thrown if parsing or normalisation fails.