比如,如果指定用于出版或者文档应用程序的词汇表,您可能希望定义一个属性构造型。
For example, when working on vocabulary for publishing - or document-type applications, you may want to define an attribute stereotype.
注意,HttpRequest是用Client对象的clientInputStream属性构造的。
Notice that the HttpRequest is constructed with the clientInputStream property of the Client object.
采用了属性构造法进行数据预处理,建立了数据挖掘模型,实现了关联规则算法,并对挖掘结果进行解释与分析。
A model of data mining is set up after preparation of data by means of attribute structure, and association rule algorithms are carried out. the data mining result is explained and analysed.
通过使用这些属性,可以构造一个简单的程序,该程序以动画效果改变一个视图的宽度,如清单4所示。
Using just these attributes, you can construct a simple program that animates changes to the width of a view, as in Listing 4.
了解可以如何使用基础XML构造的数学属性操作策略文档。
See how you can manipulate Policy documents using mathematical properties of the underlying XML constructs.
在构造元素和属性时,程序员将字符串传递给运行时库。
In constructing elements and attributes, a programmer passes strings to the runtime library.
较早的接口版本需要静态构造元素和属性的限定名(如果需要,还包括名称空间前缀)。
An earlier version of the interface required static construction of qualified names (including a namespace prefix, if needed) for elements and attributes.
如果它能够显示xml元素、属性和内容,则表明XML是构造良好的。
If it displays your elements, attributes, and content, then the XML is well formed.
构造型的属性,不管是逻辑值、整数值还是枚举类型的,都在概述中被分配有默认值。
The stereotype properties, which are of Boolean, integer, or enumeration types, have been assigned default values in the profile.
我们还为KeyedReference类提供了一个新的构造器,允许提供keyedreference类的全部属性来构造这个类。
A new constructor has also been provided for the KeyedReference class to allow it to be constructed by supplying all its attributes.
我使用一个散列映射作为类属性,但是必须构造一个包含国家、地区和页面起点的键,见LoadCities方法。
I used a hash map as a class attribute, but had to construct a key that included the country, the region, and the page start, as shown in the LoadCities method.
这时,子类可以把构造方法转为公有属性,从而允许任何客户端都可以去创建实例。
A subclass could then expose a public constructor, allowing anyone to make instances.
这些属性将用于构造ResourceProperty文档。
These properties are used to construct the Resource Property document.
BasicAttribute构造函数采用属性名称作为参数。
The BasicAttribute constructor takes the name of the attribute as a parameter.
在前面的部分中,Bike GroovyBean利用了Groovy的属性和构造语义以减少源代码中的冗余。
In the previous section, the Bike GroovyBean took advantage of Groovy's property and constructor semantics to remove noise from the source code.
document类表示XML文档,由表示元素、属性和其他XML构造的DOM节点组成。
The org.w3c.dom.Document class represents an XML document and is made up of dom nodes that represent the elements, attributes, and other XML constructs.
第二种方法是按照下面的一种方法来添加一个构造型属性注释。
The second way is by adding a Stereotype Attribute Note in either of these ways.
将以下属性添加到fabricnamespace构造型,如图9所示。
Add the following properties to the fabricNamespace stereotype, as shown in Figure 9.
根据构造型属性值来着色。
每个这样的条目对象可以具有任何一组属性,而Exhibit用这些属性来构造用户界面。
Each of the item objects can have any set of properties, and these properties are what Exhibit USES to construct the user interface.
设置模型属性为等同model,并构造结果属性为 layout,如列表6 所示。
Set the model attribute to equal model and the structure attribute to layout, as shown in Listing 6.
Prototype对象与构造器有关,prototype对象里定义的任何属性都被每个由于构造器实例化的对象所继承。
The prototype object for Rectangle is associated with its constructor and any properties defined by the prototype object are inherited by each and every object created using the constructor.
按照以下方法,来向某个类添加构造型属性。
对数据元素解释毫无帮助的属性(糟糕的层次结构构造或属性的误用)。
Attributes that have nothing to do with data element interpretation (poor hierarchy construction or misuse of attributes).
然后这个属性在构造函数中被初始化,如列表10所示。
The attributes then gets initialized in the constructor, as shown in the Listing 10.
在构造器中注册属性。
因为本实例没有任何特殊的构造函数、操作、属性或引用,所以不需要这些调用。
This instance doesn't have any special constructors, operations, attributes, or references, so these calls aren't required.
当然,有趣的事情不仅仅是这些。您可以在组件中包括方法、动画、构造函数属性,等等。
Of course, the fun doesn't stop there: you can include methods, animations, constructor properties, and much more in components.
清单5显示了如何构造属性文件,该属性文件在运行时使用这些表达式来解析值。
Listing 5 shows how to construct a properties file that USES these expressions to resolve the values at runtime.
我还创建了一个接受所有三个属性的构造函数,这将便于创建新实例。
I've also created a constructor that takes all three properties, which will facilitate creating new instances.
应用推荐