org.nuxeo.ecm.platform.publisher.remoting.marshaling
Class DefaultPublishedDocumentMarshaler
java.lang.Object
org.nuxeo.ecm.platform.publisher.remoting.marshaling.AbstractDefaultXMLMarshaler
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
DefaultPublishedDocumentMarshaler
public DefaultPublishedDocumentMarshaler()
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
Copyright © 2010 Nuxeo SAS. All Rights Reserved.