Last sync 2016.04.01
[deliverable/titan.core.git] / regression_test / XML / HN15589 / xtdl.ttcn
CommitLineData
970ed795 1/******************************************************************************
d44e3c4f 2 * Copyright (c) 2000-2016 Ericsson Telecom AB
970ed795
EL
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
d44e3c4f 7 *
8 * Contributors:
9 * Balasko, Jeno
10 * Raduly, Csaba
11 *
970ed795
EL
12 ******************************************************************************/
13// Generated from file(s):
14//
15// - XTDL.xsd
16
17module xtdl {
18
19type union Widgets
20{
21 Window window,
22 Tabbox tabbox
23}
24with {
25variant "untagged";
26};
27
28
29type Window Windowelem
30with {
31variant "name as uncapitalized";
32variant "element";
33};
34
35
36/* not much of a */
37type union Embeddedwidget
38{
39 Tabbox tabbox
40}
41with {
42variant "untagged";
43};
44
45
46type record Embeddedwidgets
47{
48 record of Embeddedwidget embeddedwidget_list
49}
50with {
51variant "untagged";
52variant (embeddedwidget_list) "untagged";
53};
54
55
56type record Window
57{
58 float height optional,
59 charstring id optional,
60 Orientation orientation optional,
61 charstring title optional,
62 float width optional,
63 record of Image image_list,
64 Embeddedwidgets embeddedwidgets
65}
66with {
67variant "name as uncapitalized";
68variant (height) "attribute";
69variant (id) "attribute";
70variant (orientation) "defaultForEmpty as 'vertical'";
71variant (orientation) "attribute";
72variant (title) "attribute";
73variant (width) "attribute";
74variant (image_list) "untagged";
75variant (image_list[-]) "name as 'image'";
76};
77
78
79type record Tabbox
80{
81 boolean disabled optional,
82 float flex optional,
83 charstring id optional,
84 Tablayout layout optional,
85 Tabs tabs,
86 Tabpanels tabpanels
87}
88with {
89variant "name as uncapitalized";
90variant (disabled) "attribute";
91variant (flex) "attribute";
92variant (id) "attribute";
93variant (layout) "attribute";
94};
95
96
97type record Tabs
98{
99 record of Tab tab_list
100}
101with {
102variant "name as uncapitalized";
103variant (tab_list) "untagged";
104variant (tab_list[-]) "name as 'tab'";
105};
106
107
108type record Tab
109{
110 charstring id optional,
111 charstring label_
112}
113with {
114variant "name as uncapitalized";
115variant (id) "attribute";
116variant (label_) "name as 'label'";
117variant (label_) "attribute";
118};
119
120
121type record Tabpanels
122{
123 record of Tabpanel tabpanel_list
124}
125with {
126variant "name as uncapitalized";
127variant (tabpanel_list) "untagged";
128variant (tabpanel_list[-]) "name as 'tabpanel'";
129};
130
131
132type record Tabpanel
133{
134 charstring id optional,
135 float maxheight optional,
136 Orientation orientation optional,
137 Embeddedwidgets embeddedwidgets
138}
139with {
140variant "name as uncapitalized";
141variant (id) "attribute";
142variant (maxheight) "attribute";
143variant (orientation) "attribute";
144};
145
146
147type enumerated Tablayout
148{
149 cARD,
150 lISTCARD,
151 sCROLL,
152 wRAP
153}
154with {
155variant "text 'cARD' as capitalized";
156variant "text 'lISTCARD' as capitalized";
157variant "text 'sCROLL' as capitalized";
158variant "text 'wRAP' as capitalized";
159variant "name as uncapitalized";
160};
161
162
163type record Image
164{
165 charstring id,
166 charstring imagedata optional,
167 charstring imageurl optional
168}
169with {
170variant "name as uncapitalized";
171variant (id) "attribute";
172variant (imagedata) "attribute";
173variant (imageurl) "attribute";
174};
175
176
177type enumerated Orientation
178{
179 horizontal,
180 vertical
181}
182with {
183variant "name as uncapitalized";
184};
185
186
187}
188with {
189encode "XML";
190variant "namespace as 'http://ttcn.ericsson.se/protocolModules/xtdp/xtdl'";
191variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
192variant "elementFormQualified";
193}
This page took 0.033661 seconds and 5 git commands to generate.