blob: f73e4de9261f30bf2e31565bb723ee062e8ed9d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/*
* Copyright (c) 2010, Isode Limited, London, England.
* All rights reserved.
*/
/*
* Copyright (c) 2010, Remko Tronçon.
* All rights reserved.
*/
package com.isode.stroke.serializer;
import com.isode.stroke.elements.Payload;
/**
* Serialise a particular payload.
*/
public abstract class PayloadSerializer {
public abstract boolean canSerialize(Payload payload);
public abstract String serialize(Payload payload);
}
|