串行化是xml解析的逆向操作。
使用串行化器将外部输出写到文件中。
串行化会带来一些与安全有关的问题。
默认情况下,类通常是可串行化的。
连接器必须是可串行化的。
在服务器上,解析或串行化不会引入替换字符。
Substitution characters are not introduced during parsing or serialization on the server.
这个缓存区域帮助减少串行化和多个连接点的开销。
This cache region helps to alleviate overhead with serialization and multiple connection points.
编写串行化实例的程序是临时代码,只需使用一次。
The program that writes the serialized instances is throwaway code. You won't need it more than once.
您只需将一个串行化对象写入文件——而且只需一次。
All you need to do is write a serialized object into a file, and you only do that once.
串行化格式可以说是代码基础中最脆弱、健壮性最差的部分。
Serialization formats can be the most fragile and least robust parts of a code base.
在修复bug或优化类时,非常容易破坏所有已有串行化对象。
It's particularly easy to break all existing serialized objects when fixing a bug or optimizing a class.
然而串行化是一个涉及范围极广的问题——跨越一个系统的多个不同层。
However serialization is a wide-ranging concern that cuts across many different layers of a system.
如果您在更改代码时未考虑串行化,几乎可以肯定您必将破坏原有对象。
If you don't think about serialization while changing code, it's virtually guaranteed that you will break the legacy objects.
通常,您不能依赖默认串行化格式来保持类的不同版本间的文件格式兼容性。
You usually can't rely on the default serialization format to retain file-format compatibility between different versions of a class.
这是因为从xml列读取数据需要串行化或将已解析的XML转换回文本格式。
This is because reading from the XML column requires serialization, or the conversion of parsed XML back to text format.
如果您将串行化测试作为测试套件的固定部分,则维护长期兼容性就会更轻松。
If you make serialization tests a regular part of your test suite, however, then maintaining long-term compatibility becomes relatively straightforward.
WCF支持串行化引擎,XmlSerializer也可以用于串行化参数。
WCF supports a serialization engine, the XmlSerializer, which can also be used to serialize parameters.
若您正在为任何形式的持久性存储使用串行化,那么这将是一个严重的bug。
This is a critical bug if you're using serialization for any form of persistent storage.
绝不要将敏感性信息存储到串行化的对象中,在使用存储库的API时也请牢记这一点。
Sensitive information should never be stored in an object that will be serialized, and you should also keep this in mind when you're using your repository's API.
从技术上看,串行化器并不是XSLT处理器的一部分,但它在实际使用中是必不可少的。
The serializer is not technically part of the XSLT processor, but it is essential for practical use.
这些对象像标准对象一样被填充,然后以XML 形式被串行化到服务器,进行持久化。
These objects are populated like normal objects, then serialized as XML to the server for persistence.
我认为在这一方面我们有一些工作可以探索,比如HenryStory的RDF串行化。
I think there are some aspects we can explore in this respect, for example Henry Story's RDF serialization.
类似地,对xml列进行文档检索需要串行化,即,将已解析的xml格式转换回其原始文本表示。
Similarly, document retrieval from an XML column requires serialization, that is, converting the parsed XML format back into its original textual representation.
若您关注对象串行化,特别是希望为长期持久性存储使用串行化对象时,就必须对串行化进行测试。
If you care about object serialization, and especially if you intend to use serialized objects for long-term persistent storage, you must test serialization.
主SELECT(第 56-57 行)使用XML2CLOB函数来串行化XML内容。
The main SELECT (lines 56-57) uses the XML2CLOB function to serialize the XML contents.
最初并未预期或计划将其用于配置文件、远程过程调用、对象串行化、数据库转储和类似的面向开发的任务。
Its use for config files, remote procedure calls, object serialization, database dumps, and similar developer-oriented tasks wasn't anticipated or planned for.
若您希望类可串行化,就需要测试它,这与您需要测试一个直接实现了Serializable的类相同。
If you want the class to be serializable, you'll need to test it, just as you would test a class that directly implements serializable.
您花费在对象串行化单元测试上的时间将为您带来成倍的回报,此后调试时您能节省的时间将数倍于投入时间。
The time you spend unit testing object serialization now will be paid back manyfold in the time you save on debugging later.
如果是,则需要这些对象是可串行化的,否则,就应该在串行化过程中将其删除,在解串行化过程中重新建立。
If so, those objects will need to be serializable, or they should be discarded during serialization and re-established during de-serialization.
由于传统的init进程(sysvinit)是一个串行化的进程,因此可对这部分系统进行充分优化。
Because the traditional init process (sysvinit) is a serial process, this portion of the system is ripe for optimization.
应用推荐