Home | Trees | Index | Help |
---|
Module pyhtmloo :: Class Tag |
|
object
--+
|
Tag
a
,
b
,
base
,
basefont
,
bdo
,
big
,
blockquote
,
body
,
br
,
button
,
caption
,
center
,
cite
,
code
,
col
,
colgroup
,
dd
,
del_
,
dfn
,
div
,
dl
,
dt
,
em
,
fieldset
,
font
,
form
,
frameset
,
h1
,
h2
,
h3
,
h4
,
h5
,
h6
,
head
,
hr
,
html
,
i
,
iframe
,
img
,
input
,
ins
,
isindex
,
kbd
,
label
,
legend
,
li
,
link
,
map
,
meta
,
object_
,
ol
,
optgroup
,
option
,
p
,
param
,
pre
,
q
,
s
,
samp
,
script
,
select
,
small
,
span
,
strike
,
strong
,
style
,
sub
,
sup
,
table
,
tbody
,
td
,
textarea
,
tfoot
,
th
,
thead
,
title
,
tr
,
tt
,
u
,
ul
,
var
Method Summary | |
---|---|
_params, _tc, _attrs are special initial parameters | |
__str__(self)
| |
add content to the current tag | |
to get the value of a specific html attribute | |
to get the value of one of the parameter (indent, delimiter, endtag) | |
render(self)
| |
to update or add some html attributes to the current tag | |
to update the tag parameters (indent, delimiter, endtag) | |
internal function transert all the content of 'TC' into string | |
we just verify if we must apply a global parameter (indent or delimiter) | |
This function will add indentation (indent) to the text file | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T |
Method Details |
---|
__init__(self,
*llist,
**kw)
_params, _tc, _attrs are special initial parameters
|
add(self, *contents)add content to the current tag |
getattr(self, name)to get the value of a specific html attribute |
getparam(self, param)to get the value of one of the parameter (indent, delimiter, endtag) |
setattr(self, **kw)to update or add some html attributes to the current tag |
setparam(self, **kw)to update the tag parameters (indent, delimiter, endtag) |
_print_content(self, obj)internal function transert all the content of 'TC' into string |
_setglobalvalues(self)we just verify if we must apply a global parameter (indent or delimiter) |
_use_indent(self, text)This function will add indentation (indent) to the text file |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Sat Mar 11 18:47:52 2006 | http://epydoc.sf.net |