File:  [Repository] / kupuMPIWG / zope3 / field.py
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Aug 30 17:10:23 2005 UTC (19 years, 2 months ago) by dwinter
CVS tags: MAIN, HEAD
Initial revision

##############################################################################
#
# Copyright (c) 2003-2005 Kupu Contributors. All rights reserved.
#
# This software is distributed under the terms of the Kupu
# License. See LICENSE.txt for license text. For a list of Kupu
# Contributors see CREDITS.txt.
#
##############################################################################
"""HTMLBody field

$Id: field.py,v 1.1 2005/08/30 17:10:23 dwinter Exp $
"""

from zope.interface import implements
from zope.schema import Bytes
from zope.schema.fieldproperty import FieldProperty

from interfaces import IHTMLBody

class HTMLBody(Bytes):
    implements(IHTMLBody)

    html2xhtml1 = FieldProperty(IHTMLBody['html2xhtml1'])

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>