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