通过ID获取元素是常用的方法,但是超过20个字符时很容易发生输入错误!
Getting an element by ID is something that's often done and, well, it's easy to mistype something with more than 20 characters in it!
这是Groovy比较罕见的打破 “最少意外原则” 的情况,但是由于从 map获取元素要比使用反射更加常见,因此我可以接受这一例外。
This is a rare case of Groovy violating the Rule of Least Surprise, but because getting elements out of a map is far more common than using reflection, it is an exception that I can live with.
从请求属性获取的这个输入数据元素由多个部分组成。
This input data element obtained from the request attribute consists of multiple parts.
但是您必须处理这样的情况:无法获取新添加的元素和属性的值。
But you need to handle the case that the values of newly added elements and attributes cannot be obtained.
属性和行为都涉及到在组件视图中获取或设置数据元素的值。
Both properties and actions involve getting or setting the value of data elements in your component view.
这个元素允许程序员获取一组节点,按某些标准来进行分组,然后处理由那一选择过程组成的每一个组。
This element allows the programmer to take a set of nodes, group it by some criteria, and then process each group formed by that selection process.
要做到这一点,只需获取每个数据元素并写下在它之前的每个标记和属性。
This is done by simply taking each data element and writing down every tag and attribute leading up to it.
若要在服务器端使用用户输入的值,则获取并设置绑定到控件的数据元素。
To work with user-entered values on the server side, you get and set the data elements bound to the controls.
为此,要遍历结果数组,每次获取一个单独元素的引用并检索它的属性。
To do that, you go through the results array, each time getting a reference to the individual element and retrieving its attributes.
开发抽取代码以获取丢失的数据元素。
Develop extraction code to obtain the missing data elements.
对于HTML,浏览器只是发出另一个HTTP请求,获取通过这样的元素包含的数据。
In the case of HTML ', the browser just makes another HTTP request to get the data included through elements like.
注意,这正是当您对一列数求和时所要做的:从零开始,加上第一个元素,获取结果并将其加到第二个上,持续操作直至列结束。
Notice that this is exactly what you do when you sum a list of Numbers: start with zero, add the first element, take that result and add it to the second, and continue until the list is consumed.
还应注意,图中非包容关系可获得的员工同样可通过包容引用从根元素处获取。
Note that the employee reachable by following the noncontainment relationship is also reachable by following containment references from the root element.
架构设计师和作者可以结合来自任何数量的域的元素,从而在获取这些域信息的语义和结构方面具有很高的灵活性和精确性。
Architects and authors can combine elements from any number of domains, leading to great flexibility and precision in capturing the semantics and structure of their information.
这些表达式用于指示输出消息组件中的目标元素,其中获取的元素应该重写现有值(假如树中已经存在元素)。
These are used to indicate a target element in the out going message assembly, where an acquired value should overwrite the existing value (in the case where the element already exists in the tree).
在项目的较早期,我们可能为该数据元素获取了整个数据的子集,但这对新报告可能是不够的。
Earlier in the project we may have captured a subset of the overall data for that data element but that may not be sufficient for this new report.
许多摄影师运用逆光拍摄人物、物体或风景元素的技术来获取剪影照片。
Many photographers use the technique of photographing people, objects or landscape elements against the light, to achieve an image in silhouette.
该元素告诉XSLT处理器获取当前元素的所有文本和子元素并转换它们。
This element tells the XSLT processor to get all of the text and child elements of the current element and transform them as well.
您可以配置FanOut中介原语,以仅触发其输出末端一次,或对使用指定XPath表达式获取的每个元素都触发一次。
You can configure the Fan Out mediation primitive to fire its output terminal just once or once for each element obtained using a specified XPath expression.
通过响应对象,您可以获取页面的任何元素,比如链接、applets、表单、选择、复选框、输入类型、表格、图像,等等。
From the response object you can obtain any element (s) of the page, such as links, applets, form, select, check box, input types, tables, images, and so on.
我获取包含元素所有内容的列表并扫描了这张列表,检查文本(象string对象那样的内容)和元素。
I get a list of all the content of the element and scan through the list, checking for text (as String objects) and elements.
绑定元素的wsoap:protocol属性获取一个反映JMS传输的新的URL。
The wsoap: protocol attribute of the binding element gets a new URL reflecting a JMS transport.
首先需要获取图的根元素,这是一切工作的起点。
First of all, you need to obtain the root element of the graph. That's the starting point of everything.
要获取具有名称空间的元素,需要声明几个 groovy.xml.Namespace变量。
script, shown in Listing 6. To get at the namespaced elements, you need to declare a couple of groovy.xml.Namespace variables.
blocking-timeout-milliseconds元素定义在从池中获取连接时等待的毫秒数,此后将放弃连接。
The blocking-timeout-milliseconds element defines how many milliseconds the call will wait when getting a connection from the pool before it gives up.
然后,必须在characters中从这个元素中获取所有文本内容。
Then, you must grab all the textual content from that element in characters .
获取一个实例元素节点、一个类型 QName和一个模式文档节点的序列。
takes an instance element node, a type QName, and a sequence of schema document nodes.
XML配置的最后一段内容是service - activator元素,它获取所有给它的内容并进行处理。
The final bit of XML configuration is the service-activator element, which takes what's given to it and does work with it.
要获取meet处表示团队的元素集合,我们必须从该文档开始,并按顺序导航、和元素。
To get the collection of elements representing teams at the meet, we must start at the document and navigate through elements, and, in that order.
您还可以获取XMLInfoset元素内容的whitespace属性。
You can also retrieve the XML Infoset element content whitespace property.
应用推荐