A result object for eXistDA product. It contains XML and other infos
Methods
|
|
__add__
__cmp__
__eq__
__getattr__
__init__
__neq__
__setattr__
__str__
getDict
|
|
__add__
|
__add__ ( self, other )
Adds two results and returns a resultSet
Exceptions
|
|
TypeError, 'Right operand must be a eXistDAresult'
|
|
|
__cmp__
|
__cmp__ ( self, other )
Comparison. By default, we test hits
|
|
__eq__
|
__eq__ ( self, other )
Equality comparison
|
|
__getattr__
|
__getattr__ ( self, name )
Attributes recovering
|
|
__init__
|
__init__ (
self,
DA=None,
xml='',
docbase='',
hits=-1,
encoding=utils.DEFAULT_ENCODING,
)
Initialization of the class
|
|
__neq__
|
__neq__ ( self, other )
Not equality
|
|
__setattr__
|
__setattr__ (
self,
name,
value,
)
Attributes setting
|
|
__str__
|
__str__ ( self )
String representation
|
|
getDict
|
getDict ( self )
Returns the dictionary representing the XML result
|
|