下面的示例阐释了几种不同类型的对象表达式。
The following example illustrates several different types of object expressions.
若要避免创建新的命名类型所需的额外代码和开销,可以使用对象表达式。
You use object expressions when you want to avoid the extra code and overhead that is required to create a new, named type.
如果使用对象表达式来最小化程序中创建的类型数目,您可以减少代码行数,并防止出现不必要的类型增殖。
If you use object expressions to minimize the number of types created in a program, you can reduce the number of lines of code and prevent the unnecessary proliferation of types.
这是一种新型表达式语言,拥有优秀的集合、对象图遍历和索引支持功能。
This is the newer form of expression languages and has excellent collection, object graph traversal, and indexing support.
如果只有一个输入字段,那么该表达式可以返回一个DOM对象。
This expression may actually return a DOM object if there is a single input field.
OQL查询同样可以调用对象的方法,将正则表达式作为查询的一部分,并使用内置查询工具。
OQL queries can also invoke methods on the objects themselves, use regular expressions as part of the query, and use built-in query tools.
抽象语法树是一个表示为对象集合的表达式。
An abstract syntax tree is an expression represented as a collection of objects.
与属性相似,度量是组成事实对象的表上的列或列表达式。
Measures, like attributes, are columns or column expressions on the tables that make up a facts object.
该模式对象代表以文本格式定义的正则表达式。
This pattern object represents the regular expression that is defined in text format.
您针对这个对象运行一个正则表达式,提取用户代理字符串。
You run a regular expression against it to extract the user agent string.
包括所有表、存储过程、函数和视图,并能基于正则表达式来排除特定对象。
Includes all tables, stored procedures, functions, and views with the ability to exclude objects based on regex patterns.
这组对象可接着作为中间结果用于处理更高一级的表达式。
This set of objects might then serve as an intermediate result used in the processing of a higher-level expression.
第二个参数是需要转换为语法对象的表达式。
The second parameter is the expression that needs to be converted into a syntax object.
从事实对象的属性产生SQL表达式的方式与维属性相似。
Generating SQL expressions from the attributes of the facts object is done the same way as the attributes of the dimensions.
可以重复前面的步骤以拖放对象,也可以手工输入表达式。
You can either repeat the previous steps to drag and drop items, or you can type in the expression manually.
因为它不是E4X所预期的。有了XML对象,就能通过表达式rsp . photos .photo得到照片元素的列表。
Once you have an XML object, you can get to the list of photo elements, with the expression rsp.photos.photo.
将事实对象的属性和度量转换为SQL表达式。
Convert the facts object's attributes and measures into SQL expressions.
因此,建立这种联系后,还需要获得一个能够处理XPath表达式求值的对象。
So with that link established, you need to get an object that can handle XPath expression evaluation.
数据网格查询功能得到了改进,目前支持利用路径表达式通过关联对象字段查询数据。
Some improvements were made in the data grid querying capabilities, now supporting queries on fields of nested objects using path expressions.
这当然也不是python胜人一筹的明确的表达式和简洁的面向对象。
It certainly wasn't the clarity of expression or clean object orientation in which Python positively excels.
syntax接受一个转换表达式(由模板变量和常量表达式组成)并返回产生的语法对象。
Syntax takes a transformation expression consisting of template variables and constant expressions and returns the resulting syntax object.
将正则表达式本身编译到Pattern对象中。
The regular expression itself is compiled into a Pattern object.
这些参数传递到表达式对象的invoke方法。
These parameters are passed to the invoke method of the expression object.
非常明显,你的throwit函数不能把对象的动态类型传给抛出表达式。
It is clear that your throwit function cannot pass the dynamic type of the object to the throw expression.
Context对象封装了对表达式求值所需的所有上下文信息。
The context object encapsulates all contextual information needed to evaluate the expression.
消息映射的键是字符串,表示用于访问业务对象的叶子节点的XPath表达式。
The keys of the message map are strings that represent XPath expressions to access the leaf nodes of the business object.
表示函数应该返回哪个相关对象的表达式。
An expression to represent which related object should be returned by the function.
例如,使用无效的Xpath表达式访问数据对象将引发SDOInvalidPathException。
For example, accessing a data object by an XPath expression which is invalid will throw an SDOInvalidPathException.
返回查询表达式的两个方法都返回QueryExpression对象。
Both of the methods that return query expressions will return a QueryExpression object to you.
ognl - 2.6.7 . jar:导航对象图的表达式语言。
Ognl-2.6.7.jar: The expression language for navigating object graphs.
应用推荐