class documentation

class XMLString: (source)

Implements interfaces: twisted.web.iweb.ITemplateLoader

View In Hierarchy

An ITemplateLoader that loads and parses XML from a string.

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

Run the parser on a StringIO 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 21.2.0 at 2021-02-28 21:00:42.