public interface XMPParser
Modifier and Type | Method and Description |
---|---|
XMPMetadata |
parse(byte[] input,
java.util.Map<java.lang.String,java.lang.Object> parseContext)
Parse XMP in RDF/XML form from a byte buffer.
|
XMPMetadata |
parse(java.io.InputStream input,
java.util.Map<java.lang.String,java.lang.Object> parseContext)
Parse XMP in RDF/XML form from an InputStream.
|
XMPMetadata |
parse(java.lang.String input,
java.util.Map<java.lang.String,java.lang.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(java.io.InputStream input, java.util.Map<java.lang.String,java.lang.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(java.lang.String input, java.util.Map<java.lang.String,java.lang.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, java.util.Map<java.lang.String,java.lang.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