Package org.verapdf.xmp.impl
Class XMPMetaParser
java.lang.Object
org.verapdf.xmp.impl.XMPMetaParser
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.- Since:
- 01.02.2006
-
Method Summary
Modifier and TypeMethodDescriptionstatic XMPMetaparse(Object input, ParseOptions options) Parses the input source into an XMP metadata object, including de-aliasing and normalisation.
-
Method Details
-
parse
Parses the input source into an XMP metadata object, including de-aliasing and normalisation.- Parameters:
input- the input can be anInputStream, aStringor a byte buffer containing the XMP packet.options- the parse options- Returns:
- Returns the resulting XMP metadata object
- Throws:
XMPException- Thrown if parsing or normalisation fails.
-