但是,一般而言每个绑定有四个方法(两个用于数据编组,两个用于数据编出)。
Four methods per binding (two for marshalling, two for unmarshalling) is about the average, though.
对于任何绑定中包含的每个类,它都添加了适当的数据编组或数据编出代码。
For each class included in any of the bindings it adds the appropriate marshalling or unmarshalling code.
如同上述数据编出示例一样,该示例只是数据编组调用可以使用的几个变体中的一种。
As with the unmarshal example, this is just one of several variations that can be used for the marshal call.
将解析器包装在数据编出上下文内,这样就可以用最少的代码定义各种各样的访问方法。
Wrapping the parser within an unmarshalling context allows a wide variety of access methods to be defined with a minimum of code.
当该标准可用时,JiBX将能够使用该标准,只不过会对数据编出上下文代码作少量更改。
When that standard becomes available, JiBX will be able to use the standard with only minor changes to the unmarshalling context code.
一般而言,对于每个包含该类的数据编组或数据编出绑定,都会在被绑定类文件中添加一对方法。
In general, you get a pair of added methods in your bound class files for each marshalling or unmarshalling binding that includes that class.
这些选项和挂钩使您可以完全控制数据编组和数据编出过程,从而直接使用由JiBX上下文类定义的低级方法。
These let you take over complete control of the marshalling and unmarshalling process, working directly with the low-level methods defined by the JiBX context classes.
这些选项包括:可选值的缺省值、要在数据编组对象前或数据编出对象后调用的方法,以及用于引用对象的标识值。
These include defaults for optional values, methods to be called before marshalling or after unmarshalling objects, and identifier values for referencing objects.
其中后两个类是解决SOAP编码中的许多互操作性问题的关键,这些问题源于类型化数据的不同的数据编入和数据编出。
These latter two classes are the key to navigating around the many interoperability problems in SOAP encoding that stem from different marshalling and unmarshalling of typed data.
其中后两个类是解决SOAP编码中的许多互操作性问题的关键,这些问题源于类型化数据的不同的数据编入和数据编出。
These latter two classes are the key to navigating around the many interoperability problems in SOAP encoding that stem from different marshalling and unmarshalling of typed data.
应用推荐