robot API笔记3

robot.htmldata package

包编写HTML格式的输出文件。

这个包被认为是稳定的但不是公共API的一部分。

Submodules

robot.htmldata.htmlfilewriter模块

classrobot.htmldata.htmlfilewriter.HtmlFileWriter(outputmodel_writer)

Bases: object

write(template)
classrobot.htmldata.htmlfilewriter.ModelWriter

Bases: robot.htmldata.htmlfilewriter._Writer

handles(line)
write(line)
classrobot.htmldata.htmlfilewriter.LineWriter(output)

Bases: robot.htmldata.htmlfilewriter._Writer

handles(line)
write(line)
classrobot.htmldata.htmlfilewriter.GeneratorWriter(html_writer)

Bases: robot.htmldata.htmlfilewriter._Writer

write(line)
handles(line)
classrobot.htmldata.htmlfilewriter.JsFileWriter(html_writerbase_dir)

Bases: robot.htmldata.htmlfilewriter._InliningWriter

write(line)
handles(line)
classrobot.htmldata.htmlfilewriter.CssFileWriter(html_writerbase_dir)

Bases: robot.htmldata.htmlfilewriter._InliningWriter

write(line)
handles(line)

robot.htmldata.jartemplate 模块

classrobot.htmldata.jartemplate.HtmlTemplate(filename)

Bases: object

robot.htmldata.jsonwriter 模块

classrobot.htmldata.jsonwriter.JsonWriter(outputseparator='')

Bases: object

write_json(prefixdatapostfix=';\n'mapping=Noneseparator=True)
write(stringpostfix=';\n'separator=True)
classrobot.htmldata.jsonwriter.JsonDumper(output)

Bases: object

dump(datamapping=None)
write(data)[source]
classrobot.htmldata.jsonwriter.StringDumper(jsondumper)

Bases: robot.htmldata.jsonwriter._Dumper

dump(datamapping)
handles(datamapping)
classrobot.htmldata.jsonwriter.IntegerDumper(jsondumper)

Bases: robot.htmldata.jsonwriter._Dumper

dump(datamapping)
handles(datamapping)
classrobot.htmldata.jsonwriter.DictDumper(jsondumper)

Bases: robot.htmldata.jsonwriter._Dumper

dump(datamapping)[source]
handles(datamapping)
classrobot.htmldata.jsonwriter.TupleListDumper(jsondumper)

Bases: robot.htmldata.jsonwriter._Dumper

dump(datamapping)
handles(datamapping)
classrobot.htmldata.jsonwriter.MappingDumper(jsondumper)

Bases: robot.htmldata.jsonwriter._Dumper

handles(datamapping)
dump(datamapping)
classrobot.htmldata.jsonwriter.NoneDumper(jsondumper)[source]

Bases: robot.htmldata.jsonwriter._Dumper

handles(datamapping)
dump(datamapping)

robot.htmldata.normaltemplate 模块

classrobot.htmldata.normaltemplate.HtmlTemplate(filename)

Bases: object

robot.htmldata.template 模块

posted @ 2016-04-25 13:41  七月的尾巴_葵花  阅读(566)  评论(0编辑  收藏  举报