com.adobe.xmp.impl
Class XMPSerializerRDF

java.lang.Object
  extended by com.adobe.xmp.impl.XMPSerializerRDF

public class XMPSerializerRDF
extends java.lang.Object

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
XMPSerializerRDF()
           
 
Method Summary
protected  void checkOptionsConsistence()
          Checks if the supplied options are consistent.
 void serialize(XMPMeta xmp, java.io.OutputStream out, SerializeOptions options)
          The actual serialisation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMPSerializerRDF

public XMPSerializerRDF()
Method Detail

serialize

public void serialize(XMPMeta xmp,
                      java.io.OutputStream out,
                      SerializeOptions options)
               throws XMPException
The actual serialisation.

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 serialisaton error.

checkOptionsConsistence

protected void checkOptionsConsistence()
                                throws XMPException
Checks if the supplied options are consistent.

Throws:
XMPException - Thrown if options are conflicting


Copyright © 2006-${year} Adobe Systems Incorporated.. All Rights Reserved.