网站首页  词典首页

请输入您要查询的英文单词:

 

单词 JAXB
释义

JAXB

  • 网络Java API for XML Binding; 的工作原理; 绑定
1.
Java API for XML Binding
JAXBJava API for XML Binding),提供了一个快速便捷的方式将Java对象与XML进行转换。在JAX-WS(Java的WebServic…
hanhongke123.blog.163.com
2.
的工作原理
《Java Web整合开发王者归来》- 京东图书... ... 13.4.2 SAX 解析 13.5.2 JAXB 的工作原理 14.4.1 Struts 配置文件详解 ...
book.jd.com
3.
绑定
Java SE 6 的 XML 处理功能分为两个部分:XML 处理(JAXP)和 XML 绑定JAXB)。Java SE 6 平台提供的 XML 处理主要 …
www.360doc.com
4.
绑定技术
绑定技术JAXB)JSR222即Java Architecture for XML Binding(JAXB)。JAXB的目的是便于Java程序进行Java类到XML文 …
zhidao.baidu.com

例句

释义:
1.
Now, before all of you start to tell me that this isn't a problem, let me show you what JAXB does do to protect your data.
在您准备告诉我这不成为一个问题之前,先让我说明JAXB通过什么来保护您的数据。
www.ibm.com
2.
Right off the bat, JAXB isn't going to be an option for you, as JAXB only accepts XML Schema as a constraint model for class generation.
毫无疑问,JAXB不在选择范围之列,因为它只接受XMLSchema作为约束模型来生成类。
www.ibm.com
3.
While JAXB is only focused on a Java-to-XML binding, XML isn't the only kind of data being bound to SDO.
JAXB仅关注Java到XML的绑定,而绑定到SDO的不仅仅是XML数据。
www.ibm.com
4.
JAXB is robust enough to allow you to name anonymous types as you need to via the binding file.
JAXB非常稳健,可允许您通过绑定文件来命名需要命名的匿名类型。
www.ibm.com
5.
In fact, JAXB is probably just as flexible as either of the two previous methods shown in terms of setting up output properties.
事实上,JAXB在设置输出属性方面的灵活性与前面两种方法是不相上下的。
www.ibm.com
6.
In closing, let me share with you my cheat sheet, the Ant setup I use to make all my classpath and JAXB samples easy.
最后让我们来分享我的一个秘技,用于轻松制作classpath和JAXB示例的Ant设置。
www.ibm.com
7.
This cross-stack compatibility is the main benefit of using JAXB and JAX-WS, since it makes it easy for you to switch between stacks.
这种跨堆栈兼容性是使用JAXB和JAX-WS的主要优点,因为这便于在不同的堆栈之间切换。
www.ibm.com
8.
These interfaces make JAXB-generated code fairly easy to use with existing documents.
这些接口使JAXB生成的代码可以相当容易地与现有文档一起使用。
www.ibm.com
9.
The Castor developers also plan to support JAXB in Castor, probably using some sort of compatibility layer.
Castor开发人员还计划在Castor中支持JAXB,可能是通过使用某类兼容性层来实现这一点。
www.ibm.com
10.
It allows configuration of any XML binding mechanism like JAXB, SDO, Castor etc. by implementing the standard framework interface.
通过实现标准的框架接口,它支持任何XML绑定机制,如JAXB、SDO、Castor等。
www.ibm.com
1.
Then in October, Sun provided a new beta version of the JAXB reference implementation, finally replacing the long outdated EA version.
接着在10月,Sun提供了JAXB参考实现新的beta测试版,最终它会替代过时已久的EA版本。
www.ibm.com
2.
The data interchange model can be easily configured by using custom XML serializers, JAXB or any other object-to-XML conversion tools.
通过使用自定义XML序列化程序、JAXB或任何其他对象到XML转换工具,可以方便地配置数据交换模型。
www.ibm.com
3.
Until the production release (currently planned for this quarter), JAXB is not a practical alternative for use in real projects.
在该产品发行版(目前计划在这个季度发布)之前,JAXB还无法用于实际项目中。
www.ibm.com
4.
This goes on for quite a bit -- notice that JAXB creates a lot of classes for even a relatively simply XML Schema.
实在是有点太多了--注意,即使对于一个相当简单的XMLSchema,JAXB也创建了大量的类。
www.ibm.com
5.
Java Architecture for XML Binding (JAXB): Provides a binding compiler and a runtime framework to map Java objects to XML documents.
XML绑定的Java架构(JavaArchitectureforXMLBinding,JAXB):提供一个绑定的编译器和一个运行时框架将Java对象映射到XML文档。
www.ibm.com
6.
Since this isn't an article on JAXB basics (for such articles, see Resources), I'll just let you see the code, shown in Listing 3.
因为这不是一篇关于JAXB基础的文章(这类文章请参阅参考资料),我仅仅把代码列在下面,如清单3所示。
www.ibm.com
7.
A useful feature of JAXB is the ability to validate the source data against the associated schema as part of the unmarshalling operation.
JAXB的有用特性之一是,在反编组操作过程中可以根据相关联的模式检验源数据。
www.ibm.com
8.
You also need an XML Schema to generate classes and data structures from as you work with JAXB.
使用JAXB时还需要一个XMLSchema以生成类和数据结构。
www.ibm.com
9.
This is to be expected in the case of Metro and CXF, since they both use the JAXB reference implementation for conversions.
这是Metro和CXF的预期结果,因为它们都使用JAXB参考实现来进行转换。
www.ibm.com
10.
Zeus code generation is similar in usage to JAXB or Castor, with a command line tool provided to construct the necessary classes.
在用法上,Zeus代码生成类似于JAXB或Castor,它提供了命令行工具来构造所需要的类。
www.ibm.com
1.
JAXB also handles CDATA sections a little differently than you might expect, but it does preserve semantic equivalence.
JAXB还以和预期稍有不同的方式处理CDATA节,但确实保持了语义等价。
www.ibm.com
2.
This article focuses on that process -- known as marshalling in the data binding world -- and in particular JAXB's marshalling capabilities.
本文重点讨论数据绑定世界中所谓的编组(marshalling)过程,特别是JAXB的编组能力。
www.ibm.com
3.
JAXB introduces the concept of data binding, a correspondence between XML schemas and Java classes.
JAXB引入了数据绑定的概念,即XML模式与Java类的对应关系。
www.ibm.com
4.
Interested readers can find such an implementation in the JAXB reference implementation in Resources.
有兴趣的读者可以从参考资料中的JAXB参考实现中找到这样的实现。
www.ibm.com
5.
In the long run, this should make it more adaptable than JAXB.
从长远来看,这将使它的适应性比JAXB更强。
www.ibm.com
6.
Additionally, since JAX-WS uses JAXB for all data binding purposes, the jaxrpc-mapping file is no longer necessary.
另外,因为JAX-WS使用JAXB进行所有的数据绑定,所以不再需要jaxrpc-mapping文件。
www.ibm.com
7.
Unlike JAXB, there is no real need of providing annotations for your data binding needs.
与JAXB不同的是,无需提供注释便可满足数据绑定需求。
www.ibm.com
8.
Using JAXB, it constructs Java objects corresponding to the input XML elements and puts them in a HashMap.
通过使用JAXB,将构造与输入XML元素对应的Java对象,并将其放入到HashMap中。
www.ibm.com
9.
JAXB binding classes are generated either with the command line tool xjc, or directly in the WebSphere Integration Developer environment.
用命令行工具xjc或在WebSphereIntegrationDeveloper环境中直接生成JAXB绑定类。
www.ibm.com
10.
To use this file yourself, simply modify the paths to your own XML input files, as well as to your JAXB JAR files.
您要使用这个文件,只需要把路径改为您自己的XML输入文件,以及您的JAXBJAR文件。
www.ibm.com
1.
At this point, carefully analyze which type of XML binding is appropriate (JAX-RPC, JAXB, and so on).
这时请仔细分析哪种XML绑定类型是恰当的(JAX-RPC、JAXB等)。
www.ibm.com
2.
JAXB still looks like a good choice for the code generation approach in the future (the beta license only allows evaluation use).
JAXB看上去将来仍是代码生成方法的一个不错选择(测试版许可证只允许评估使用)。
www.ibm.com
3.
JAXB is still going to generate a class that accepts a string argument, based on the usage of the.
构造的用法,仍然会生成接受字符串参数的类。
www-128.ibm.com
4.
This will include trying out some of the customization options JAXB provides.
下一篇文章将对JAXB提供的一些定制选项进行实验。
www.ibm.com
5.
As mentioned earlier, JAX-WS relies on JAXB to handle the data binding for most of its Web services content.
正如前面所提到的,JAX-WS依赖于JAXB处理其大部分Web服务内容的数据绑定。
www.ibm.com
6.
Note that the implementation classes are only instantiated through a factory class that is generated by the JAXB compiler.
请注意仅通过由JAXB编译器生成的一个工厂类来实例化实现类。
www.ibm.com
7.
Now you can instruct JAXB to spit the in-memory representation back out to XML.
现在可以要求JAXB把内存中的表示再返回到XML。
www.ibm.com
8.
JAXB is still immature -- this is still the first major release of a fairly new technology.
JAXB仍然不够成熟,仍然是一种非常新的技术的较早主要版本。
www.ibm.com
9.
Generating code from a Schema description is as easy with Castor as with JAXB, and uses the same basic options.
用Castor根据Schema描述生成代码与用JAXB一样方便,使用的基本选项也一样。
www.ibm.com
10.
The binding process generates JAXB classes with additional COBOL annotations.
绑定过程会产生带有COBOL注解的JAXB类。
www.infoq.com
1.
With your classes generated and ready for use, you're all set to unmarshal the XML document from Listing 1 into JAXB's in-memory model.
只要生成并准备好这些类,就可以把清单1中的XML文档解组成JAXB在内存中的模型。
www.ibm.com
2.
Additionally, you don't need much XML knowledge at all to use JAXB.
此外,使用JAXB基本不需要掌握任何XML知识。
www.ibm.com
3.
At runtime, JAXB libraries are used in marshalling and unmarshalling.
在运行时,使用JAXB库进行编组和反编组。
www.ibm.com
4.
The line in Listing 14 tells the JAXB runtime to report if the data does not conform to the schema.
清单14中的这一行代码让JAXB运行时在数据不符合模式的情况下发出报告。
www.ibm.com
5.
These are all freely available, and with the exception of JAXB, are usable in both open source and proprietary projects.
它们都可以免费获取,除了JAXB之外,其它四种框架都可以在开放源码和专利项目中使用。
www.ibm.com
6.
JAXB and Castor are designed to work with documents on file, and Axis works with Web services.
JAXB和Castor是为了处理文件中的文档设计的,Axis用于Web服务。
www-128.ibm.com
7.
This method must use XML to Java object binding and it uses JAXB for that.
此方法必须对Java对象绑定使用XML,因此实际对其使用的是JAXB。
www.ibm.com
8.
Finally, you'll want to copy over the support files used: Configuration. xml and jaxb. properties.
最后,您可能希望复制所用的支持文件:Configuration.xml和jaxb.properties。
www.ibm.com
9.
You'd generate the same data model if you ran the JAXB XJC binding compiler directly on the schemas used by a Web service.
如果直接在Web服务使用的模式上面运行JAXBXJC绑定编译器,您将生成相同的数据模型。
www.ibm.com
10.
All of this often leads developers to either put JAXB down, or learn a lot more about XML, SAX, and DOM.
所有这些常常会导致开发人员将JAXB放在一旁,或者大量学习XML、SAX和DOM方面的知识。
www.ibm.com
1.
For those cases where you cannot change the schema, JAXB provides another solution.
对于那些无法更改架构的情况,JAXB提供了另一种解决方案。
www.ibm.com
2.
Get the JAXB context for your application.
获得应用程序的JAXB上下文。
www.ibm.com
3.
Other than the interfaces and the implementation classes, JAXB-specific classes are generated.
除了接口和实现类,还生成特定于JAXB的类。
www.ibm.com
4.
JAXB, Quick, and Zeus all turn in respectable performance figures compared to dom4j, but take nearly twice as long as JiBX overall.
与dom4j相比,JAXB、Quick和Zeus都获得了不错的性能数字,但是所花费的时间整体来说都几乎是JiBX的两倍。
www.ibm.com
5.
In Java EE 6, JAXB offers improved performance through marshalling optimizations enabled by default.
在JavaEE6中,JAXB通过默认启用的编组优化来改进性能。
www.ibm.com
6.
SDO also offers both a static and dynamic API*, whereas JAXB only provides a static binding.
SDO还提供了静态和动态API*,而JAXB仅提供了静态绑定。
www.ibm.com
7.
JAXB automatically inserted this line into the output.
JAXB自动在输出中插入这一行。
www.ibm.com
8.
You used the XSD file in conjunction with JAXB to create a suite of associated Java classes.
您结合使用了XSD文件和JAXB创建了一套相关Java类。
www.ibm.com
9.
If you want better support for XML schema through JAXB.
如果您希望通过JAXB更好地支持XML模式。
www.ibm.com
10.
Let's make this more concrete by introducing another technology: JAXB.
现在我们将通过了解另一种技术JAXB来更加详细地解释这一点。
www.ibm.com
1.
JAXB is a technology from Sun that provides some basic capabilities.
JAXB是来自Sun的技术,提供一些基本能力。
www.ibm.com
2.
JAX-WS, via JAXB, adds support for MTOM, the new attachment specification.
JAX-WS通过JAXB添加了对新附件规范MTOM的支持。
www.ibm.com
3.
JAXB introduces the idea of data binding to create a correspondence between XML schemas and Java classes.
JAXB引入了数据绑定的概念以在XMLSchema和Java类之间建立通信。
www.ibm.com
4.
JAXB provides a convenient way to bind an XML schema to a representation in Java code.
JAXB为把XMLSchema绑定到Java代码中的表示提供了便利的方法。
www.ibm.com
5.
I will provide more information on representation techniques, and especially on the JAXB element representation, later in this article.
下文我将提供更多有关表示形式技术的信息,尤其是JAXB元素表示形式。
www.ibm.com
6.
In this article, I'll introduce the JaxMe project, which keeps most of JAXB's good features, and dumps many of its problems.
本文将介绍的JaxMe项目保留了JAXB的许多好的特性,并克服了它的很多不足。
www.ibm.com
7.
Castor's support for code generation differs in details from the JAXB approach, but is very similar in intent.
在一些细节上,Castor的代码生成支持不同于JAXB方法,但在目的上,两者非常相似。
www.ibm.com
8.
JAXB supports both generating code from schemas, as in this case, and starting from code.
JAXB支持从模式中生成代码(本例就属于此例),也支持从代码中生成。
www.ibm.com
9.
The wsimport tool takes a WSDL file as input and generates the necessary SEI, service, and JAXB classes.
wsimport工具将WSDL文件作为输入,并生成所需的SEI、服务和JAXB类。
www.ibm.com
10.
Complex data types are first converted into XML using JAXB and then passed to the service invoker.
会首先使用JAXB将复杂数据类型转换为XML,然后传递给服务调用者。
www.ibm.com
1.
Again, JAXB makes the marshalling process easy.
JAXB也使编组过程更容易了。
www.ibm.com
2.
The JAXB schema compiler creates Java classes and interfaces based on the structure of the XML schema, typically at development time.
JAXB模式编译器根据XML模式的结构创建Java类和接口(通常在开发时执行)。
www.ibm.com
3.
There are actually two different JAXB contexts that we use in the sample application.
实际上,这个样例应用程序中将使用两个不同的JAXB上下文。
www.ibm.com
4.
This step is required to override the JAXB classes built into the Java software development kit (JDK) version 1. 5. x.
这一步骤用来重写内置到Java软件开发工具箱(JDK)版本1.5.x中的JAXB类。
www.ibm.com
5.
To ease and streamline this mapping process, use JAXB.
可以使用JAXB简化这个映射过程。
www.ibm.com
6.
Since March, the JAXB project has been moving forward in this new direction.
自3月以来,JAXB项目一直在朝着这个新方向前进。
www.ibm.com
7.
JAXB 2. x uses annotations in the data model classes to control how data is converted to and from XML.
JAXB2.x使用数据模型类中的注释来控制数据与XML之间的转换方式。
www.ibm.com
8.
Support for basic JDOQL querying of objects stored in LDAP via JDO, utilizing JAXB.
支持通过JDO对存储在LDAP中的对象进行基本JDOQL查询,这利用了JAXB。
www.infoq.com
9.
You will need the JAXB compile and runtime libraries included in this package to do the steps in this article.
您将会需要该包中的JAXB编译器和运行时库来执行本文中的步骤。
www.ibm.com
10.
The XML serialization mechanism (based on JAXB 2. 0) is also used to convert complex objects between different class loaders.
XML序列化机制(基于JAXB2.0)还用于在不同类加载器之间转换复杂对象。
www.ibm.com
1.
Now I'll briefly go through them and give you a close look at the JAXB representation.
现在我将简要浏览一遍并深入探讨JAXB表示形式。
www.ibm.com
2.
For more advanced topics using JAXB see the project home in Resources.
对于使用JAXB的更高主题,请查看参考资料中的项目主页。
www.ibm.com
3.
Generating code from a Schema description is very simple with JAXB.
用JAXB根据Schema描述生成代码非常简单。
www.ibm.com
4.
You may even find that in many cases, XPath is a better tool for data binding than working with generated classes and an API such as JAXB.
很多情况下您会发现,与使用生成类和JAXB这样的API的工具相比,XPath是一种更好的数据绑定工具。
www.ibm.com
5.
Unfortunately, there's no way to use a separately generated JAXB data model in WSDL2Java code generation.
不幸的是,无法在WSDL2Java代码生成中使用单独生成的JAXB数据模型。
www.ibm.com
6.
The JAXB customizations also follow the rules of XML schema.
JAXB的自定义同样遵循XMLSchema的规则。
www.ibm.com
7.
Finally, I assume that you have JAXB set up and running.
最后,我假设您已经安装并运行了JAXB。
www.ibm.com
8.
Castor is also expected to support the coming JAXB standard in the future.
人们还期望Castor将来支持即将出现的JAXB标准。
www.ibm.com
9.
Listing 2 illustrates a full JAXB program.
清单2展示了一个完整的JAXB程序。
www.ibm.com
10.
JAXB promises mappings for all XML schemas.
JAXB可保证所有XML模式的映射。
www.ibm.com
1.
JAX-WS's data mapping model is JAXB.
JAX-WS的数据映射模型是JAXB。
www.ibm.com
2.
While these are similar to the constructs created by JAXB, you'll find a few subtle differences.
虽然这些类与JAXB创建的构造非常类似,但也存在少量细微的差别。
www.ibm.com
3.
We have discussed the need to adapt to frequently changing XSDs, and we saw how JAXB can help in getting that done.
我们已经讨论了必须适应经常变化的XSD,看到了JAXB如何帮助满足这一需求。
www.ibm.com
4.
Now, look at the setup required for JAXB.
现在,来看一下JAXB所需的设置。
www.ibm.com
5.
JAXB does have some weaknesses, however.
然而,JAXB确实也有一些缺点。
www.ibm.com
6.
This is the first step in testing out JAXB's round-tripping capabilities.
这是测试JAXB往返能力的第一步。
www.ibm.com
7.
Notice how Listing 4 reproduces the data in Listing 2 thanks to JAXB.
注意清单4如何利用JAXB重新生成清单2中的数据。
www.ibm.com
8.
Future versions of Jibx2Wsdl may also support using JAXB 2. 0 and JAX-WS annotations as customizations.
Jibx2Wsdl以后的版本也可能支持使用JAXB2.0和JAX-WSAnnotation进行自定义。
www.ibm.com
9.
JAX-WS is built around its tight integration with JAXB 2. 0.
JAX-WS构建在它与JAXB2.0的紧密集成之上。
www.ibm.com
10.
I discuss the SAX API of AXIOM here because some data binding frameworks won't work with anything else -- JAXB, for example.
这里讨论AXIOM的SAXAPI,因为有些数据绑定框架不能使用其他的API,比如JAXB。
www.ibm.com
1.
Use of standard, open, technologies such as XML Schema, JAXB, JAX-WS, JMS or HTTP guarantees that a large community will keep them alive.
使用标准、开放的技术,如XMLSchema、JAXB、JAX-WS、JMS或HTTP,可以确保大型开源社区保持其活力。
www.infoq.com
2.
For example, JAXB code works with JAXB-compliant APIs, like JAXB's reference implementation and JaxMe.
比方说,JAXB代码能够用于JAXB兼容的API,如JAXB参考实现和JaxMe。
www.ibm.com
3.
However, the JAXB API (or architecture, if you like) has some deficiencies, and doesn't get updated very often.
然而,JAXBAPI(如果您喜欢,也可以称为架构)存在着一些不足,并且更新速度较慢。
www.ibm.com
4.
The JAXB specification defines ways to customize several aspects of the generated data binding by using binding declarations. These include
通过使用绑定声明,JAXB规范定义了一些方法来定制生成数据绑定的一些方面。
www.ibm.com
5.
Finally parsing occurs, you then return to the JAXB framework with this last call
最后,进行解析,通过这个调用返回到JAXB框架中
www.ibm.com
随便看

 

英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2022 Newdu.com All Rights Reserved
更新时间:2025/2/28 1:02:46