org.apache.chemistry.opencmis.client.bindings.spi.atompub
Class AtomEntryWriter

java.lang.Object
  extended by org.apache.chemistry.opencmis.client.bindings.spi.atompub.AtomEntryWriter

public class AtomEntryWriter
extends Object

Writes a CMIS Atom entry to an output stream.


Constructor Summary
AtomEntryWriter(CmisObjectType object)
          Constructor.
AtomEntryWriter(CmisObjectType object, String mediaType, InputStream stream)
          Constructor.
 
Method Summary
 void write(OutputStream out)
          Writes the entry to an output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomEntryWriter

public AtomEntryWriter(CmisObjectType object)
Constructor.


AtomEntryWriter

public AtomEntryWriter(CmisObjectType object,
                       String mediaType,
                       InputStream stream)
Constructor.

Method Detail

write

public void write(OutputStream out)
           throws Exception
Writes the entry to an output stream.

Throws:
Exception


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.