Nuxeo Enterprise Platform 5.3

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

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

public class DefaultPublishedDocumentMarshaler
extends AbstractDefaultXMLMarshaler
implements PublishedDocumentMarshaler

PublishedDocument marshaler using simple XML representation.

Author:
tiry

Field Summary
protected static org.dom4j.QName isPendingTag
           
protected static org.dom4j.QName parentPathTag
           
protected static org.dom4j.QName pathTag
           
protected static org.dom4j.QName repositoryNameTag
           
protected static org.dom4j.QName rootTag
           
protected static org.dom4j.QName serverNameTag
           
protected static org.dom4j.QName sourceRefTag
           
protected static org.dom4j.QName versionLabelTag
           
 
Fields inherited from class org.nuxeo.ecm.platform.publisher.remoting.marshaling.AbstractDefaultXMLMarshaler
publisherSerializerNS, publisherSerializerNSPrefix
 
Constructor Summary
DefaultPublishedDocumentMarshaler()
           
 
Method Summary
 String marshalPublishedDocument(PublishedDocument pubDoc)
           
 PublishedDocument unMarshalPublishedDocument(String data)
           
 
Methods inherited from class org.nuxeo.ecm.platform.publisher.remoting.marshaling.AbstractDefaultXMLMarshaler
cleanUpXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rootTag

protected static org.dom4j.QName rootTag

sourceRefTag

protected static org.dom4j.QName sourceRefTag

repositoryNameTag

protected static org.dom4j.QName repositoryNameTag

serverNameTag

protected static org.dom4j.QName serverNameTag

versionLabelTag

protected static org.dom4j.QName versionLabelTag

pathTag

protected static org.dom4j.QName pathTag

parentPathTag

protected static org.dom4j.QName parentPathTag

isPendingTag

protected static org.dom4j.QName isPendingTag
Constructor Detail

DefaultPublishedDocumentMarshaler

public DefaultPublishedDocumentMarshaler()
Method Detail

marshalPublishedDocument

public String marshalPublishedDocument(PublishedDocument pubDoc)
Specified by:
marshalPublishedDocument in interface PublishedDocumentMarshaler

unMarshalPublishedDocument

public PublishedDocument unMarshalPublishedDocument(String data)
                                             throws PublishingMarshalingException
Specified by:
unMarshalPublishedDocument in interface PublishedDocumentMarshaler
Throws:
PublishingMarshalingException

Nuxeo Enterprise Platform 5.3

Copyright © 2010 Nuxeo SAS. All Rights Reserved.