Constructor and Description |
---|
RDFXMLParser() |
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.
|
public XMPMetadata parse(java.io.InputStream input, java.util.Map<java.lang.String,java.lang.Object> parseContext) throws XMPException
XMPParser
parse
in interface XMPParser
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 dataXMPParser.parse(InputStream, Map)
public XMPMetadata parse(java.lang.String input, java.util.Map<java.lang.String,java.lang.Object> parseContext) throws XMPException
XMPParser
parse
in interface XMPParser
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
XMPParser.parse(String, Map)
public XMPMetadata parse(byte[] input, java.util.Map<java.lang.String,java.lang.Object> parseContext) throws XMPException
XMPParser
parse
in interface XMPParser
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
XMPParser.parse(byte[], Map)
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"