• 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='; 'mapping=Noneseparator=True)
    write(stringpostfix='; '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 模块

  • 相关阅读:
    epoll 实现回射服务器
    select函数的介绍和使用
    期末项目需求分析报告
    Spring AOP Capabilities and Goals
    Domain Logic approaches
    Lamda Expression
    CDI furture
    23种设计模式
    connector for python
    Spring reference
  • 原文地址:https://www.cnblogs.com/kuihua/p/5424855.html
Copyright © 2020-2023  润新知