DocumentDecoder Class

Inheritance diagram of DocumentDecoder

class DocumentDecoder

Abstract document decoder.

Methods:

decode(text[, location]) Decode document text.

Methods

DocumentDecoder.decode(text, location=None)

Decode document text.

Parameters:
  • text (str) – Text to decode
  • location (Location) – Location to use as base path for additional resources referenced within the document (for example, HTML images).
Return type:

AbstractDocument

Table Of Contents

Previous topic

ZipRunIterator Class

Next topic

DocumentLabel Class