Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Public Member Functions | Public Attributes | List of all members
pip._vendor.html5lib.inputstream.EncodingParser Class Reference
Inheritance diagram for pip._vendor.html5lib.inputstream.EncodingParser:
_object

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
 

Detailed Description

Mini parser for detecting character encoding from meta elements

Constructor & Destructor Documentation

def pip._vendor.html5lib.inputstream.EncodingParser.__init__ (   self,
  data 
)
string - the data to work on for encoding detection

Member Function Documentation

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 
)

Member Data Documentation

pip._vendor.html5lib.inputstream.EncodingParser.data
pip._vendor.html5lib.inputstream.EncodingParser.encoding

The documentation for this class was generated from the following file:

Copyright 2014 Google Inc. All rights reserved.