<s> class InstanceInfo ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , connection = None , id = None , state = None ) : <EOL> self . connection = connection <EOL> self . id = id <EOL> self . state = state <EOL> def __repr__ ( self ) : <EOL> return '<STR_LIT>' % self . id <EOL> def startElement ( self , name , attrs , connection ) : <EOL> return None <EOL> def endElement ( self , name , value , connection ) : <EOL> if name == '<STR_LIT>' or name == '<STR_LIT>' : <EOL> self . id = value <EOL> elif name == '<STR_LIT:state>' : <EOL> self . state = value <EOL> else : <EOL> setattr ( self , name , value ) </s>
