详细的编排和反编排实现代码被直接添加到绑定类中。
The detailed marshalling and unmarshalling implementation code gets added directly to the bound classes.
为了处理编排和反编排,JiBX 向绑定中包含的类添加了新类和新方法。
To handle marshalling and unmarshalling, JiBX adds new classes and methods to the classes included in the binding.
如果绑定要处理接口或不可修改的类,JiBX 转而把必要的编排/反编排代码以 static 方法的形式,添加到特殊的助手类(叫作“munge”类)。
For bindings that work with interfaces or unmodifiable classes, JiBX instead adds the necessary marshalling/unmarshalling code to a special helper class (called the "munge" class) as static methods.
应用推荐