组件:表格
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
命名空间 |
http://schemas.google.com/dspl/2010 |
注释 |
有关表的文本信息。 |
图示 |
|
类型 |
信息 |
属性 |
|
模型 |
name、description{0,1}、url{0,1} |
儿童 |
description、name、url |
实例 |
<info>
<name>{1,1}</name>
<description>{0,1}</description>
<url>{0,1}</url>
</info>
|
来源 |
<xs:element name="info" type="Info" minOccurs="0">
<xs:annotation>
<xs:documentation>Textual information about the table.</xs:documentation>
</xs:annotation>
</xs:element>
|
元素:表格/列
命名空间 |
http://schemas.google.com/dspl/2010 |
注释 |
表中列的规范。 |
图示 |
|
属性 |
content: |
复杂 |
maxOccurs: |
无界限 |
|
模型 |
值* | conceptValue{0,1} |
儿童 |
conceptValue、value |
实例 |
<column format="" id="" type="">
<value lang="">{0,unbounded}</value>
<conceptValue concept="">{0,1}</conceptValue>
</column>
|
属性 |
QName |
类型 |
已修复 |
默认 |
使用 |
注解 |
格式 |
xs:字符串 |
|
|
可选 |
列的格式,用于解析值的文本表示。日期格式定义如下:http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateFormat.html |
id |
本地 ID |
|
|
必需 |
表格列的标识符。 |
type |
DataType |
|
|
必需 |
表列的数据类型。表中列的所有值都必须符合此数据类型。 |
|
来源 |
<xs:element name="column" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The specification of a column in the table.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:group ref="ValuesGroup" minOccurs="0">
<xs:annotation>
<xs:documentation>A constant value for the column.</xs:documentation>
</xs:annotation>
</xs:group>
<xs:attribute name="id" type="LocalId" use="required">
<xs:annotation>
<xs:documentation>The identifier of the table column.</xs:documentation>
</xs:annotation>
</xs:attribute>
<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>
<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>
</xs:complexType>
</xs:element>
|
元素:“Table”/“data”
命名空间 |
http://schemas.google.com/dspl/2010 |
注释 |
可在其中查找表数据的数据源。 |
图示 |
|
类型 |
数据 |
属性 |
|
模型 |
file |
儿童 |
file |
实例 |
<data>
<file encoding="utf-8" format="csv">{1,1}</file>
</data>
|
来源 |
<xs:element name="data" type="Data" minOccurs="0">
<xs:annotation>
<xs:documentation>A data source where data for the table can be found.</xs:documentation>
</xs:annotation>
</xs:element>
|
复杂类型:表格
命名空间 |
http://schemas.google.com/dspl/2010 |
注释 |
该表提供了数据集的数据。表格可以提供概念或切片的数据。 |
图示 |
|
使用方数量 |
|
模型 |
info{0,1}、column+、data{0,1} |
儿童 |
column、data、info |
属性 |
QName |
类型 |
已修复 |
默认 |
使用 |
注解 |
id |
ID |
|
|
必需 |
数据集中表的唯一标识符。 |
|
来源 |
<xs:complexType name="Table">
<xs:annotation>
<xs:documentation>A table provides data for the dataset. A table may provide data
for a concept or for a slice.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="info" type="Info" minOccurs="0">
<xs:annotation>
<xs:documentation>Textual information about the table.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="column" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The specification of a column in the table.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:group ref="ValuesGroup" minOccurs="0">
<xs:annotation>
<xs:documentation>A constant value for the column.</xs:documentation>
</xs:annotation>
</xs:group>
<xs:attribute name="id" type="LocalId" use="required">
<xs:annotation>
<xs:documentation>The identifier of the table column.</xs:documentation>
</xs:annotation>
</xs:attribute>
<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>
<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>
</xs:complexType>
</xs:element>
<xs:element name="data" type="Data" minOccurs="0">
<xs:annotation>
<xs:documentation>A data source where data for the table can be found.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="Id" use="required">
<xs:annotation>
<xs:documentation>The unique identifier of the table in the dataset.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
|
命名空间 |
没有命名空间 |
注释 |
列的格式,用于解析值的文本表示。日期格式定义如下:http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateFormat.html |
类型 |
xs:字符串 |
属性 |
|
来源 |
<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>
|
属性:表格/列/ @id
命名空间 |
没有命名空间 |
注释 |
表格列的标识符。 |
类型 |
本地 ID |
属性 |
|
属性 |
|
来源 |
<xs:attribute name="id" type="LocalId" use="required">
<xs:annotation>
<xs:documentation>The identifier of the table column.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
属性:表格 / 列 / @type
命名空间 |
没有命名空间 |
注释 |
表列的数据类型。表中列的所有值都必须符合此数据类型。 |
类型 |
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>
|
命名空间 |
没有命名空间 |
注释 |
数据集中表的唯一标识符。 |
类型 |
ID |
属性 |
|
属性 |
|
使用方数量 |
|
来源 |
<xs:attribute name="id" type="Id" use="required">
<xs:annotation>
<xs:documentation>The unique identifier of the table in the dataset.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
使用 oXygen XML 编辑器创建。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-01-19。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]