Implements interfaces: twisted.web.iweb.ITemplateLoader

An ITemplateLoader that loads and parses XML from a string.

Method __init__ Run the parser on a NativeStringIO copy of the string.
Method load Return the document.
Instance Variable _loadedTemplate The loaded document. (type: a list of Stan objects.)
_loadedTemplate =
The loaded document. (type: a list of Stan objects.)
def __init__(self, s): (source)

Run the parser on a NativeStringIO copy of the string.

ParameterssThe string from which to load the XML. (type: str, or a UTF-8 encoded bytes.)
def load(self): (source)

Return the document.

Returnsthe loaded document. (type: a list of Stan objects.)
API Documentation for Twisted, generated by pydoctor at 2017-09-23 19:45:03.