组件:ValuesGroup
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
命名空间 |
http://schemas.google.com/dspl/2010 |
图示 |
 |
类型 |
值 |
属性 |
content: |
复杂 |
最少发生次数: |
0 |
maxOccurs: |
无界限 |
|
属性 |
QName |
类型 |
固定 |
默认 |
使用 |
注解 |
lang |
|
|
|
可选 |
|
|
来源 |
<xs:element name="value" type="Value" minOccurs="0" maxOccurs="unbounded"/>
|
命名空间 |
http://schemas.google.com/dspl/2010 |
图示 |
 |
属性 |
|
属性 |
QName |
类型 |
固定 |
默认 |
使用 |
注解 |
概念 |
xs:QName |
|
|
必填 |
|
|
来源 |
<xs:element name="conceptValue" minOccurs="0">
<xs:complexType>
<xs:attribute name="concept" type="xs:QName" use="required"/>
</xs:complexType>
</xs:element>
|
命名空间 |
没有命名空间 |
类型 |
xs:QName |
属性 |
|
使用方数量 |
|
来源 |
<xs:attribute name="concept" type="xs:QName" use="required"/>
|
命名空间 |
没有命名空间 |
注释 |
表格列的标识符。 |
类型 |
LocalId |
属性 |
|
分面 |
|
使用方数量 |
|
来源 |
<xs:attribute name="id" type="LocalId" use="required">
<xs:annotation>
<xs:documentation>The identifier of the table column.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
命名空间 |
没有命名空间 |
注释 |
表列的数据类型。中列的所有值
表格必须符合此数据类型。 |
类型 |
DataType |
属性 |
|
分面 |
枚举 |
字符串 |
|
枚举 |
float |
|
枚举 |
integer |
|
枚举 |
布尔值 |
|
枚举 |
date |
|
枚举 |
concept |
|
|
使用方数量 |
|
来源 |
<xs:attribute name="type" type="DataType" use="required">
<xs:annotation>
<xs:documentation>The data type of the table column. All values of the
column in the table must conform to this data type.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
命名空间 |
没有命名空间 |
注释 |
列的格式,用于解析文本表示
值。日期格式由以下元素定义:
http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html |
类型 |
xs:string |
属性 |
|
使用方数量 |
|
来源 |
<xs:attribute name="format" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>A format for the column, used to parse a textual
representation of the values.
Date formats are defined by:
http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html</xs:documentation>
</xs:annotation>
</xs:attribute>
|
元素:Group ValuesGroup
命名空间 |
http://schemas.google.com/dspl/2010 |
注释 |
一组原子值。每个
locale(xml:lang 属性),并且最多只有一个不带语言区域的值。全部
值可以是 value 元素或 conceptValue 元素。 |
图示 |
 |
使用方数量 |
|
型号 |
value* |conceptValue{0,1} |
儿童 |
conceptValue、value |
来源 |
<xs:group name="ValuesGroup">
<xs:annotation>
<xs:documentation>A group of atomic values. There must be at most one value per locale
(xml:lang attribute), and at most one value with no locale.
All values are either value elements or conceptValue elements.</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:element name="value" type="Value" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="conceptValue" minOccurs="0">
<xs:complexType>
<xs:attribute name="concept" type="xs:QName" use="required"/>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:group>
|
使用
oXygen XML Editor。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-25。"],[[["ValuesGroup elements can contain multiple \"value\" elements or a single \"conceptValue\" element."],["\"value\" elements can have multiple occurrences and may contain data in various locales using the \"lang\" attribute."],["\"conceptValue\" elements use the \"concept\" attribute to link to a specific concept defined by a QName."],["The ValuesGroup element itself can have attributes like \"id\", \"type\", and \"format\" to define the column's properties within a table."],["ValuesGroup is used to represent a group of atomic values within a dataset's schema."]]],["The `ValuesGroup` element defines a collection of atomic values, either as `value` or `conceptValue` elements. `conceptValue` must specify a `concept` attribute, while `value` can have a `lang` attribute. `ValuesGroup` attributes include `id` (required, up to 64 characters), `type` (required, with data type options), and `format` (optional, for parsing textual values). The `ValuesGroup` must contain one value per locale. The group is used by Table/column and complex types like Attribute and Values.\n"]]