560
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
1 #!/usr/bin/env python
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
2
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
3 # -*- coding: utf-8 -*-
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
4
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
5 # ####################################################################
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
6 # Copyright (C) 2005-2010 by the FIFE team
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
7 # http://www.fifengine.net
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
8 # This file is part of FIFE.
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
9 #
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
10 # FIFE is free software; you can redistribute it and/or
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
11 # modify it under the terms of the GNU Lesser General Public
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
12 # License as published by the Free Software Foundation; either
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
13 # version 2.1 of the License, or (at your option) any later version.
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
14 #
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
15 # This library is distributed in the hope that it will be useful,
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
18 # Lesser General Public License for more details.
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
19 #
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
20 # You should have received a copy of the GNU Lesser General Public
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
21 # License along with this library; if not, write to the
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
22 # Free Software Foundation, Inc.,
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
23 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
24 # ####################################################################
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
25
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
26 class Serializer(object):
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
27 def __init__(self):
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
28 return
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
29
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
30 def serialize(self):
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
31 pass
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
32
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
33 def deserialize(self, valuedict=None):
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
34 pass
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
35
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
36
|
prock@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
37
|