renderSnake 介绍
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()
renderSnake 官网
http://code.google.com/p/rendersnake/
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。