Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.publisher.remoting.marshaling
Class CoreIODocumentModelMarshaler

java.lang.Object
  extended by org.nuxeo.ecm.platform.publisher.remoting.marshaling.CoreIODocumentModelMarshaler
All Implemented Interfaces:
DocumentModelMarshaler

public class CoreIODocumentModelMarshaler
extends Object
implements DocumentModelMarshaler

DocumentModel marshaler using Core IO services.

Author:
tiry

Constructor Summary
CoreIODocumentModelMarshaler()
           
 
Method Summary
 String marshalDocument(DocumentModel doc)
           
 void setOriginatingServer(String serverName)
           
 DocumentModel unMarshalDocument(String data, CoreSession coreSession)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoreIODocumentModelMarshaler

public CoreIODocumentModelMarshaler()
Method Detail

marshalDocument

public String marshalDocument(DocumentModel doc)
                       throws PublishingMarshalingException
Specified by:
marshalDocument in interface DocumentModelMarshaler
Throws:
PublishingMarshalingException

unMarshalDocument

public DocumentModel unMarshalDocument(String data,
                                       CoreSession coreSession)
                                throws PublishingMarshalingException
Specified by:
unMarshalDocument in interface DocumentModelMarshaler
Throws:
PublishingMarshalingException

setOriginatingServer

public void setOriginatingServer(String serverName)
Specified by:
setOriginatingServer in interface DocumentModelMarshaler

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.