Nuxeo Enterprise Platform 5.4

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
 java.lang.String marshalDocumentLocation(DocumentLocation docLoc)
           
 void setOriginatingServer(java.lang.String serverName)
           
 DocumentLocation unMarshalDocumentLocation(java.lang.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 java.lang.String marshalDocumentLocation(DocumentLocation docLoc)
                                         throws PublishingMarshalingException
Specified by:
marshalDocumentLocation in interface DocumentLocationMarshaler
Throws:
PublishingMarshalingException

unMarshalDocumentLocation

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

setOriginatingServer

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.