对象持久性依赖于底层编程语言的对象序列化能力。
Object persistence depends on the object serialization capabilities of the underlying programming language.
io包提供的对象序列化方式不是唯一的对象序列化途径。
The object serialization of the java.io package is not the only way to serialize Java objects.
本简介旨在推荐几种情况,在这几种情况下,YAML提供的对象序列化格式比XML所提供的更佳。
This introduction is intended to suggest some situations where YAML provides a better object serialization format than XML.
使用XML技术的一些新的对象序列化机制被开发出来,包括SOAP、WDDX、KOALA以及其他技术所带有的对象序列化方法。
New mechanisms of object serialization with XML have been developed, including those associated with SOAP, WDDX, and KOALA, among others.
对象序列化有很多明显的缺陷,但在这种情况下,却是一个合理的持久性解决方案,原因是保存在存储库中的表单数据实例的数量是有限的。
Object serialization has its well-known flaws, but in this case, it is a reasonable persistence solution because the number of form data instances that are kept in the repository is limited.
将对象序列化为遵循section 5的SOAPXML文档需要三个步骤:为访问器生成开元素,序列化对象的值,最后关闭元素。
Serializing the object into a Section 5-compliant SOAP XML document involves three steps: generating the opening element for the accessor, serializing the value of the object, and closing the element.
对象序列化是实现存储库持久性的一种最简单的方式,原因是datamaprepository类、所包含的数据地图以及它们的元素都是可序列化的。
Object serialization is an easy way for implementing the repository's persistence since the DataMapRepository class, the contained data maps, and their elements are serializable.
json在这种情况下将提供帮助,因为我们可以使用json_encode把任何PHP对象序列化,使该对象转换为json协议字符串,以供ajax应用程序读取。
Json helps in this case, as we can serialize any PHP object using json_encode to turn that object into a json protocol string, ready for an Ajax application to read.
然后,通过使用组件测试,可以发送业务对象,并将序列化XML作为测试数据使用。
Then, using component test, you can send a business object and take the serialized XML as the test data.
不再需要编写对象的序列化代码或者使用第三方工具才能把对象变成XML。
You don't need to write object serialization code or use third-party tools to turn your objects into XML.
由每个业务对象处理数据序列化。
如果应用程序运行正确,写到测试环境系统输出文件的消息包含数据对象的序列化XML内容,包括签出的附件。
If the application works correctly, the message written to the test environment system output file contains the serialized XML contents of the data object, including the checked out attachment.
它将尝试检索上面所述的序列化对象。
Future对象不可序列化,这意味着,在高度可用的环境中,回调处理程序返回的句柄不能被复制。
The Future object is not serializable, which means that in a highly available environment the handle returned by the callback handler cannot be replicated.
该表示可以各种格式返回:XML、JSON、php对象、php数组或序列化字符串。
This representation can be returned in a variety of formats: XML, JSON, PHP object, PHP array, or serialized string.
当你需要存储序列化的对象时,这个问题就更加突出。
This is particularly a problem if you are storing that serialized object.
我们有了一个包含数组对象并且以json格式序列化的字符串。
We have a string that contains our array object, serialized in JSON format.
此外,由于数据图是由数据对象组成的,因此它是可序列化的。
Moreover, as it is composed of Data Objects, a Data Graph is serializable.
这是要序列化的对象的运行时类型。
JavaType: This is the run-time type of the object that is to be serialized.
这种环境将允许您处理业务对象(创建、操作、复制、对比、序列化等)。
This environment allows you to work with business objects (create, manipulate, copy, compare, serialize, and so on).
有时候,代理还需要追踪其他对象引用并手动序列化它们,例如Person的spouse。
The Proxy will also sometimes need to track down other object references and serialize them manually, such as Person's spouse.
目录服务提供了在分布式环境中存储和检索信息的一种方法,比如序列化对象。
Directory services provide a way to store and retrieve information, such as serializable objects, in a distributed environment.
不带参数的构造器确保可以根据序列化状态远程构造对象。
A non-argument constructor ensures the object can be constructed remotely from a serialized state.
一个例外是假如对象包含函数,那么肯定不会被序列化并保存。
One exception is that if your object has functions, those can obviously not be serialized and saved.
EJB规范规定:主键必须是一个可序列化的对象所表示的独一无二的值。
The EJB specification states that the key must be a unique value represented by a serializable object.
当在另一个平台上的SOAP工具包接收到序列化的对象时问题发生了。
The problem occurs when the SOAP toolkit in another platform receives the serialized objects.
图2展示了一个示例XML文档,该文档表示序列化之后的数据对象。
Figure 2 shows an example of an XML document that represents the data object after serialization.
但是,使用JSON在理念上更接近于在应用层之间传递序列化的对象,而不是创建应用程序状态的视图。
However, using JSON is philosophically closer to passing serialized objects between application tiers than to creating a view of the application state.
评估从同一组对象是否可以创建不同的、定制的数据序列化。
Assesses whether different, customized data serializations can be created from the same set of objects.
这是因为组件之间的API仅仅是一条消息,可以是从XML文档到序列化对象再到简单String的任意内容。
This is because the API between components is simply a message, which can be anything from an XML document, to a serialized object, to a simple String.
应用推荐