Xmlbeans介绍

http://xmlbeans.apache.org/

XMLBeans is a technology for accessing XML by binding it to Java

types. XMLBeans provides several ways to get at the XML, including:

Through XML schema that has been compiled to generate Java types

that represent schema types. In this way, you can access instances

of the schema through JavaBeans-style accessors after the fashion of

"getFoo" and "setFoo".
The XMLBeans API also allows you to reflect into the XML schema

itself through an XML Schema Object model.

A cursor model through which you can traverse the full XML infoset.
Support for XML DOM.


适用的场合

从使用的经验来看,XMLBeans比较适合处理具有复杂Schema定义的xml,如

SAML,Liberty等.而简单的XML结构用Dom4j或者Castor XML Mapping 都很轻易

处理.

因此假如你要处理一个很复杂的Schema定义,选择XMLbeans就比较好.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值