The code download (see Download) provides a sample application to demonstrate JAXB usage in Axis2, in the jaxb directory.
代码下载(参见 下载)提供了一个演示在Axis2 中使用JAXB 的示例应用程序,位于 jaxb目录中。
The jaxb:class element then tells you that the JAXB class generated from the given XPath’s element will be named "AccountOwner".
接着jaxb:class元素会告诉您,从给定XPath 的元素所生成的 JAXB类将被命名为 “AccountOwner”。
JAXB does have some weaknesses, however.
然而,JAXB确实也有一些缺点。
Listing 5 illustrates the magic of JAXB.
清单5展示了JAXB的神奇。
Now, look at the setup required for JAXB.
现在,来看一下JAXB所需的设置。
As with JAXB, the binding USES interfaces.
与使用JAXB一样,绑定使用接口。
Listing 2 illustrates a full JAXB program.
清单2展示了一个完整的jaxb程序。
JAXB promises mappings for all XML schemas.
JAXB可保证所有XML模式的映射。
Again, JAXB makes the marshalling process easy.
JAXB也使编组过程更容易了。
To ease and streamline this mapping process, use JAXB.
可以使用 JAXB简化这个映射过程。
If you want better support for XML schema through JAXB.
如果您希望通过JAXB更好地支持XML模式。
JAX-WS is built around its tight integration with JAXB 2.0.
JAX - WS构建在它与JAXB 2.0的紧密集成之上。
The JAXB customizations also follow the rules of XML schema.
JAXB的自定义同样遵循 XMLSchema的规则。
You can add your own JAXB, SDO XML generator, or other code here.
您可以在这里添加自已的JAXB、SDOxml生成器或其他代码。
Additionally, you don't need much XML knowledge at all to use JAXB.
此外,使用JAXB基本不需要掌握任何XML知识。
At runtime, JAXB libraries are used in marshalling and unmarshalling.
在运行时,使用jaxb库进行编组和反编组。
Notice how Listing 4 reproduces the data in Listing 2 thanks to JAXB.
注意清单4如何利用JAXB重新生成清单2中的数据。
In the context of JAXB, let's consider the schema shown in Figure 10.
我们在JAXB的上下文中考虑一下图10所示的模式。
Castor is also expected to support the coming JAXB standard in the future.
人们还期望Castor将来支持即将出现的JAXB标准。
JAX-WS, via JAXB, adds support for MTOM, the new attachment specification.
JAX - WS通过jaxb添加了对新附件规范MTOM的支持。
JAXB libraries are then used in the process of marshalling and unmarshalling.
于是就可以在编组和解组的过程中使用jaxb库。
Fortunately, you can do this several ways, and the one you'll look at is JAXB.
幸运的是,您可以使用好几种方法来实现这一点,我们这里就将介绍其中一种:JAXB。
Now you can instruct JAXB to spit the in-memory representation back out to XML.
现在可以要求JAXB把内存中的表示再返回到XML。
For those cases where you cannot change the schema, JAXB provides another solution.
对于那些无法更改架构的情况,JAXB提供了另一种解决方案。
Support for basic JDOQL querying of objects stored in LDAP via JDO, utilizing JAXB.
支持通过JDO对存储在LDAP中的对象进行基本JDOQL查询,这利用了JAXB。
These interfaces make JAXB-generated code fairly easy to use with existing documents.
这些接口使jaxb生成的代码可以相当容易地与现有文档一起使用。
Now I'll briefly go through them and give you a close look at the JAXB representation.
现在我将简要浏览一遍并深入探讨JAXB表示形式。
Binding frameworks that employ code generation include XMLBeans, JAXB, Zeus, and JBind.
使用代码生成的框架包括XMLBeans、JAXB、Zeus和JBind。
Unlike JAXB, there is no real need of providing annotations for your data binding needs.
与jaxb不同的是,无需提供注释便可满足数据绑定需求。
JAXB is still immature — this is still the first major release of a fairly new technology.
JAXB仍然不够成熟,仍然是一种非常新的技术的较早主要版本。
应用推荐