Back to index

plone3  3.1.7
Public Member Functions
plone.memoize.interfaces.IXHTMLCompressor Class Reference
Inheritance diagram for plone.memoize.interfaces.IXHTMLCompressor:
Inheritance graph
[legend]
Collaboration diagram for plone.memoize.interfaces.IXHTMLCompressor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def compress

Detailed Description

Definition at line 12 of file interfaces.py.


Member Function Documentation

Expects a valid XHTML Unicode string as input and returns a valid
XHTML Unicode string.

Examples of compression are removal of whitespace without a semantical
meaning, lowercasing of tags and attribute names (which gzip
compression can take advantage of) or removal of comments.

Definition at line 14 of file interfaces.py.

00014 
00015     def compress(string):
00016         """Expects a valid XHTML Unicode string as input and returns a valid
00017         XHTML Unicode string.
00018         
00019         Examples of compression are removal of whitespace without a semantical
00020         meaning, lowercasing of tags and attribute names (which gzip
00021         compression can take advantage of) or removal of comments.
00022         """

The documentation for this class was generated from the following file: