serializer.py
Go to the documentation of this file.00001 from silme.core.entity import EntityList, Entity
00002 from structure import *
00003 from parser import HTMLParser as Parser
00004
00005 class HTMLSerializer():
00006 @classmethod
00007 def serialize(cls, l10nobject, fallback=None):
00008 raise NotImplementedError()
00009
00010 @classmethod
00011 def dump_element (cls, element, fallback=None):
00012 raise NotImplementedError()
00013
00014 @classmethod
00015 def dump_entity (cls, entity, fallback=None):
00016 raise NotImplementedError()
00017
00018 @classmethod
00019 def dump_entitylist(cls, elist, fallback=None):
00020 raise NotImplementedError()
00021
00022 @classmethod
00023 def dump_comment (cls, comment):
00024 raise NotImplementedError()