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 and Description |
---|
XMPSerializerRDF() |
Modifier and Type | Method and 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 serialized
out
- outputStream the output stream to serialize to
options
- the serialization options
XMPException
- If case of wrong options or any other serialization error.
protected void checkOptionsConsistence() throws XMPException
XMPException
- Thrown if options are conflicting
Copyright © 1998–2023 iText Group NV. All rights reserved.