This reduces the effort to write and maintain the schema, as well as ensures that no complex type is accidentally left inextensible.
这减少了编写和维护模式的工作量,还确保了不会有某个复杂类型被偶然遗漏而不能扩展。
xsd defines the complex type EndpointReferenceType.
xsd定义了复杂类型 EndpointReferenceType 。
InsuredVehicle represents the complex type insured-vehicle.
表示复杂类型insured - vehicle。
Elements that embed other elements must have a complex type.
嵌入其他元素的元素必须是复杂类型。
Listing 1 below you shows how the complex type mapping works.
下面的清单1向您展示了复杂类型映射是如何进行的。
LiabilityCoverage represents the complex type liability-coverage.
表示复杂类型liability - coverage。
ThirdPartyCoverage represents the complex type third-party-coverage.
表示复杂类型third - party - coverage。
PolicyholderInformation represents the complex type policyholder-information.
表示复杂类型policyholder - information。
Note the xsi: type attribute points to the complex type that ProductElement refers too.
请注意,xsi:type属性指向ProductElement所引用的复杂类型。
When defining a complex type with simple content, you can specify two types of assertions.
在使用简单内容定义复杂类型时,可以指定两种类型的断言。
These changes result in a more complete definition for the Item complex type, shown in Listing 4.
这些更改的结果是一个对于条目复合类型更为完整的定义,如列表4所示。
Repetition of the same wildcard for every complex type to make the entire schema extensible is tedious.
在非常复杂的类型中重复使用同一个通配符,这使得整体模式扩展非常单调。
Since no standard mapping is defined for attributes, this complex type is represented as a SOAPElement.
因为没有为属性定义标准的映射,所以这种复杂类型就被表示为SOAPElement 。
And there will be only one Customer complex type instead of two, depending on which was generated later.
根据后期生成的结果,现在只有一个Customer复合类型而不是两个。
The properties of the complex type can be manipulated in the XSD complex type TAB of the properties view.
复杂类型的属性可以在Properties视图的XSD Complex Type项目之中控制。
While the cache and spelling requests return a String datatype, the search request returns a complex type.
高速缓存和拼写请求返回String 数据类型,搜索请求返回复杂类型。
To create a complex type, a «complexType» stereotype must be applied to a UML class (see the next figure).
为了创建一个复杂的类型,必须对UML类(见于接下来的图)应用一个 «complexType» 构造型。
The issue with the above complex type definition can be illustrated with the instance document in Listing 2.
上面这个复杂类型定义的问题可以用清单2中的实例文档来演示。
Listing 6 shows an example of a complex type with an assertion that constrains the values of two attributes.
清单6是一个复杂类型的例子,其中的断言约束两个属性的值。
As shown in Listing 4, long XML descriptions are generated for a simple array of a self-defined complex type.
如清单4所示,为单个自定义复杂类型数组生成的XML描述很长。
Note: to use the BOFactory to create a data object, you must define either a complex type or a global element.
请注意:要使用BOFactory创建数据对象,必须定义复杂类型或全局元素。
It tells the schema processor to put all constructs created (like the Address complex type) in that namespace.
它告诉模式处理程序将所有创建的构造(如address这样的复杂类型)都放在该名称空间中。
In Listing 16, the complex type definition contains a sequence of four child elements that are explicitly defined.
在清单16中,复杂类型定义包含一个由4个显式定义的子元素组成的序列。
This attribute group definition will automatically be included in each complex type defined in the schema document.
该属性组定义将被自动包含在模式文档中定义的每个复杂类型中。
Thus, from the best practices mentioned earlier, you can have a business object defined as a top level complex type.
因此,按照前面提到的最佳实践方式,可将业务对象定义为顶级复杂类型。
This is useful when the return value has a complex type because the type of the variable is automatically generated.
当返回值的类型很复杂时,这个重构将很有用,因为变量的类型是自动生成的。
Most of the existing SOAP toolkits support complex type-mapping based on the SOAP encoding scheme and XML Schema.
现有的SOAP工具箱大多数都支持基于 SOAP编码模式和XML模式的复杂类型映射。
When a complex type is derived by restriction from another one, both content models have to satisfy certain conditions.
如果一个复杂类型是由对另一个类型的限制产生的,那么两种内容模型都必须满足特定的条件。
Specifically, the example in Listing 14 shows the element declaration to contain a complex type that contains a sequence.
具体而言,清单14中的示例展示了包含一个复杂类型的元素声明,该复杂类型包含一个序列。
If the variable is a primitive type, the metric directly holds its value; if it is a complex type, the metric holds its XML.
如果变量是原语类型,指标直接包含其值;如果它是一种复杂类型,指标将包含它的XML。
应用推荐