Home | Trees | Index | Help |
|
---|
Package lxml :: Module objectify :: Class StringElement |
|
object
--+ |_Element
--+ |ElementBase
--+ |ObjectifiedElement
--+ |ObjectifiedDataElement
--+ | StringElement
String data class.
Note that this class does *not* support the sequence protocol of strings: len(), iter(), str_attr[0], str_attr[0:1], etc. are *not* supported. Instead, use the .text attribute to get a 'real' string.Method Summary | |
---|---|
x.__add__(y) <==> x+y | |
x.__eq__(y) <==> x==y | |
x.__ge__(y) <==> x>=y | |
x.__gt__(y) <==> x>y | |
x.__le__(y) <==> x<=y | |
x.__lt__(y) <==> x<y | |
x.__mod__(y) <==> x%y | |
x.__mul__(y) <==> x*y | |
x.__ne__(y) <==> x!=y | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
x.__nonzero__() <==> x != 0 | |
x.__radd__(y) <==> y+x | |
x.__repr__() <==> repr(x) | |
x.__rmod__(y) <==> y%x | |
x.__rmul__(y) <==> y*x | |
strlen(...)
| |
Inherited from ObjectifiedDataElement | |
x.__str__() <==> str(x) | |
Inherited from ObjectifiedElement | |
x.__delattr__('name') <==> del x.name | |
x.__delitem__(y) <==> del x[y] | |
Use of negative indices is not supported. | |
x.__getattribute__('name') <==> x.name | |
x.__getitem__(y) <==> x[y] | |
Use of negative indices is not supported. | |
x.__iter__() <==> iter(x) | |
x.__len__() <==> len(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__setitem__(i, y) <==> x[i]=y | |
Use of negative indices is not supported. | |
Add a child value to the element. | |
Return the number of children of this element, regardless of their name. | |
Returns a list of object path expressions for all descendants. | |
| |
| |
| |
Inherited from object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
helper for pickle |
Class Variable Summary | |
---|---|
getset_descriptor |
pyval = <attribute 'pyval' of 'lxml.objectify.StringElem...
|
Inherited from ObjectifiedElement | |
getset_descriptor |
text = <attribute 'text' of 'lxml.objectify.ObjectifiedE...
|
Method Details |
---|
__add__(x,
y)
x.__add__(y) <==> x+y
|
__eq__(x,
y)
x.__eq__(y) <==> x==y
|
__ge__(x,
y)
x.__ge__(y) <==> x>=y
|
__gt__(x,
y)
x.__gt__(y) <==> x>y
|
__le__(x,
y)
x.__le__(y) <==> x<=y
|
__lt__(x,
y)
x.__lt__(y) <==> x<y
|
__mod__(x, y)x.__mod__(y) <==> x%y
|
__mul__(x, y)x.__mul__(y) <==> x*y
|
__ne__(x, y)x.__ne__(y) <==> x!=y
|
__new__(T, S, ...)T.__new__(S, ...) -> a new object with type S, a subtype of T
|
__nonzero__(x)
x.__nonzero__() <==> x != 0
|
__radd__(x,
y)
x.__radd__(y) <==> y+x
|
__repr__(x)
x.__repr__() <==> repr(x)
|
__rmod__(x, y)x.__rmod__(y) <==> y%x
|
__rmul__(x, y)x.__rmul__(y) <==> y*x
|
Class Variable Details |
---|
pyval
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Aug 18 12:44:27 2007 | http://epydoc.sf.net |