Lance Stout a1ddd88208 Add support for a new type of stanza interface: bool
The set of bool_interfaces provides default behaviour for
checking/setting the presence of empty subelements.

The prime example of this would be:

    bool_interfaces = set(['required'])

This would mean that ``stanza['required']`` would return ``True`` for:

    <stanza>
       <required />
    </stanza>

and ``False`` for:

    <stanza />

Likewise, assigning ``stanza['required'] = True`` would add an empty
``<required />`` element, and setting it to ``False`` would remove
such an element if it exists.
2012-03-27 21:05:50 -07:00
..
2012-02-18 11:44:05 -08:00
2010-10-17 22:04:42 -04:00
2011-11-22 16:33:38 -08:00
2012-01-17 23:03:48 -08:00
2012-02-18 11:44:05 -08:00
2009-06-03 22:56:51 +00:00
2009-06-03 22:56:51 +00:00
2009-06-03 22:56:51 +00:00