robot.htmldata package
包编写HTML格式的输出文件。
这个包被认为是稳定的但不是公共API的一部分。
Submodules
robot.htmldata.htmlfilewriter模块
- class
robot.htmldata.htmlfilewriter.
HtmlFileWriter
(output, model_writer) -
Bases:
object
write
(template)
- class
robot.htmldata.htmlfilewriter.
ModelWriter
-
Bases:
robot.htmldata.htmlfilewriter._Writer
handles
(line)
write
(line)
- class
robot.htmldata.htmlfilewriter.
LineWriter
(output) -
Bases:
robot.htmldata.htmlfilewriter._Writer
handles
(line)
write
(line)
- class
robot.htmldata.htmlfilewriter.
GeneratorWriter
(html_writer) -
Bases:
robot.htmldata.htmlfilewriter._Writer
write
(line)
handles
(line)
- class
robot.htmldata.htmlfilewriter.
JsFileWriter
(html_writer, base_dir) -
Bases:
robot.htmldata.htmlfilewriter._InliningWriter
write
(line)
handles
(line)
- class
robot.htmldata.htmlfilewriter.
CssFileWriter
(html_writer, base_dir) -
Bases:
robot.htmldata.htmlfilewriter._InliningWriter
write
(line)
handles
(line)
robot.htmldata.jartemplate 模块
- class
robot.htmldata.jartemplate.
HtmlTemplate
(filename) -
Bases:
object
robot.htmldata.jsonwriter 模块
- class
robot.htmldata.jsonwriter.
JsonWriter
(output, separator='') -
Bases:
object
write_json
(prefix, data, postfix='; ', mapping=None, separator=True)
write
(string, postfix='; ', separator=True)
- class
robot.htmldata.jsonwriter.
JsonDumper
(output) -
Bases:
object
dump
(data, mapping=None)
write
(data)[source]
- class
robot.htmldata.jsonwriter.
StringDumper
(jsondumper) -
Bases:
robot.htmldata.jsonwriter._Dumper
dump
(data, mapping)
handles
(data, mapping)
- class
robot.htmldata.jsonwriter.
IntegerDumper
(jsondumper) -
Bases:
robot.htmldata.jsonwriter._Dumper
dump
(data, mapping)
handles
(data, mapping)
- class
robot.htmldata.jsonwriter.
DictDumper
(jsondumper) -
Bases:
robot.htmldata.jsonwriter._Dumper
dump
(data, mapping)[source]
handles
(data, mapping)
- class
robot.htmldata.jsonwriter.
TupleListDumper
(jsondumper) -
Bases:
robot.htmldata.jsonwriter._Dumper
dump
(data, mapping)
handles
(data, mapping)
- class
robot.htmldata.jsonwriter.
MappingDumper
(jsondumper) -
Bases:
robot.htmldata.jsonwriter._Dumper
handles
(data, mapping)
dump
(data, mapping)
- class
robot.htmldata.jsonwriter.
NoneDumper
(jsondumper)[source] -
Bases:
robot.htmldata.jsonwriter._Dumper
handles
(data, mapping)
dump
(data, mapping)
robot.htmldata.normaltemplate 模块
- class
robot.htmldata.normaltemplate.
HtmlTemplate
(filename) -
Bases:
object