public class DefaultMarshaler extends AbstractDefaultXMLMarshaler implements RemotePublisherMarshaler
Constructor and Description |
---|
DefaultMarshaler() |
DefaultMarshaler(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
String |
marshallParameters(List<Object> params) |
String |
marshallResult(Object result) |
void |
setAssociatedCoreSession(CoreSession session) |
void |
setParameters(Map<String,String> params) |
List<Object> |
unMarshallParameters(String data) |
Object |
unMarshallResult(String data) |
public DefaultMarshaler()
public DefaultMarshaler(CoreSession session)
public String marshallParameters(List<Object> params) throws PublishingMarshalingException
marshallParameters
in interface RemotePublisherMarshaler
PublishingMarshalingException
public String marshallResult(Object result) throws PublishingMarshalingException
marshallResult
in interface RemotePublisherMarshaler
PublishingMarshalingException
public List<Object> unMarshallParameters(String data) throws PublishingMarshalingException
unMarshallParameters
in interface RemotePublisherMarshaler
PublishingMarshalingException
public Object unMarshallResult(String data) throws PublishingMarshalingException
unMarshallResult
in interface RemotePublisherMarshaler
PublishingMarshalingException
public void setAssociatedCoreSession(CoreSession session)
setAssociatedCoreSession
in interface RemotePublisherMarshaler
public void setParameters(Map<String,String> params)
setParameters
in interface RemotePublisherMarshaler
Copyright © 2015 Nuxeo SA. All rights reserved.