Returns true iff the given string is the name of a self-closing tag according to this parser.
(self, name)
| 1206 | raise AttributeError |
| 1207 | |
| 1208 | def isSelfClosingTag(self, name): |
| 1209 | """Returns true iff the given string is the name of a |
| 1210 | self-closing tag according to this parser.""" |
| 1211 | return self.SELF_CLOSING_TAGS.has_key(name) \ |
| 1212 | or self.instanceSelfClosingTags.has_key(name) |
| 1213 | |
| 1214 | def reset(self): |
| 1215 | Tag.__init__(self, self, self.ROOT_TAG_NAME) |
no test coverage detected