|
Orbits
1
|
Public Member Functions | |
| def | __init__ |
| def | getEncoding |
| def | handleComment |
| def | handleMeta |
| def | handlePossibleStartTag |
| def | handlePossibleEndTag |
| def | handlePossibleTag |
| def | handleOther |
| def | getAttribute |
Public Attributes | |
| data | |
| encoding | |
Mini parser for detecting character encoding from meta elements
| def pip._vendor.html5lib.inputstream.EncodingParser.__init__ | ( | self, | |
| data | |||
| ) |
string - the data to work on for encoding detection
| def pip._vendor.html5lib.inputstream.EncodingParser.getAttribute | ( | self | ) |
Return a name,value pair for the next attribute in the stream, if one is found, or None
| def pip._vendor.html5lib.inputstream.EncodingParser.getEncoding | ( | self | ) |
| def pip._vendor.html5lib.inputstream.EncodingParser.handleComment | ( | self | ) |
Skip over comments
| def pip._vendor.html5lib.inputstream.EncodingParser.handleMeta | ( | self | ) |
| def pip._vendor.html5lib.inputstream.EncodingParser.handleOther | ( | self | ) |
| def pip._vendor.html5lib.inputstream.EncodingParser.handlePossibleEndTag | ( | self | ) |
| def pip._vendor.html5lib.inputstream.EncodingParser.handlePossibleStartTag | ( | self | ) |
| def pip._vendor.html5lib.inputstream.EncodingParser.handlePossibleTag | ( | self, | |
| endTag | |||
| ) |
| pip._vendor.html5lib.inputstream.EncodingParser.data |
| pip._vendor.html5lib.inputstream.EncodingParser.encoding |
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.