它只是作为方法内部的行为的包装程序。
类似的类为现有类和方法包装了BCEL信息。
Similar classes wrap BCEL information for existing classes and methods.
清单5显示了生成对包装方法的调用并保存结果(如果有的话)的代码。
Listing 5 shows the code to generate the call to the wrapped method and save the result (if any).
这些数据对象通常为表格中的业务数据的瘦包装,提供数据访问和关系导航方法。
The data objects are generally thin wrappers around the business data in tables with typical data access and relationship navigation methods.
这个代码位将SOAP信封的对象和方法进行解码,实例化本地对象,并返回将会在返回 SOAP 信封中被包装起来的结果。
This bit of code decoded the object and method from a SOAPenvelope, instantiated the local object, and returned the result to be wrapped up in a return SOAP envelope.
数据传输对象是将一组值包装在一个对象中的方法,目的在于经济地传送这些值。
A Data Transfer object is a way to package a collection of values in a single object so they can be passed around economically.
事实证明,包装上的警示是揭露烟草消费真相的一种低费用和强有力的方法。
It is a proven fact that warnings on packaging are an inexpensive and powerful way to show the truth about tobacco consumption.
它将内部拉出解析器接口包装在定义各种元素和属性访问方法的数据编出上下文类中。
It wraps an internal pull parser interface in an unmarshalling context class that defines a variety of element and attribute access methods.
一个方法是增加漂亮的包装。
什么是最好的包装方法呢?
稍后,我们将学习当想要调优封装时如何手工封装各个方法,而我们自己不必编写所有包装器。
Later we'll learn how to manually wrap individual methods when we want to fine-tune the wrapping, without having to write all of the wrapper ourselves.
清单2和清单3是一个简单的PHP应用程序,其中包含一个类、方法和一些包装器代码。
Listing 2 and Listing 3 show a simple PHP application with a class, methods, and some wrapper code.
如果不能,那么声明包装方法本身抛出异常。
If you can't, declare that the enclosing method itself throws the exception.
另外还支持常规取消包装服务方法和自动附件处理,从而使其成为了从现有WSDL服务定义着手时的首要选项。
It also supports convenient unwrapped service methods and automatic attachment handling, making it a top choice when working from existing WSDL service definitions.
包装资产:此方法包含多项技术。
将解析器包装在数据编出上下文内,这样就可以用最少的代码定义各种各样的访问方法。
Wrapping the parser within an unmarshalling context allows a wide variety of access methods to be defined with a minimum of code.
这三个方法实质上都是先前开发的数据访问代码的包装器。
Each of these is essentially a wrapper around the data-access code we developed earlier.
辨识真品最牢靠的方法是将有特殊遗传基因的物质放进包装或产品当中。
The most foolproof technique for identifying genuine goods involves incorporating materials with special genetic markers into the packaging or product itself.
产品序列化:典型的序列化方法是使用药品包装内部或外面的RFID标签。
Product serialization: a typical serialization approach is to use RFID tags included within or attached to a package of manufactured drugs.
您可以使用访问方法来将每种规则都包装在服务 façade 中。
You could wrap each rule in a service façade with an access method.
ACLPerspective构造函数的AuthorizationManager实现是一个简单明了的包装方法。
The AuthorizationManager implementation of the ACLPerspectives constructors is a straightforward wrapper method.
选择您想包装为Web服务的方法。
启动流程实例的方法需要输入ClientObject Wrapper,它包装包含真正的输入数据的WSIFMessage。
The method to initiate a process instance expects as input ClientObjectWrapper, which wraps a WSIFMessage that contains the real input data.
servlet请求方法表示并包装来自用户的请求。
The servlet request object represents and wraps a request from a user.
声明包装方法(本例为compare)也抛出IOException。
Declare that the enclosing method, compare in this example, also throws IOException.
但如果你想以你能用的最绿色的方式来使用的话,将它们做成包装纸(或者更确切地说是包装布),日本式的方法。
But if you want to make the greenest use of them that you can, turn them into wrapping paper (or rather wrapping cloth), the Japanese way.
活动记录模式则可用来在域类内包装关系数据库持久性方法。
You use the active record pattern to wrap relational database persistence methods in domain classes.
目前,持久性框架使用两种方法中的一种:映射或包装。
Currently, persistence frameworks use one of two approaches: mapping or wrapping.
如果您调用一个可能抛出检查异常的已有函数,您应编写一个包装器函数,捕获并处理此类异常,然后在XSLT中调用包装器方法。
If you invoke a preexisting function that can throw a checked exception, you should write a wrapper function that catches and handles that exception; then, invoke the wrapper method from XSLT instead.
把BCEL细节隐藏在包装器中,也提供了方便地添加更多功能的位置,就像在类和方法比较代码中一样。
Hiding the BCEL details in my wrapper also gave me convenient places to add more functionality, as in the class and method comparison code.
应用推荐