Package lxml :: Module etree :: Class XPathDocumentEvaluator
[show private | hide private]
[frames | no frames]

Type XPathDocumentEvaluator

         object --+        
                  |        
_XPathEvaluatorBase --+    
                      |    
  XPathElementEvaluator --+
                          |
                         XPathDocumentEvaluator


Create an XPath evaluator for an ElementTree.

Additional namespace declarations can be passed with the 'namespace' keyword argument. EXSLT regular expression support can be disabled with the 'regexp' boolean keyword (defaults to True).
Method Summary
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __call__(x, ...)
x.__call__(...) <==> x(...)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
    Inherited from XPathElementEvaluator
  registerNamespace(...)
Register a namespace with the XPath context.
  registerNamespaces(...)
Register a prefix -> uri dict.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
PyCObject __pyx_vtable__ = <PyCObject object at 0x401cbab8>

Method Details

__init__(...)
(Constructor)

x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides:
lxml.etree.XPathElementEvaluator.__init__

__call__(x, ...)
(Call operator)

x.__call__(...) <==> x(...)
Returns:
x(...)
Overrides:
lxml.etree.XPathElementEvaluator.__call__

__new__(T, S, ...)

T.__new__(S, ...) -> a new object with type S, a subtype of T
Returns:
a new object with type S, a subtype of T
Overrides:
lxml.etree.XPathElementEvaluator.__new__

Class Variable Details

__pyx_vtable__

Type:
PyCObject
Value:
<PyCObject object at 0x401cbab8>                                       

Generated by Epydoc 2.1 on Sat Aug 18 12:44:27 2007 http://epydoc.sf.net