Home | Trees | Index | Help |
---|
Package svnmailer :: Package browser :: Module _base :: Class BaseGenerator |
|
object
--+
|
BaseGenerator
Generator
,
Generator
,
Generator
,
Generator
,
Generator
,
Generator
Abstract base URL generator
Actual generators need to implement the _createTemplate
method.
Method Summary | |
---|---|
Initialization | |
ParsedUrl |
Returns a ParsedUrl instance |
Returns a Template instance | |
dict |
URL-escapes the values of the supplied dict |
str |
Returns the content diff URL for a particular change |
str |
Returns the revision summary URL |
bool |
Returns whether there are any templates stored |
Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
helper for pickle... | |
helper for pickle... | |
x.__repr__() <==> repr(x)... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... | |
Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... |
Instance Variable Summary | |
---|---|
dict | _subst : The substitution record |
Class Variable Summary | |
---|---|
str | _QUERY_ENCODING : The character encoding to use for url parameters |
Format Names | |
unicode | _N_BASE_PATH : The format name of the previous path of the
changed file |
unicode | _N_BASE_REVISION : The base revision format name |
unicode | _N_PATH : The format name of the changed path |
unicode | _N_REVISION : The revision format name |
Format Strings | |
unicode | _BASE_PATH : The previous path of the changed file |
unicode | _BASE_REVISION : The base revision format string |
unicode | _PATH : The changed path (without a leading slash) |
unicode | _REVISION : The revision format string |
Method Details |
---|
__init__(self,
base_url,
config,
**kwargs)
Initialization |
_createParsedUrl(self, url)Returns a ParsedUrl instance |
_createTemplate(self, base_url, config)Returns a Template instance
|
_quoteDict(self, toquote)URL-escapes the values of the supplied dict All values are first UTF-8 encoded and then URL escaped.
If you need something else, feel free to override this method
in your particular generator. If you just need another encoding,
override the
|
getContentDiffUrl(self, change)Returns the content diff URL for a particular change
|
getRevisionUrl(self)Returns the revision summary URL
|
hasTemplates(self)Returns whether there are any templates stored
|
Instance Variable Details |
---|
_substThe substitution record
|
Class Variable Details |
---|
_BASE_PATHThe previous path of the changed file
|
_BASE_REVISIONThe base revision format string
|
_N_BASE_PATHThe format name of the previous path of the changed file
|
_N_BASE_REVISIONThe base revision format name
|
_N_PATHThe format name of the changed path
|
_N_REVISIONThe revision format name
|
_PATHThe changed path (without a leading slash)
|
_QUERY_ENCODINGThe character encoding to use for url parameters
|
_REVISIONThe revision format string
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Sun Sep 25 20:49:05 2005 | http://epydoc.sf.net |