- 授权协议: Apache
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: https://github.com/PinaeOS/nala
- 软件文档: https://github.com/PinaeOS/nala
软件介绍
Nala 是一个基于Java的XML对象绑定工具,支持将Java对象序列化为XML或者将XML绑定在Java对象上
支持Map/注释信息的Java对象/命名约束的Java对象与XML之间的绑定
支持Cdata对象的绑定和Xml作为文本进行绑定
支持Xpath指定路径进行绑定
安装方法:
<dependency> <groupId>org.pinae</groupId> <artifactId>nala</artifactId> <version>1.6</version> </dependency>
示例代码:
public class DemoTestManager {
public static void main(String arg[]) throws Exception {
try {
StringBuffer xml = new ResourceReader().readFile("test.xml");
//Parse XML to Object
Map map = Xml.toMap(xml.toString(), "utf8");
//convert Object to XML
String xml = Xml.toXML(map, "utf8", true);
} catch (IOException e) {
}
}
}
The Book of CSS3
Peter Gasston / No Starch Press / 2011-5-13 / USD 34.95
CSS3 is the technology behind most of the eye-catching visuals on the Web today, but the official documentation can be dry and hard to follow. Luckily, The Book of CSS3 distills the heady technical la......一起来看看 《The Book of CSS3》 这本书的介绍吧!
