Package com.itextpdf.kernel.xmp.impl
Class XMPSerializerRDF
java.lang.Object
com.itextpdf.kernel.xmp.impl.XMPSerializerRDF
Serializes the
XMPMeta
-object using the standard RDF serialization format. The output is written to an OutputStream
according to the SerializeOptions
.
- Since:
- 11.07.2006
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Checks if the supplied options are consistent.void
serialize
(XMPMeta xmp, OutputStream out, SerializeOptions options) The actual serialization.
-
Constructor Details
-
XMPSerializerRDF
public XMPSerializerRDF()
-
-
Method Details
-
serialize
The actual serialization.- Parameters:
-
xmp
- the metadata object to be serialized -
out
- outputStream the output stream to serialize to -
options
- the serialization options - Throws:
-
XMPException
- If case of wrong options or any other serialization error.
-
checkOptionsConsistence
Checks if the supplied options are consistent.- Throws:
-
XMPException
- Thrown if options are conflicting
-