Package cssutils :: Module codec :: Class IncrementalDecoder |
[hide private]
[frames] | no frames]

# Class IncrementalDecoder

source code

                   object --+
                            |
    codecs.IncrementalDecoder --+
                                |
                               IncrementalDecoder

Instance Methods | [hide private]
__init__(self, errors=`'``strict``'`, encoding=None, force=True) Creates a IncrementalDecoder instance. | source code
iterdecode(self, input) | source code
decode(self, input, final=False) Decodes input and returns the resulting object. | source code
reset(self) Resets the decoder to the initial state. | source code
_geterrors(self) | source code
_seterrors(self, errors) | source code
getstate(self) | source code
setstate(self, state) | source code
Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

Properties | [hide private]
| errors
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, errors=`'``strict``'`, encoding=None, force=True) (Constructor) | source code
Creates a IncrementalDecoder instance. The IncrementalDecoder may use different error handling schemes by providing the errors keyword argument. See the module docstring for a list of possible values. Overrides: object.__init__ (inherited documentation)

### decode(self, input, final=False) | source code
Decodes input and returns the resulting object. Overrides: codecs.IncrementalDecoder.decode (inherited documentation)

### reset(self) | source code
Resets the decoder to the initial state. Overrides: codecs.IncrementalDecoder.reset (inherited documentation)

Property Details | [hide private]

### errors Get Method: _geterrors(self) Set Method: _seterrors(self, errors)