Commit 1832423f authored by Nicolas Delaby's avatar Nicolas Delaby

remove private method from interface


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35206 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c7ad6a90
......@@ -187,7 +187,7 @@ class IDocument(Interface):
def convert(format, **kw):
"""Call a wrapped function with CachingMethod and
return always converted result.
return always converted result: ie. tuple(content_type, data)
format - the format specied in the form of an extension
string (ex. jpeg, html, text, txt, etc.)
......@@ -217,22 +217,6 @@ class IDocument(Interface):
Use accessors (getBaseData, setBaseData, hasBaseData, etc.)
"""
def _convertToBaseFormat():
"""Placeholder method. Must be subclassed by classes
which need a base format. Refer to OOoDocument
for an example of ODF base format which is used
as a way to convert about any file format into
about any file format.
Other possible applications: conversion of HTML
text to tiddy HTML such as described here:
http://www.xml.com/pub/a/2004/09/08/pyxml.html
so that resulting text can be processed more
easily by XSLT parsers. Conversion of internal
links to images of an HTML document to local
links (in combindation with populate).
"""
def hasConversion(**kw):
"""Return a boolean if conversion is cached
"""
......@@ -252,10 +236,6 @@ class IDocument(Interface):
"""Returns the size of the converted document.
"""
def _getCacheFactory():
"""Return list of cache plugins
"""
def isSupportBaseDataConversion():
"""This is a public interface to check a document that is support conversion
to base format and can be overridden in subclasses.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment