Package org.verapdf.xmp.impl
Class XMPSerializerRDF
- java.lang.Object
-
- org.verapdf.xmp.impl.XMPSerializerRDF
-
public class XMPSerializerRDF extends Object
Serializes theXMPMeta-object using the standard RDF serialization format. The output is written to anOutputStreamaccording to theSerializeOptions.- Since:
- 11.07.2006
-
-
Constructor Summary
Constructors Constructor Description XMPSerializerRDF()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckOptionsConsistence()Checks if the supplied options are consistent.voidserialize(XMPMeta xmp, OutputStream out, SerializeOptions options)The actual serialization.
-
-
-
Method Detail
-
serialize
public void serialize(XMPMeta xmp, OutputStream out, SerializeOptions options) throws XMPException
The actual serialization.- Parameters:
xmp- the metadata object to be serializedout- outputStream the output stream to serialize tooptions- the serialization options- Throws:
XMPException- If case of wrong options or any other serialization error.
-
checkOptionsConsistence
protected void checkOptionsConsistence() throws XMPExceptionChecks if the supplied options are consistent.- Throws:
XMPException- Thrown if options are conflicting
-
-