Sets the character encoding of this InputSource. The encoding must be a string acceptable for an XML encoding declaration (see section 4.3.3 of the XML recommendation). The encoding attribute of the InputSource is ignored if the InputSource also contains a character
(self, encoding)
| 224 | return self.__system_id |
| 225 | |
| 226 | def setEncoding(self, encoding): |
| 227 | """Sets the character encoding of this InputSource. |
| 228 | |
| 229 | The encoding must be a string acceptable for an XML encoding |
| 230 | declaration (see section 4.3.3 of the XML recommendation). |
| 231 | |
| 232 | The encoding attribute of the InputSource is ignored if the |
| 233 | InputSource also contains a character stream.""" |
| 234 | self.__encoding = encoding |
| 235 | |
| 236 | def getEncoding(self): |
| 237 | "Get the character encoding of this InputSource." |
no outgoing calls