blob: 7c23eb26e3afd5fc29b9ced4a844f6493633402b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2006, 2019 IBM Corporation and others.
This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
Contributors:
IBM Corporation - initial API and implementation
-->
<metadatamodel
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:mdt="http://org.eclipse.jst.jsf.common.metadata/metadataTraitTypes.ecore"
id="http://org.eclipse.jsf/metadataprocessing"
type="tagFile">
<entity type="tag" id="MyTag">
<entity type="attribute" id="MyBooleanAttr">
<trait id="attribute-value-runtime-type">
<value>org.eclipse.jst.jsf.metadata.tests.MyBooleanType</value>
</trait>
</entity>
<entity type="attribute" id="BooleanAttr">
<trait id="attribute-value-runtime-type">
<value>org.eclipse.jst.jsf.core.attributevalues.BooleanType</value>
</trait>
<trait id="barks">
<value xsi:type="mdt:ListOfValues">
<item>woof</item>
<item>ruff</item>
<item>howlll</item>
</value>
</trait>
</entity>
<entity type="attribute" id="NutherBooleanAttr">
<trait id="attribute-value-runtime-type">
<value>org.eclipse.jst.jsf.core.attributevalues.BooleanType</value>
</trait>
<trait id="barks">
<value xsi:type="mdt:ListOfValues">
<item>WOOF</item>
<item>RUFF</item>
<item>HOWLLL</item>
</value>
</trait>
</entity>
<entity type="attribute" id="MyValidValsAttr">
<trait id="attribute-value-runtime-type">
<value>org.eclipse.jst.jsf.metadata.tests.MyStringArrayType</value>
</trait>
<trait id="valid-values">
<value xsi:type="mdt:ListOfValues">
<item>AFirstVal</item>
<item>ASecondVal</item>
<item>AThirdVal</item>
<item>AFourthVal</item>
</value>
</trait>
</entity>
<entity type="attribute" id="MyNonMetaDataEnabledAttr">
<trait id="valid-values">
<value xsi:type="mdt:ListOfValues">
<item>AFirstVal</item>
<item>ASecondVal</item>
<item>AThirdVal</item>
<item>AFourthVal</item>
</value>
</trait>
</entity>
<entity type="attribute" id="MyNoImplMetaDataEnabledAttr">
<trait id="attribute-value-runtime-type">
<value>org.eclipse.jst.jsf.metadata.tests.NoImplType</value>
</trait>
<trait id="valid-values">
<value xsi:type="mdt:ListOfValues">
<item>AFirstVal</item>
<item>ASecondVal</item>
<item>AThirdVal</item>
<item>AFourthVal</item>
</value>
</trait>
</entity>
<entity type="attribute" id="MyDualTypeAttr">
<trait id="attribute-value-runtime-type">
<value>org.eclipse.jst.jsf.metadata.tests.MyStringArrayType</value>
</trait>
<trait id="valid-values">
<value xsi:type="mdt:ListOfValues">
<item>AFirstVal</item>
<item>ASecondVal</item>
<item>AThirdVal</item>
<item>AFourthVal</item>
</value>
</trait>
</entity>
<entity type="attribute" id="MyLongAttr">
<trait id="attribute-value-runtime-type">
<value>org.eclipse.jst.jsf.metadata.tests.MyLongType</value>
</trait>
</entity>
<entity type="attribute" id="MyMissingType">
<trait id="attribute-value-runtime-type">
<value>org.eclipse.jst.jsf.metadata.tests.WhereIsIt</value>
</trait>
</entity>
<entity type="attribute" id="ValidatorID">
<trait id="attribute-value-runtime-type">
<value>org.eclipse.jst.jsf.core.IdentifierType</value>
</trait>
<trait id="identifier-type">
<value>javax.faces.validator</value>
</trait>
</entity>
</entity>
</metadatamodel>
|