Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

java.lang.Object
  extended by org.nuxeo.ecm.platform.publisher.remoting.marshaling.AbstractDefaultXMLMarshaler
      extended by org.nuxeo.ecm.platform.publisher.remoting.marshaling.DefaultDocumentLocationMarshaler
All Implemented Interfaces:
DocumentLocationMarshaler

public class DefaultDocumentLocationMarshaler
extends AbstractDefaultXMLMarshaler
implements DocumentLocationMarshaler

DocumentLocation marshaler using simple XML representation.

Author:
tiry

Constructor Summary
DefaultDocumentLocationMarshaler()
           
 
Method Summary
 String marshalDocumentLocation(DocumentLocation docLoc)
           
 void setOriginatingServer(String serverName)
           
 DocumentLocation unMarshalDocumentLocation(String data)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDocumentLocationMarshaler

public DefaultDocumentLocationMarshaler()
Method Detail

marshalDocumentLocation

public String marshalDocumentLocation(DocumentLocation docLoc)
                               throws PublishingMarshalingException
Specified by:
marshalDocumentLocation in interface DocumentLocationMarshaler
Throws:
PublishingMarshalingException

unMarshalDocumentLocation

public DocumentLocation unMarshalDocumentLocation(String data)
                                           throws PublishingMarshalingException
Specified by:
unMarshalDocumentLocation in interface DocumentLocationMarshaler
Throws:
PublishingMarshalingException

setOriginatingServer

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.