认识到有必要为Web组件指定操作和验证方法后,JSFEL变体添加了一个允许在属性内使用方法表达式的特性。
Recognizing the need to specify action and validation methods for a Web component, the JSF EL variant added another feature allowing you to use method expressions within an attribute.
规则表达式是一种很简练方法,用于描述可能在文本中出现的模式。
A regular expression is a concise way of describing a pattern that might occur in a text.
坦白地说,XML不是一种多么复杂的语法,因此认为可以自己通过正则表达式或其他特殊方法来解析的想法是可以理解的。
Granted, XML is not a very complex syntax so you can be forgiven for thinking that you can hack your way with regular expressions or other ad-hoc means.
如果一个方法的主体包含多于一个的表达式,你必须用大括号来把它们包起来。
If a method body has more than one expression, you must surround it with curly braces {...}.
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.
正则表达式是根据文本匹配模式的方法—类似于编译器生成类文件的工作原理。
Regular expressions are ways to match patterns against text — similar to how a compiler works to generate class files.
然而,此过程也再次说明执行同一任务有多种方法,而且有时正则表达式并非总是最佳选择。
Again, however, this procedure also demonstrates that there are multiple ways to do the same task, and sometimes regular expressions aren't always the best option.
它定义了一些用于处理组成我们脚本的多个表达式的方法。
This defines the methods that will be used handle the various expressions that make up our script.
当在另一个标记的属性中调用方法时,大括号表示法(正式名称为表达式语言或el语法)更合适。
The curly-brace notation (formally known as Expression Language or EL syntax) is better suited for times when the method call is embedded in another tag's attributes.
IBMJIT编译器使用一个表达式树序列表示方法的操作。
The IBM JIT compiler USES a sequence of expression trees to represent the method's operations.
定制正则表达式规则的一种简单方法是复制某个规则(例如url规则)的完整规则定义并修改它。
A simple approach to customizing the regular expression rules is to copy the complete rule definition of, for example, the URL rule and modify it.
智能完成任务非常有效,实时过滤成员方法和变量以匹配你输入的表达式。
Smart Completion works at the right-hand side of assignments, filtering the list of methods and variables to match the expected type of expression.
在组件框架中,UI事件或解析的值绑定表达式直接导致方法调用。
In a component framework, invocations are a direct result of either UI events or resolved value-binding expressions.
同时还按顺序回顾了最有意思的代码片段,并论述了两种不同的表达式求值方法。
We reviewed the most interesting code snippets along the way and discussed two different approaches to expression evaluation.
根据SQL标准,评估分层或双向数据的方法为递归通用表表达式(RCTE)。
According to the SQL Standard, the method to evaluate hierarchical or bi-directional data is the Recursive Common Table Expression (RCTE).
第三个值UNKNOWN是一个错误表达式的结果,处理方法与FALSE相同。
A third value, UNKNOWN, is the result of an incorrect expression and has the same behavior as FALSE.
C+ +没有提供查询变量或表达式的类型的简便方法。
C + + has never had an easy mechanism for querying the type of a variable or an expression.
而且即使它实现了这个方法,在将GWT中的正则表达式部署到客户机和服务器代码时,也存在语义上的差异。
Even if it did, regular expressions in GWT have syntactical differences when deployed as client and server code.
在这个特殊的例子中,方法引用比lambda表达式更清晰地表达了我们的意图,但它们的概念是一样的。
In this particular example, a method reference is a clearer expression of what we mean than a lambda expression, but the idea is the same.
当nose 检查测试类的内部时,它运行与同一正则表达式匹配的方法。
When nose looks inside of a test class, it runs methods matching that same regular expression.
用.Compile()方法去将一个表达式树转换为一个委托,然后你可以执行它。
Use the .Compile() method to turn the expression tree into a delegate so that you can execute it.
这说明,该函数必须在一个涉及比较操作并且引用了索引扩展hash _ index的搜索方法“equals”的表达式中使用。
It says that the function must be used in an expression involving the comparison operation and that the search method "equals" of the index extension hash_index is referred to.
MetaLinq并不是唯一对表达式树进行编辑的方法。
因此,SPOT程序不能访问文件流;没有反射,没有串行化,没有本地方法,没有正则表达式,没有Swing,只有有限的数据类型。
Therefore, SPOT programs don't have access to file streams; there's no reflection, no serialisation, no classloading, no native methods, no regular expressions, no Swing, and only limited data types.
接下来,该规则使用ASTHelper. satisfy方法从满足给定标准的列表中筛选表达式。
Next, the rule USES the ASTHelper.satisfy method to filter expressions from the list that do not meet a given criteria.
返回查询表达式的两个方法都返回QueryExpression对象。
Both of the methods that return query expressions will return a QueryExpression object to you.
XPath和XPathExpression都提供了4种不同的方法计算XPath表达式,是通过重载evaluate实现的。
Both XPath and XPathExpression offer four different methods for evaluating an XPath expression, which are provided as different overloadings of a method called evaluate.
为了访问属性(或者方法),使用像 ${adminView.value} 这样的表达式。
To access attributes (or methods) use expressions like ${adminView.value}.
在diamond表达式出现在方法调用上下文时会有轻微的不同。
The story is slightly different when the diamond expression appears in a method-invocation context. Consider a Box that appears as an argument to the m() method
在diamond表达式出现在方法调用上下文时会有轻微的不同。
The story is slightly different when the diamond expression appears in a method-invocation context. Consider a Box that appears as an argument to the m() method
应用推荐