Package tdi :: Module interfaces :: Class BuildingListenerInterface
[frames] | no frames]

Class BuildingListenerInterface

source code

       object --+    
                |    
ListenerInterface --+
                    |
                   BuildingListenerInterface

Extensions to the listener interface
Instance Methods
 
handle_encoding(self, encoding)
Handle an encoding declaration
source code

Inherited from ListenerInterface: handle_comment, handle_decl, handle_endtag, handle_escape, handle_msection, handle_pi, handle_starttag, handle_text

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables
AttributeAnalyzerInterface analyze
Attribute analyzer
DecoderInterface decoder
Decoder
EncoderInterface encoder
Encoder
str encoding
Encoding of the template
Properties

Inherited from object: __class__

Method Details

handle_encoding(self, encoding)

source code 
Handle an encoding declaration
Parameters:
  • encoding (str) - The encoding to handle

Instance Variable Details

analyze

Attribute analyzer
Type:
AttributeAnalyzerInterface

decoder

Decoder
Type:
DecoderInterface

encoder

Encoder
Type:
EncoderInterface

encoding

Encoding of the template
Type:
str