- 授权协议: Apache
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: http://code.google.com/p/rendersnake/
- 软件文档: http://code.google.com/p/rendersnake/w/list
软件介绍
RenderSnake 是一个轻量级的Java类库用来通过Java方法生产html页面,包含4个核心类库:
- HtmlCanvas , a class that has methods for all HTML 4.01 and HTML5 tags for opening and closing it
- HtmlAttributes, a class that has methods for all existing HTML attributes for setting an attribute value
- Renderable, a interface that is used to create component classes. Each component must implement the method renderOn(HtmlCanvas)
- PageContext, a Map-like object to store any information that is used for rendering a Page.
示例代码:
canvas.html()
.body()
.h1().write("RenderSnake")._h1()
._body()
._html()
