public class XMPSerializerRDF extends Object
XMPMeta
-object using the standard RDF serialization format.
The output is written to an OutputStream
according to the SerializeOptions
.Constructor | Description |
---|---|
XMPSerializerRDF() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
checkOptionsConsistence() |
Checks if the supplied options are consistent.
|
void |
serialize(XMPMeta xmp,
OutputStream out,
SerializeOptions options) |
The actual serialization.
|
public void serialize(XMPMeta xmp, OutputStream out, SerializeOptions options) throws XMPException
xmp
- the metadata object to be serializedout
- outputStream the output stream to serialize tooptions
- the serialization optionsXMPException
- If case of wrong options or any other serialization error.protected void checkOptionsConsistence() throws XMPException
XMPException
- Thrown if options are conflictingCopyright © 2018. All rights reserved.