public interface XMPParser
Modifier and Type | Method and Description |
---|---|
XMPMetadata |
parse(byte[] input,
Map<String,Object> parseContext)
Parse XMP in RDF/XML form from a byte buffer.
|
XMPMetadata |
parse(InputStream input,
Map<String,Object> parseContext)
Parse XMP in RDF/XML form from an InputStream.
|
XMPMetadata |
parse(String input,
Map<String,Object> parseContext)
Parse XMP in RDF/XML form from a String
The parser will simply ignore sub-trees that contain invalid XMP data.
|
XMPMetadata parse(InputStream input, Map<String,Object> parseContext) throws XMPException
input
- the stream contains an XMP packet serialized as RDF/XMLparseContext
- a map to provide options for the parser,
or return additional information other than the XMP data model;
can be null if not neededXMPException
- If the data is invalid XML, invalid XMP or contains invalid dataXMPMetadata parse(String input, Map<String,Object> parseContext) throws XMPException
input
- String that contains an XMP packet serialized as RDF/XMLparseContext
- a map to provide options for the parser,
or return additional information other than the XMP data model;
can be null if not neededXMPException
XMPMetadata parse(byte[] input, Map<String,Object> parseContext) throws XMPException
input
- buffer that contains an XMP packet serialized as RDF/XMLparseContext
- a map to provide options for the parser,
or return additional information other than the XMP data model;
can be null if not neededXMPException
Copyright © 2010 - 2020 Adobe. All Rights Reserved