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):

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):

Return the document.

Returnsthe loaded document. (type: a list of Stan objects.)
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.