Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 399524 | Differences between
and this patch

Collapse All | Expand All

(-)a/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/application-client_7.xsd (+331 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
3
            targetNamespace="http://xmlns.jcp.org/xml/ns/javaee"
4
            xmlns:javaee="http://xmlns.jcp.org/xml/ns/javaee"
5
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6
            elementFormDefault="qualified"
7
            attributeFormDefault="unqualified"
8
            version="7">
9
  <xsd:annotation>
10
    <xsd:documentation>
11
12
      DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
13
      
14
      Copyright (c) 2009-2013 Oracle and/or its affiliates. All rights reserved.
15
      
16
      The contents of this file are subject to the terms of either the GNU
17
      General Public License Version 2 only ("GPL") or the Common Development
18
      and Distribution License("CDDL") (collectively, the "License").  You
19
      may not use this file except in compliance with the License.  You can
20
      obtain a copy of the License at
21
      https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
22
      or packager/legal/LICENSE.txt.  See the License for the specific
23
      language governing permissions and limitations under the License.
24
      
25
      When distributing the software, include this License Header Notice in each
26
      file and include the License file at packager/legal/LICENSE.txt.
27
      
28
      GPL Classpath Exception:
29
      Oracle designates this particular file as subject to the "Classpath"
30
      exception as provided by Oracle in the GPL Version 2 section of the License
31
      file that accompanied this code.
32
      
33
      Modifications:
34
      If applicable, add the following below the License Header, with the fields
35
      enclosed by brackets [] replaced by your own identifying information:
36
      "Portions Copyright [year] [name of copyright owner]"
37
      
38
      Contributor(s):
39
      If you wish your version of this file to be governed by only the CDDL or
40
      only the GPL Version 2, indicate your decision by adding "[Contributor]
41
      elects to include this software in this distribution under the [CDDL or GPL
42
      Version 2] license."  If you don't indicate a single choice of license, a
43
      recipient has the option to distribute your version of this file under
44
      either the CDDL, the GPL Version 2 or to extend the choice of license to
45
      its licensees as provided above.  However, if you add GPL Version 2 code
46
      and therefore, elected the GPL Version 2 license, then the option applies
47
      only if the new code is made subject to such option by the copyright
48
      holder.
49
      
50
    </xsd:documentation>
51
  </xsd:annotation>
52
53
  <xsd:annotation>
54
    <xsd:documentation>
55
      <![CDATA[[
56
      This is the XML Schema for the application client 7
57
      deployment descriptor.  The deployment descriptor must
58
      be named "META-INF/application-client.xml" in the
59
      application client's jar file.  All application client
60
      deployment descriptors must indicate the application
61
      client schema by using the Java EE namespace:
62
      
63
      http://xmlns.jcp.org/xml/ns/javaee
64
      
65
      and indicate the version of the schema by
66
      using the version element as shown below:
67
      
68
      <application-client xmlns="http://xmlns.jcp.org/xml/ns/javaee"
69
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
70
      xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee 
71
      	http://xmlns.jcp.org/xml/ns/javaee/application-client_7.xsd"
72
      version="7">
73
      ...
74
      </application-client>
75
      
76
      The instance documents may indicate the published version of
77
      the schema using the xsi:schemaLocation attribute for Java EE
78
      namespace with the following location:
79
      
80
      http://xmlns.jcp.org/xml/ns/javaee/application-client_7.xsd
81
      
82
      ]]>
83
    </xsd:documentation>
84
  </xsd:annotation>
85
86
  <xsd:annotation>
87
    <xsd:documentation>
88
89
      The following conventions apply to all Java EE
90
      deployment descriptor elements unless indicated otherwise.
91
      
92
      - In elements that specify a pathname to a file within the
93
      same JAR file, relative filenames (i.e., those not
94
      starting with "/") are considered relative to the root of
95
      the JAR file's namespace.  Absolute filenames (i.e., those
96
      starting with "/") also specify names in the root of the
97
      JAR file's namespace.  In general, relative names are
98
      preferred.  The exception is .war files where absolute
99
      names are preferred for consistency with the Servlet API.
100
      
101
    </xsd:documentation>
102
  </xsd:annotation>
103
104
  <xsd:include schemaLocation="javaee_7.xsd"/>
105
106
107
<!-- **************************************************** -->
108
109
  <xsd:element name="application-client"
110
               type="javaee:application-clientType">
111
    <xsd:annotation>
112
      <xsd:documentation>
113
114
        The application-client element is the root element of an
115
        application client deployment descriptor.  The application
116
        client deployment descriptor describes the EJB components
117
        and external resources referenced by the application
118
        client.
119
        
120
      </xsd:documentation>
121
    </xsd:annotation>
122
    <xsd:unique name="env-entry-name-uniqueness">
123
      <xsd:annotation>
124
        <xsd:documentation>
125
126
          The env-entry-name element contains the name of an
127
          application client's environment entry.  The name is a JNDI
128
          name relative to the java:comp/env context.  The name must
129
          be unique within an application client.
130
          
131
        </xsd:documentation>
132
      </xsd:annotation>
133
      <xsd:selector xpath="javaee:env-entry"/>
134
      <xsd:field xpath="javaee:env-entry-name"/>
135
    </xsd:unique>
136
    <xsd:unique name="ejb-ref-name-uniqueness">
137
      <xsd:annotation>
138
        <xsd:documentation>
139
140
          The ejb-ref-name element contains the name of an EJB
141
          reference. The EJB reference is an entry in the application
142
          client's environment and is relative to the
143
          java:comp/env context. The name must be unique within the
144
          application client.
145
          
146
          It is recommended that name is prefixed with "ejb/".
147
          
148
        </xsd:documentation>
149
      </xsd:annotation>
150
      <xsd:selector xpath="javaee:ejb-ref"/>
151
      <xsd:field xpath="javaee:ejb-ref-name"/>
152
    </xsd:unique>
153
    <xsd:unique name="res-ref-name-uniqueness">
154
      <xsd:annotation>
155
        <xsd:documentation>
156
157
          The res-ref-name element specifies the name of a
158
          resource manager connection factory reference.The name
159
          is a JNDI name relative to the java:comp/env context.
160
          The name must be unique within an application client.
161
          
162
        </xsd:documentation>
163
      </xsd:annotation>
164
      <xsd:selector xpath="javaee:resource-ref"/>
165
      <xsd:field xpath="javaee:res-ref-name"/>
166
    </xsd:unique>
167
    <xsd:unique name="resource-env-ref-uniqueness">
168
      <xsd:annotation>
169
        <xsd:documentation>
170
171
          The resource-env-ref-name element specifies the name of
172
          a resource environment reference; its value is the
173
          environment entry name used in the application client
174
          code. The name is a JNDI name relative to the
175
          java:comp/env context and must be unique within an
176
          application client.
177
          
178
        </xsd:documentation>
179
      </xsd:annotation>
180
      <xsd:selector xpath="javaee:resource-env-ref"/>
181
      <xsd:field xpath="javaee:resource-env-ref-name"/>
182
    </xsd:unique>
183
    <xsd:unique name="message-destination-ref-uniqueness">
184
      <xsd:annotation>
185
        <xsd:documentation>
186
187
          The message-destination-ref-name element specifies the
188
          name of a message destination reference; its value is
189
          the message destination reference name used in the
190
          application client code. The name is a JNDI name
191
          relative to the java:comp/env context and must be unique
192
          within an application client.
193
          
194
        </xsd:documentation>
195
      </xsd:annotation>
196
      <xsd:selector xpath="javaee:message-destination-ref"/>
197
      <xsd:field xpath="javaee:message-destination-ref-name"/>
198
    </xsd:unique>
199
  </xsd:element>
200
201
202
<!-- **************************************************** -->
203
204
  <xsd:complexType name="application-clientType">
205
    <xsd:sequence>
206
      <xsd:element name="module-name"
207
                   type="javaee:string"
208
                   minOccurs="0"/>
209
      <xsd:group ref="javaee:descriptionGroup"/>
210
      <xsd:element name="env-entry"
211
                   type="javaee:env-entryType"
212
                   minOccurs="0"
213
                   maxOccurs="unbounded"/>
214
      <xsd:element name="ejb-ref"
215
                   type="javaee:ejb-refType"
216
                   minOccurs="0"
217
                   maxOccurs="unbounded"/>
218
      <xsd:group ref="javaee:service-refGroup"/>
219
      <xsd:element name="resource-ref"
220
                   type="javaee:resource-refType"
221
                   minOccurs="0"
222
                   maxOccurs="unbounded"/>
223
      <xsd:element name="resource-env-ref"
224
                   type="javaee:resource-env-refType"
225
                   minOccurs="0"
226
                   maxOccurs="unbounded"/>
227
      <xsd:element name="message-destination-ref"
228
                   type="javaee:message-destination-refType"
229
                   minOccurs="0"
230
                   maxOccurs="unbounded"/>
231
      <xsd:element name="persistence-unit-ref"
232
                   type="javaee:persistence-unit-refType"
233
                   minOccurs="0"
234
                   maxOccurs="unbounded"/>
235
      <xsd:element name="post-construct"
236
                   type="javaee:lifecycle-callbackType"
237
                   minOccurs="0"
238
                   maxOccurs="unbounded"/>
239
      <xsd:element name="pre-destroy"
240
                   type="javaee:lifecycle-callbackType"
241
                   minOccurs="0"
242
                   maxOccurs="unbounded"/>
243
      <xsd:element name="callback-handler"
244
                   type="javaee:fully-qualified-classType"
245
                   minOccurs="0">
246
        <xsd:annotation>
247
          <xsd:documentation>
248
249
            The callback-handler element names a class provided by
250
            the application.  The class must have a no args
251
            constructor and must implement the
252
            javax.security.auth.callback.CallbackHandler
253
            interface.  The class will be instantiated by the
254
            application client container and used by the container
255
            to collect authentication information from the user.
256
            
257
          </xsd:documentation>
258
        </xsd:annotation>
259
      </xsd:element>
260
      <xsd:element name="message-destination"
261
                   type="javaee:message-destinationType"
262
                   minOccurs="0"
263
                   maxOccurs="unbounded"/>
264
      <xsd:element name="data-source"
265
                   type="javaee:data-sourceType"
266
                   minOccurs="0"
267
                   maxOccurs="unbounded"/>
268
      <xsd:element name="jms-connection-factory"
269
                   type="javaee:jms-connection-factoryType"
270
                   minOccurs="0"
271
                   maxOccurs="unbounded"/>
272
      <xsd:element name="jms-destination"
273
                   type="javaee:jms-destinationType"
274
                   minOccurs="0"
275
                   maxOccurs="unbounded"/>
276
      <xsd:element name="mail-session"
277
                   type="javaee:mail-sessionType"
278
                   minOccurs="0"
279
                   maxOccurs="unbounded"/>
280
      <xsd:element name="connection-factory"
281
                   type="javaee:connection-factory-resourceType"
282
                   minOccurs="0"
283
                   maxOccurs="unbounded"/>
284
      <xsd:element name="administered-object"
285
                   type="javaee:administered-objectType"
286
                   minOccurs="0"
287
                   maxOccurs="unbounded"/>
288
    </xsd:sequence>
289
    <xsd:attribute name="version"
290
                   type="javaee:dewey-versionType"
291
                   fixed="7"
292
                   use="required">
293
      <xsd:annotation>
294
        <xsd:documentation>
295
296
          The required value for the version is 7.
297
          
298
        </xsd:documentation>
299
      </xsd:annotation>
300
    </xsd:attribute>
301
    <xsd:attribute name="metadata-complete"
302
                   type="xsd:boolean">
303
      <xsd:annotation>
304
        <xsd:documentation>
305
306
          The metadata-complete attribute defines whether this
307
          deployment descriptor and other related deployment
308
          descriptors for this module (e.g., web service
309
          descriptors) are complete, or whether the class
310
          files available to this module and packaged with
311
          this application should be examined for annotations
312
          that specify deployment information.
313
          
314
          If metadata-complete is set to "true", the deployment
315
          tool must ignore any annotations that specify deployment
316
          information, which might be present in the class files
317
          of the application.
318
          
319
          If metadata-complete is not specified or is set to
320
          "false", the deployment tool must examine the class
321
          files of the application for annotations, as
322
          specified by the specifications.
323
          
324
        </xsd:documentation>
325
      </xsd:annotation>
326
    </xsd:attribute>
327
    <xsd:attribute name="id"
328
                   type="xsd:ID"/>
329
  </xsd:complexType>
330
331
</xsd:schema>
(-)a/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/application_7.xsd (+414 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
3
            targetNamespace="http://xmlns.jcp.org/xml/ns/javaee"
4
            xmlns:javaee="http://xmlns.jcp.org/xml/ns/javaee"
5
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6
            elementFormDefault="qualified"
7
            attributeFormDefault="unqualified"
8
            version="7">
9
  <xsd:annotation>
10
    <xsd:documentation>
11
12
      DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
13
      
14
      Copyright (c) 2009-2013 Oracle and/or its affiliates. All rights reserved.
15
      
16
      The contents of this file are subject to the terms of either the GNU
17
      General Public License Version 2 only ("GPL") or the Common Development
18
      and Distribution License("CDDL") (collectively, the "License").  You
19
      may not use this file except in compliance with the License.  You can
20
      obtain a copy of the License at
21
      https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
22
      or packager/legal/LICENSE.txt.  See the License for the specific
23
      language governing permissions and limitations under the License.
24
      
25
      When distributing the software, include this License Header Notice in each
26
      file and include the License file at packager/legal/LICENSE.txt.
27
      
28
      GPL Classpath Exception:
29
      Oracle designates this particular file as subject to the "Classpath"
30
      exception as provided by Oracle in the GPL Version 2 section of the License
31
      file that accompanied this code.
32
      
33
      Modifications:
34
      If applicable, add the following below the License Header, with the fields
35
      enclosed by brackets [] replaced by your own identifying information:
36
      "Portions Copyright [year] [name of copyright owner]"
37
      
38
      Contributor(s):
39
      If you wish your version of this file to be governed by only the CDDL or
40
      only the GPL Version 2, indicate your decision by adding "[Contributor]
41
      elects to include this software in this distribution under the [CDDL or GPL
42
      Version 2] license."  If you don't indicate a single choice of license, a
43
      recipient has the option to distribute your version of this file under
44
      either the CDDL, the GPL Version 2 or to extend the choice of license to
45
      its licensees as provided above.  However, if you add GPL Version 2 code
46
      and therefore, elected the GPL Version 2 license, then the option applies
47
      only if the new code is made subject to such option by the copyright
48
      holder.
49
      
50
    </xsd:documentation>
51
  </xsd:annotation>
52
53
  <xsd:annotation>
54
    <xsd:documentation>
55
      <![CDATA[[
56
      This is the XML Schema for the application 7 deployment
57
      descriptor.  The deployment descriptor must be named
58
      "META-INF/application.xml" in the application's ear file.
59
      All application deployment descriptors must indicate
60
      the application schema by using the Java EE namespace:
61
      
62
      http://xmlns.jcp.org/xml/ns/javaee
63
      
64
      and indicate the version of the schema by
65
      using the version element as shown below:
66
      
67
      <application xmlns="http://xmlns.jcp.org/xml/ns/javaee"
68
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
69
      xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee 
70
      	http://xmlns.jcp.org/xml/ns/javaee/application_7.xsd"
71
      version="7">
72
      ...
73
      </application>
74
      
75
      The instance documents may indicate the published version of
76
      the schema using the xsi:schemaLocation attribute for Java EE
77
      namespace with the following location:
78
      
79
      http://xmlns.jcp.org/xml/ns/javaee/application_7.xsd
80
      
81
      ]]>
82
    </xsd:documentation>
83
  </xsd:annotation>
84
85
  <xsd:annotation>
86
    <xsd:documentation>
87
88
      The following conventions apply to all Java EE
89
      deployment descriptor elements unless indicated otherwise.
90
      
91
      - In elements that specify a pathname to a file within the
92
      same JAR file, relative filenames (i.e., those not
93
      starting with "/") are considered relative to the root of
94
      the JAR file's namespace.  Absolute filenames (i.e., those
95
      starting with "/") also specify names in the root of the
96
      JAR file's namespace.  In general, relative names are
97
      preferred.  The exception is .war files where absolute
98
      names are preferred for consistency with the Servlet API.
99
      
100
    </xsd:documentation>
101
  </xsd:annotation>
102
103
  <xsd:include schemaLocation="javaee_7.xsd"/>
104
105
106
<!-- **************************************************** -->
107
108
  <xsd:element name="application"
109
               type="javaee:applicationType">
110
    <xsd:annotation>
111
      <xsd:documentation>
112
113
        The application element is the root element of a Java EE
114
        application deployment descriptor.
115
        
116
      </xsd:documentation>
117
    </xsd:annotation>
118
    <xsd:unique name="context-root-uniqueness">
119
      <xsd:annotation>
120
        <xsd:documentation>
121
122
          The context-root element content must be unique
123
          in the ear. 
124
          
125
        </xsd:documentation>
126
      </xsd:annotation>
127
      <xsd:selector xpath="javaee:module/javaee:web"/>
128
      <xsd:field xpath="javaee:context-root"/>
129
    </xsd:unique>
130
    <xsd:unique name="security-role-uniqueness">
131
      <xsd:annotation>
132
        <xsd:documentation>
133
134
          The security-role-name element content
135
          must be unique in the ear.  
136
          
137
        </xsd:documentation>
138
      </xsd:annotation>
139
      <xsd:selector xpath="javaee:security-role"/>
140
      <xsd:field xpath="javaee:role-name"/>
141
    </xsd:unique>
142
  </xsd:element>
143
144
145
<!-- **************************************************** -->
146
147
  <xsd:complexType name="applicationType">
148
    <xsd:annotation>
149
      <xsd:documentation>
150
151
        The applicationType defines the structure of the
152
        application. 
153
        
154
      </xsd:documentation>
155
    </xsd:annotation>
156
    <xsd:sequence>
157
      <xsd:element name="application-name"
158
                   type="javaee:string"
159
                   minOccurs="0"/>
160
      <xsd:group ref="javaee:descriptionGroup"/>
161
      <xsd:element name="initialize-in-order"
162
                   type="javaee:generic-booleanType"
163
                   minOccurs="0"
164
                   maxOccurs="1">
165
        <xsd:annotation>
166
          <xsd:documentation>
167
168
            If initialize-in-order is true, modules must be initialized
169
            in the order they're listed in this deployment descriptor,
170
            with the exception of application client modules, which can
171
            be initialized in any order.
172
            If initialize-in-order is not set or set to false, the order
173
            of initialization is unspecified and may be product-dependent.
174
            
175
          </xsd:documentation>
176
        </xsd:annotation>
177
      </xsd:element>
178
      <xsd:element name="module"
179
                   type="javaee:moduleType"
180
                   maxOccurs="unbounded">
181
        <xsd:annotation>
182
          <xsd:documentation>
183
184
            The application deployment descriptor must have one
185
            module element for each Java EE module in the
186
            application package. A module element is defined 
187
            by moduleType definition. 
188
            
189
          </xsd:documentation>
190
        </xsd:annotation>
191
      </xsd:element>
192
      <xsd:element name="security-role"
193
                   type="javaee:security-roleType"
194
                   minOccurs="0"
195
                   maxOccurs="unbounded"/>
196
      <xsd:element name="library-directory"
197
                   type="javaee:pathType"
198
                   minOccurs="0"
199
                   maxOccurs="1">
200
        <xsd:annotation>
201
          <xsd:documentation>
202
203
            The library-directory element specifies the pathname
204
            of a directory within the application package, relative
205
            to the top level of the application package.  All files
206
            named "*.jar" in this directory must be made available
207
            in the class path of all components included in this
208
            application package.  If this element isn't specified,
209
            the directory named "lib" is searched.  An empty element
210
            may be used to disable searching.
211
            
212
          </xsd:documentation>
213
        </xsd:annotation>
214
      </xsd:element>
215
      <xsd:element name="env-entry"
216
                   type="javaee:env-entryType"
217
                   minOccurs="0"
218
                   maxOccurs="unbounded"/>
219
      <xsd:element name="ejb-ref"
220
                   type="javaee:ejb-refType"
221
                   minOccurs="0"
222
                   maxOccurs="unbounded"/>
223
      <xsd:element name="ejb-local-ref"
224
                   type="javaee:ejb-local-refType"
225
                   minOccurs="0"
226
                   maxOccurs="unbounded"/>
227
      <xsd:group ref="javaee:service-refGroup"/>
228
      <xsd:element name="resource-ref"
229
                   type="javaee:resource-refType"
230
                   minOccurs="0"
231
                   maxOccurs="unbounded"/>
232
      <xsd:element name="resource-env-ref"
233
                   type="javaee:resource-env-refType"
234
                   minOccurs="0"
235
                   maxOccurs="unbounded"/>
236
      <xsd:element name="message-destination-ref"
237
                   type="javaee:message-destination-refType"
238
                   minOccurs="0"
239
                   maxOccurs="unbounded"/>
240
      <xsd:element name="persistence-context-ref"
241
                   type="javaee:persistence-context-refType"
242
                   minOccurs="0"
243
                   maxOccurs="unbounded"/>
244
      <xsd:element name="persistence-unit-ref"
245
                   type="javaee:persistence-unit-refType"
246
                   minOccurs="0"
247
                   maxOccurs="unbounded"/>
248
      <xsd:element name="message-destination"
249
                   type="javaee:message-destinationType"
250
                   minOccurs="0"
251
                   maxOccurs="unbounded"/>
252
      <xsd:element name="data-source"
253
                   type="javaee:data-sourceType"
254
                   minOccurs="0"
255
                   maxOccurs="unbounded"/>
256
      <xsd:element name="jms-connection-factory"
257
                   type="javaee:jms-connection-factoryType"
258
                   minOccurs="0"
259
                   maxOccurs="unbounded"/>
260
      <xsd:element name="jms-destination"
261
                   type="javaee:jms-destinationType"
262
                   minOccurs="0"
263
                   maxOccurs="unbounded"/>
264
      <xsd:element name="mail-session"
265
                   type="javaee:mail-sessionType"
266
                   minOccurs="0"
267
                   maxOccurs="unbounded"/>
268
      <xsd:element name="connection-factory"
269
                   type="javaee:connection-factory-resourceType"
270
                   minOccurs="0"
271
                   maxOccurs="unbounded"/>
272
      <xsd:element name="administered-object"
273
                   type="javaee:administered-objectType"
274
                   minOccurs="0"
275
                   maxOccurs="unbounded"/>
276
    </xsd:sequence>
277
    <xsd:attribute name="version"
278
                   type="javaee:dewey-versionType"
279
                   fixed="7"
280
                   use="required">
281
      <xsd:annotation>
282
        <xsd:documentation>
283
284
          The required value for the version is 7.
285
          
286
        </xsd:documentation>
287
      </xsd:annotation>
288
    </xsd:attribute>
289
    <xsd:attribute name="id"
290
                   type="xsd:ID"/>
291
  </xsd:complexType>
292
293
294
<!-- **************************************************** -->
295
296
  <xsd:complexType name="moduleType">
297
    <xsd:annotation>
298
      <xsd:documentation>
299
300
        The moduleType defines a single Java EE module and contains a
301
        connector, ejb, java, or web element, which indicates the
302
        module type and contains a path to the module file, and an
303
        optional alt-dd element, which specifies an optional URI to
304
        the post-assembly version of the deployment descriptor.
305
        
306
      </xsd:documentation>
307
    </xsd:annotation>
308
    <xsd:sequence>
309
      <xsd:choice>
310
        <xsd:element name="connector"
311
                     type="javaee:pathType">
312
          <xsd:annotation>
313
            <xsd:documentation>
314
315
              The connector element specifies the URI of a
316
              resource adapter archive file, relative to the
317
              top level of the application package.
318
              
319
            </xsd:documentation>
320
          </xsd:annotation>
321
        </xsd:element>
322
        <xsd:element name="ejb"
323
                     type="javaee:pathType">
324
          <xsd:annotation>
325
            <xsd:documentation>
326
327
              The ejb element specifies the URI of an ejb-jar,
328
              relative to the top level of the application
329
              package.
330
              
331
            </xsd:documentation>
332
          </xsd:annotation>
333
        </xsd:element>
334
        <xsd:element name="java"
335
                     type="javaee:pathType">
336
          <xsd:annotation>
337
            <xsd:documentation>
338
339
              The java element specifies the URI of a java
340
              application client module, relative to the top
341
              level of the application package.
342
              
343
            </xsd:documentation>
344
          </xsd:annotation>
345
        </xsd:element>
346
        <xsd:element name="web"
347
                     type="javaee:webType"/>
348
      </xsd:choice>
349
      <xsd:element name="alt-dd"
350
                   type="javaee:pathType"
351
                   minOccurs="0">
352
        <xsd:annotation>
353
          <xsd:documentation>
354
355
            The alt-dd element specifies an optional URI to the
356
            post-assembly version of the deployment descriptor
357
            file for a particular Java EE module.  The URI must
358
            specify the full pathname of the deployment
359
            descriptor file relative to the application's root
360
            directory. If alt-dd is not specified, the deployer
361
            must read the deployment descriptor from the default
362
            location and file name required by the respective
363
            component specification.
364
            
365
          </xsd:documentation>
366
        </xsd:annotation>
367
      </xsd:element>
368
    </xsd:sequence>
369
    <xsd:attribute name="id"
370
                   type="xsd:ID"/>
371
  </xsd:complexType>
372
373
374
<!-- **************************************************** -->
375
376
  <xsd:complexType name="webType">
377
    <xsd:annotation>
378
      <xsd:documentation>
379
380
        The webType defines the web-uri and context-root of
381
        a web application module.
382
        
383
      </xsd:documentation>
384
    </xsd:annotation>
385
    <xsd:sequence>
386
      <xsd:element name="web-uri"
387
                   type="javaee:pathType">
388
        <xsd:annotation>
389
          <xsd:documentation>
390
391
            The web-uri element specifies the URI of a web
392
            application file, relative to the top level of the
393
            application package.
394
            
395
          </xsd:documentation>
396
        </xsd:annotation>
397
      </xsd:element>
398
      <xsd:element name="context-root"
399
                   type="javaee:string">
400
        <xsd:annotation>
401
          <xsd:documentation>
402
403
            The context-root element specifies the context root
404
            of a web application.
405
            
406
          </xsd:documentation>
407
        </xsd:annotation>
408
      </xsd:element>
409
    </xsd:sequence>
410
    <xsd:attribute name="id"
411
                   type="xsd:ID"/>
412
  </xsd:complexType>
413
414
</xsd:schema>
(-)a/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/connector_1_7.xsd (+1233 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
3
            targetNamespace="http://xmlns.jcp.org/xml/ns/javaee"
4
            xmlns:javaee="http://xmlns.jcp.org/xml/ns/javaee"
5
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6
            elementFormDefault="qualified"
7
            attributeFormDefault="unqualified"
8
            version="1.7">
9
  <xsd:annotation>
10
    <xsd:documentation>
11
12
      DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
13
      
14
      Copyright (c) 2009-2013 Oracle and/or its affiliates. All rights reserved.
15
      
16
      The contents of this file are subject to the terms of either the GNU
17
      General Public License Version 2 only ("GPL") or the Common Development
18
      and Distribution License("CDDL") (collectively, the "License").  You
19
      may not use this file except in compliance with the License.  You can
20
      obtain a copy of the License at
21
      https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
22
      or packager/legal/LICENSE.txt.  See the License for the specific
23
      language governing permissions and limitations under the License.
24
      
25
      When distributing the software, include this License Header Notice in each
26
      file and include the License file at packager/legal/LICENSE.txt.
27
      
28
      GPL Classpath Exception:
29
      Oracle designates this particular file as subject to the "Classpath"
30
      exception as provided by Oracle in the GPL Version 2 section of the License
31
      file that accompanied this code.
32
      
33
      Modifications:
34
      If applicable, add the following below the License Header, with the fields
35
      enclosed by brackets [] replaced by your own identifying information:
36
      "Portions Copyright [year] [name of copyright owner]"
37
      
38
      Contributor(s):
39
      If you wish your version of this file to be governed by only the CDDL or
40
      only the GPL Version 2, indicate your decision by adding "[Contributor]
41
      elects to include this software in this distribution under the [CDDL or GPL
42
      Version 2] license."  If you don't indicate a single choice of license, a
43
      recipient has the option to distribute your version of this file under
44
      either the CDDL, the GPL Version 2 or to extend the choice of license to
45
      its licensees as provided above.  However, if you add GPL Version 2 code
46
      and therefore, elected the GPL Version 2 license, then the option applies
47
      only if the new code is made subject to such option by the copyright
48
      holder.
49
      
50
    </xsd:documentation>
51
  </xsd:annotation>
52
53
  <xsd:annotation>
54
    <xsd:documentation>
55
56
      DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
57
      
58
      Copyright (c) 2003-2013 Oracle and/or its affiliates. All rights reserved.
59
      
60
      The contents of this file are subject to the terms of either the GNU
61
      General Public License Version 2 only ("GPL") or the Common Development
62
      and Distribution License("CDDL") (collectively, the "License").  You
63
      may not use this file except in compliance with the License.  You can
64
      obtain a copy of the License at
65
      https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
66
      or packager/legal/LICENSE.txt.  See the License for the specific
67
      language governing permissions and limitations under the License.
68
      
69
      When distributing the software, include this License Header Notice in each
70
      file and include the License file at packager/legal/LICENSE.txt.
71
      
72
      GPL Classpath Exception:
73
      Oracle designates this particular file as subject to the "Classpath"
74
      exception as provided by Oracle in the GPL Version 2 section of the License
75
      file that accompanied this code.
76
      
77
      Modifications:
78
      If applicable, add the following below the License Header, with the fields
79
      enclosed by brackets [] replaced by your own identifying information:
80
      "Portions Copyright [year] [name of copyright owner]"
81
      
82
      Contributor(s):
83
      If you wish your version of this file to be governed by only the CDDL or
84
      only the GPL Version 2, indicate your decision by adding "[Contributor]
85
      elects to include this software in this distribution under the [CDDL or GPL
86
      Version 2] license."  If you don't indicate a single choice of license, a
87
      recipient has the option to distribute your version of this file under
88
      either the CDDL, the GPL Version 2 or to extend the choice of license to
89
      its licensees as provided above.  However, if you add GPL Version 2 code
90
      and therefore, elected the GPL Version 2 license, then the option applies
91
      only if the new code is made subject to such option by the copyright
92
      holder.
93
      
94
    </xsd:documentation>
95
  </xsd:annotation>
96
97
  <xsd:annotation>
98
    <xsd:documentation>
99
      <![CDATA[[
100
      This is the XML Schema for the Connector 1.7 deployment
101
      descriptor.  The deployment descriptor must be named
102
      "META-INF/ra.xml" in the connector's rar file.  All Connector
103
      deployment descriptors must indicate the connector resource
104
      adapter schema by using the Java EE namespace:
105
      
106
      http://xmlns.jcp.org/xml/ns/javaee
107
      
108
      and by indicating the version of the schema by
109
      using the version element as shown below:
110
      
111
      <connector xmlns="http://xmlns.jcp.org/xml/ns/javaee"
112
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
113
      xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
114
      	 http://xmlns.jcp.org/xml/ns/javaee/connector_1_7.xsd"
115
      version="1.7">
116
      ...
117
      </connector>
118
      
119
      The instance documents may indicate the published version of
120
      the schema using the xsi:schemaLocation attribute for Java EE
121
      namespace with the following location:
122
      
123
      http://xmlns.jcp.org/xml/ns/javaee/connector_1_7.xsd
124
      
125
      ]]>
126
    </xsd:documentation>
127
  </xsd:annotation>
128
129
  <xsd:annotation>
130
    <xsd:documentation>
131
132
      The following conventions apply to all Java EE
133
      deployment descriptor elements unless indicated otherwise.
134
      
135
      - In elements that specify a pathname to a file within the
136
      same JAR file, relative filenames (i.e., those not
137
      starting with "/") are considered relative to the root of
138
      the JAR file's namespace.  Absolute filenames (i.e., those
139
      starting with "/") also specify names in the root of the
140
      JAR file's namespace.  In general, relative names are
141
      preferred.  The exception is .war files where absolute
142
      names are preferred for consistency with the Servlet API.
143
      
144
    </xsd:documentation>
145
  </xsd:annotation>
146
147
  <xsd:include schemaLocation="javaee_7.xsd"/>
148
149
150
<!-- **************************************************** -->
151
152
  <xsd:element name="connector"
153
               type="javaee:connectorType">
154
    <xsd:annotation>
155
      <xsd:documentation>
156
157
        The connector element is the root element of the deployment
158
        descriptor for the resource adapter. This element includes
159
        general information - vendor name, resource adapter version,
160
        icon - about the resource adapter module. It also includes
161
        information specific to the implementation of the resource
162
        adapter library as specified through the element
163
        resourceadapter.
164
        
165
      </xsd:documentation>
166
    </xsd:annotation>
167
  </xsd:element>
168
169
170
<!-- **************************************************** -->
171
172
  <xsd:complexType name="activationspecType">
173
    <xsd:annotation>
174
      <xsd:documentation>
175
176
        The activationspecType specifies an activation
177
        specification.  The information includes fully qualified
178
        Java class name of an activation specification and a set of
179
        required configuration property names.
180
        
181
      </xsd:documentation>
182
    </xsd:annotation>
183
    <xsd:sequence>
184
      <xsd:element name="activationspec-class"
185
                   type="javaee:fully-qualified-classType">
186
        <xsd:annotation>
187
          <xsd:documentation>
188
            <![CDATA[[
189
            The element activationspec-class specifies the fully
190
            qualified Java class name of the activation
191
            specification class. This class must implement the
192
            javax.resource.spi.ActivationSpec interface. The
193
            implementation of this class is required to be a
194
            JavaBean.
195
            
196
            Example:
197
            	  <activationspec-class>com.wombat.ActivationSpecImpl
198
            	  </activationspec-class>
199
            
200
            ]]>
201
          </xsd:documentation>
202
        </xsd:annotation>
203
      </xsd:element>
204
      <xsd:element name="required-config-property"
205
                   type="javaee:required-config-propertyType"
206
                   minOccurs="0"
207
                   maxOccurs="unbounded">
208
        <xsd:annotation>
209
          <xsd:documentation>
210
211
            The required-config-property element is deprecated since
212
            Connectors 1.6 specification. The resource adapter 
213
            implementation is recommended to use the @NotNull
214
            Bean Validation annotation or its XML validation
215
            descriptor equivalent to indicate that a configuration
216
            property is required to be specified by the deployer.
217
            See the Connectors specification for more information. 
218
            
219
          </xsd:documentation>
220
        </xsd:annotation>
221
      </xsd:element>
222
      <xsd:element name="config-property"
223
                   type="javaee:config-propertyType"
224
                   minOccurs="0"
225
                   maxOccurs="unbounded"/>
226
    </xsd:sequence>
227
    <xsd:attribute name="id"
228
                   type="xsd:ID"/>
229
  </xsd:complexType>
230
231
232
<!-- **************************************************** -->
233
234
  <xsd:complexType name="adminobjectType">
235
    <xsd:annotation>
236
      <xsd:documentation>
237
238
        The adminobjectType specifies information about an
239
        administered object.  Administered objects are specific to a
240
        messaging style or message provider.  This contains
241
        information on the Java type of the interface implemented by
242
        an administered object, its Java class name and its
243
        configuration properties.
244
        
245
      </xsd:documentation>
246
    </xsd:annotation>
247
    <xsd:sequence>
248
      <xsd:element name="adminobject-interface"
249
                   type="javaee:fully-qualified-classType">
250
        <xsd:annotation>
251
          <xsd:documentation>
252
            <![CDATA[[
253
            The element adminobject-interface specifies the
254
            fully qualified name of the Java type of the
255
            interface implemented by an administered object.
256
            
257
            Example:
258
            	<adminobject-interface>javax.jms.Destination
259
            	</adminobject-interface>
260
            
261
            ]]>
262
          </xsd:documentation>
263
        </xsd:annotation>
264
      </xsd:element>
265
      <xsd:element name="adminobject-class"
266
                   type="javaee:fully-qualified-classType">
267
        <xsd:annotation>
268
          <xsd:documentation>
269
            <![CDATA[[
270
            The element adminobject-class specifies the fully
271
            qualified Java class name of an administered object.
272
            
273
            Example:
274
            	  <adminobject-class>com.wombat.DestinationImpl
275
            	  </adminobject-class>
276
            
277
            ]]>
278
          </xsd:documentation>
279
        </xsd:annotation>
280
      </xsd:element>
281
      <xsd:element name="config-property"
282
                   type="javaee:config-propertyType"
283
                   minOccurs="0"
284
                   maxOccurs="unbounded"/>
285
    </xsd:sequence>
286
    <xsd:attribute name="id"
287
                   type="xsd:ID"/>
288
  </xsd:complexType>
289
290
291
<!-- **************************************************** -->
292
293
  <xsd:complexType name="authentication-mechanismType">
294
    <xsd:annotation>
295
      <xsd:documentation>
296
297
        The authentication-mechanismType specifies an authentication
298
        mechanism supported by the resource adapter. Note that this
299
        support is for the resource adapter and not for the
300
        underlying EIS instance. The optional description specifies
301
        any resource adapter specific requirement for the support of
302
        security contract and authentication mechanism.
303
        
304
        Note that BasicPassword mechanism type should support the
305
        javax.resource.spi.security.PasswordCredential interface.
306
        The Kerbv5 mechanism type should support the
307
        org.ietf.jgss.GSSCredential interface or the deprecated
308
        javax.resource.spi.security.GenericCredential interface.
309
        
310
      </xsd:documentation>
311
    </xsd:annotation>
312
    <xsd:sequence>
313
      <xsd:element name="description"
314
                   type="javaee:descriptionType"
315
                   minOccurs="0"
316
                   maxOccurs="unbounded"/>
317
      <xsd:element name="authentication-mechanism-type"
318
                   type="javaee:xsdStringType">
319
        <xsd:annotation>
320
          <xsd:documentation>
321
            <![CDATA[[
322
            The element authentication-mechanism-type specifies
323
            type of an authentication mechanism.
324
            
325
            The example values are:
326
            
327
            <authentication-mechanism-type>BasicPassword
328
            </authentication-mechanism-type>
329
            
330
            <authentication-mechanism-type>Kerbv5
331
            </authentication-mechanism-type>
332
            
333
            Any additional security mechanisms are outside the
334
            scope of the Connector architecture specification.
335
            
336
            ]]>
337
          </xsd:documentation>
338
        </xsd:annotation>
339
      </xsd:element>
340
      <xsd:element name="credential-interface"
341
                   type="javaee:credential-interfaceType"/>
342
    </xsd:sequence>
343
    <xsd:attribute name="id"
344
                   type="xsd:ID"/>
345
  </xsd:complexType>
346
347
348
<!-- **************************************************** -->
349
350
  <xsd:complexType name="config-property-nameType">
351
    <xsd:annotation>
352
      <xsd:documentation>
353
        <![CDATA[[
354
        The config-property-nameType contains the name of a
355
        configuration property.
356
        
357
        The connector architecture defines a set of well-defined
358
        properties all of type java.lang.String. These are as
359
        follows.
360
        
361
        ServerName
362
        PortNumber
363
        UserName
364
        Password
365
        ConnectionURL
366
        
367
        A resource adapter provider can extend this property set to
368
        include properties specific to the resource adapter and its
369
        underlying EIS.
370
        
371
        Possible values include
372
        	  ServerName
373
        	  PortNumber
374
        	  UserName
375
        	  Password
376
        	  ConnectionURL
377
        
378
        Example: <config-property-name>ServerName</config-property-name>
379
        
380
        ]]>
381
      </xsd:documentation>
382
    </xsd:annotation>
383
    <xsd:simpleContent>
384
      <xsd:restriction base="javaee:xsdStringType"/>
385
    </xsd:simpleContent>
386
  </xsd:complexType>
387
388
389
<!-- **************************************************** -->
390
391
  <xsd:complexType name="config-property-typeType">
392
    <xsd:annotation>
393
      <xsd:documentation>
394
        <![CDATA[[
395
        The config-property-typeType contains the fully
396
        qualified Java type of a configuration property.
397
        
398
        The following are the legal values:
399
        java.lang.Boolean, java.lang.String, java.lang.Integer,
400
        java.lang.Double, java.lang.Byte, java.lang.Short,
401
        java.lang.Long, java.lang.Float, java.lang.Character
402
        
403
        Used in: config-property
404
        
405
        Example:
406
        <config-property-type>java.lang.String</config-property-type>
407
        
408
        ]]>
409
      </xsd:documentation>
410
    </xsd:annotation>
411
    <xsd:simpleContent>
412
      <xsd:restriction base="javaee:string">
413
        <xsd:enumeration value="java.lang.Boolean"/>
414
        <xsd:enumeration value="java.lang.String"/>
415
        <xsd:enumeration value="java.lang.Integer"/>
416
        <xsd:enumeration value="java.lang.Double"/>
417
        <xsd:enumeration value="java.lang.Byte"/>
418
        <xsd:enumeration value="java.lang.Short"/>
419
        <xsd:enumeration value="java.lang.Long"/>
420
        <xsd:enumeration value="java.lang.Float"/>
421
        <xsd:enumeration value="java.lang.Character"/>
422
      </xsd:restriction>
423
    </xsd:simpleContent>
424
  </xsd:complexType>
425
426
427
<!-- **************************************************** -->
428
429
  <xsd:complexType name="config-propertyType">
430
    <xsd:annotation>
431
      <xsd:documentation>
432
433
        The config-propertyType contains a declaration of a single
434
        configuration property that may be used for providing
435
        configuration information.
436
        
437
        The declaration consists of an optional description, name,
438
        type and an optional value of the configuration property. If
439
        the resource adapter provider does not specify a value than
440
        the deployer is responsible for providing a valid value for
441
        a configuration property.
442
        
443
        Any bounds or well-defined values of properties should be
444
        described in the description element.
445
        
446
      </xsd:documentation>
447
    </xsd:annotation>
448
    <xsd:sequence>
449
      <xsd:element name="description"
450
                   type="javaee:descriptionType"
451
                   minOccurs="0"
452
                   maxOccurs="unbounded"/>
453
      <xsd:element name="config-property-name"
454
                   type="javaee:config-property-nameType"/>
455
      <xsd:element name="config-property-type"
456
                   type="javaee:config-property-typeType"/>
457
      <xsd:element name="config-property-value"
458
                   type="javaee:xsdStringType"
459
                   minOccurs="0">
460
        <xsd:annotation>
461
          <xsd:documentation>
462
            <![CDATA[[
463
            The element config-property-value contains the value
464
            of a configuration entry. Note, it is possible for a
465
            resource adapter deployer to override this
466
            configuration information during deployment.
467
            
468
            Example:
469
            <config-property-value>WombatServer</config-property-value>
470
            
471
            ]]>
472
          </xsd:documentation>
473
        </xsd:annotation>
474
      </xsd:element>
475
      <xsd:element name="config-property-ignore"
476
                   type="javaee:true-falseType"
477
                   minOccurs="0"
478
                   maxOccurs="1">
479
        <xsd:annotation>
480
          <xsd:documentation>
481
482
            The element config-property-ignore is used to specify 
483
            whether the configuration tools must ignore considering the 
484
            configuration property during auto-discovery of
485
            Configuration properties. See the Connector specification for
486
            more details. If unspecified, the container must not ignore
487
            the configuration property during auto-discovery.
488
            This element must be one of the following, "true" or "false".
489
            
490
          </xsd:documentation>
491
        </xsd:annotation>
492
      </xsd:element>
493
      <xsd:element name="config-property-supports-dynamic-updates"
494
                   type="javaee:true-falseType"
495
                   minOccurs="0"
496
                   maxOccurs="1">
497
        <xsd:annotation>
498
          <xsd:documentation>
499
500
            The element config-property-supports-dynamic-updates is used to specify 
501
            whether the configuration property allows its value to be updated, by
502
            application server's configuration tools, during the lifetime of
503
            the JavaBean instance. See the Connector specification for
504
            more details. If unspecified, the container must not dynamically
505
            reconfigure the property.
506
            This element must be one of the following, "true" or "false".
507
            
508
          </xsd:documentation>
509
        </xsd:annotation>
510
      </xsd:element>
511
      <xsd:element name="config-property-confidential"
512
                   type="javaee:true-falseType"
513
                   minOccurs="0"
514
                   maxOccurs="1">
515
        <xsd:annotation>
516
          <xsd:documentation>
517
518
            The element config-property-confidential is used to specify 
519
            whether the configuration property is confidential and
520
            recommends application server's configuration tools to use special 
521
            visual aids for editing them. See the Connector specification for
522
            more details. If unspecified, the container must not treat the
523
            property as confidential.
524
            This element must be one of the following, "true" or "false".
525
            
526
          </xsd:documentation>
527
        </xsd:annotation>
528
      </xsd:element>
529
    </xsd:sequence>
530
    <xsd:attribute name="id"
531
                   type="xsd:ID"/>
532
  </xsd:complexType>
533
534
535
<!-- **************************************************** -->
536
537
  <xsd:complexType name="connection-definitionType">
538
    <xsd:annotation>
539
      <xsd:documentation>
540
541
        The connection-definitionType defines a set of connection
542
        interfaces and classes pertaining to a particular connection
543
        type. This also includes configurable properties for
544
        ManagedConnectionFactory instances that may be produced out
545
        of this set.
546
        
547
      </xsd:documentation>
548
    </xsd:annotation>
549
    <xsd:sequence>
550
      <xsd:element name="managedconnectionfactory-class"
551
                   type="javaee:fully-qualified-classType">
552
        <xsd:annotation>
553
          <xsd:documentation>
554
            <![CDATA[[
555
            The element managedconnectionfactory-class specifies
556
            the fully qualified name of the Java class that
557
            implements the
558
            javax.resource.spi.ManagedConnectionFactory interface.
559
            This Java class is provided as part of resource
560
            adapter's implementation of connector architecture
561
            specified contracts. The implementation of this
562
            class is required to be a JavaBean.
563
            
564
            Example:
565
            <managedconnectionfactory-class>
566
            	  com.wombat.ManagedConnectionFactoryImpl
567
            </managedconnectionfactory-class>
568
            
569
            ]]>
570
          </xsd:documentation>
571
        </xsd:annotation>
572
      </xsd:element>
573
      <xsd:element name="config-property"
574
                   type="javaee:config-propertyType"
575
                   minOccurs="0"
576
                   maxOccurs="unbounded"/>
577
      <xsd:element name="connectionfactory-interface"
578
                   type="javaee:fully-qualified-classType">
579
        <xsd:annotation>
580
          <xsd:documentation>
581
            <![CDATA[[
582
            The element connectionfactory-interface specifies
583
            the fully qualified name of the ConnectionFactory
584
            interface supported by the resource adapter.
585
            
586
            Example:
587
            <connectionfactory-interface>com.wombat.ConnectionFactory
588
            </connectionfactory-interface>
589
            
590
            OR
591
            
592
            <connectionfactory-interface>javax.resource.cci.ConnectionFactory
593
            </connectionfactory-interface>
594
            
595
            ]]>
596
          </xsd:documentation>
597
        </xsd:annotation>
598
      </xsd:element>
599
      <xsd:element name="connectionfactory-impl-class"
600
                   type="javaee:fully-qualified-classType">
601
        <xsd:annotation>
602
          <xsd:documentation>
603
            <![CDATA[[
604
            The element connectionfactory-impl-class specifies
605
            the fully qualified name of the ConnectionFactory
606
            class that implements resource adapter
607
            specific ConnectionFactory interface.
608
            
609
            Example:
610
            
611
            <connectionfactory-impl-class>com.wombat.ConnectionFactoryImpl
612
            </connectionfactory-impl-class>
613
            
614
            ]]>
615
          </xsd:documentation>
616
        </xsd:annotation>
617
      </xsd:element>
618
      <xsd:element name="connection-interface"
619
                   type="javaee:fully-qualified-classType">
620
        <xsd:annotation>
621
          <xsd:documentation>
622
            <![CDATA[[
623
            The connection-interface element specifies the fully
624
            qualified name of the Connection interface supported
625
            by the resource adapter.
626
            
627
            Example:
628
            
629
            	  <connection-interface>javax.resource.cci.Connection
630
            	  </connection-interface>
631
            
632
            ]]>
633
          </xsd:documentation>
634
        </xsd:annotation>
635
      </xsd:element>
636
      <xsd:element name="connection-impl-class"
637
                   type="javaee:fully-qualified-classType">
638
        <xsd:annotation>
639
          <xsd:documentation>
640
            <![CDATA[[
641
            The connection-impl-classType specifies the fully
642
            qualified name of the Connection class that
643
            implements resource adapter specific Connection
644
            interface.  It is used by the connection-impl-class
645
            elements.
646
            
647
            Example:
648
            
649
            	  <connection-impl-class>com.wombat.ConnectionImpl
650
            	  </connection-impl-class>
651
            
652
            ]]>
653
          </xsd:documentation>
654
        </xsd:annotation>
655
      </xsd:element>
656
    </xsd:sequence>
657
    <xsd:attribute name="id"
658
                   type="xsd:ID"/>
659
  </xsd:complexType>
660
661
662
<!-- **************************************************** -->
663
664
  <xsd:complexType name="connectorType">
665
    <xsd:annotation>
666
      <xsd:documentation>
667
668
        The connectorType defines a resource adapter.
669
        
670
      </xsd:documentation>
671
    </xsd:annotation>
672
    <xsd:sequence>
673
      <xsd:element name="module-name"
674
                   type="javaee:string"
675
                   minOccurs="0">
676
        <xsd:annotation>
677
          <xsd:documentation>
678
679
            The element module-name specifies the name of the
680
            resource adapter.
681
            
682
            If there is no module-name specified, the module-name
683
            is determined as defined in Section EE.8.1.1 and EE.8.1.2 
684
            of the Java Platform, Enterprise Edition (Java EE) 
685
            Specification, version 6.
686
            
687
          </xsd:documentation>
688
        </xsd:annotation>
689
      </xsd:element>
690
      <xsd:group ref="javaee:descriptionGroup"/>
691
      <xsd:element name="vendor-name"
692
                   type="javaee:xsdStringType"
693
                   minOccurs="0">
694
        <xsd:annotation>
695
          <xsd:documentation>
696
697
            The element vendor-name specifies the name of
698
            resource adapter provider vendor.
699
            
700
            If there is no vendor-name specified, the application 
701
            server must consider the default "" (empty string) as
702
            the name of the resource adapter provider vendor.
703
            
704
          </xsd:documentation>
705
        </xsd:annotation>
706
      </xsd:element>
707
      <xsd:element name="eis-type"
708
                   type="javaee:xsdStringType"
709
                   minOccurs="0">
710
        <xsd:annotation>
711
          <xsd:documentation>
712
713
            The element eis-type contains information about the
714
            type of the EIS. For example, the type of an EIS can
715
            be product name of EIS independent of any version
716
            info.
717
            
718
            This helps in identifying EIS instances that can be
719
            used with this resource adapter.
720
            
721
            If there is no eis-type specified, the application 
722
            server must consider the default "" (empty string) as
723
            the type of the EIS.
724
            
725
          </xsd:documentation>
726
        </xsd:annotation>
727
      </xsd:element>
728
      <xsd:element name="resourceadapter-version"
729
                   type="javaee:xsdStringType"
730
                   minOccurs="0">
731
        <xsd:annotation>
732
          <xsd:documentation>
733
734
            The element resourceadapter-version specifies a string-based version
735
            of the resource adapter from the resource adapter
736
            provider.
737
            
738
            If there is no resourceadapter-version specified, the application 
739
            server must consider the default "" (empty string) as
740
            the version of the resource adapter.
741
            	
742
            
743
          </xsd:documentation>
744
        </xsd:annotation>
745
      </xsd:element>
746
      <xsd:element name="license"
747
                   type="javaee:licenseType"
748
                   minOccurs="0"/>
749
      <xsd:element name="resourceadapter"
750
                   type="javaee:resourceadapterType"/>
751
      <xsd:element name="required-work-context"
752
                   type="javaee:fully-qualified-classType"
753
                   minOccurs="0"
754
                   maxOccurs="unbounded">
755
        <xsd:annotation>
756
          <xsd:documentation>
757
758
            The element required-work-context specifies a fully qualified class 
759
            name that implements WorkContext interface, that the resource adapter 
760
            requires the application server to support.
761
            
762
          </xsd:documentation>
763
        </xsd:annotation>
764
      </xsd:element>
765
    </xsd:sequence>
766
    <xsd:attribute name="version"
767
                   type="javaee:dewey-versionType"
768
                   fixed="1.7"
769
                   use="required">
770
      <xsd:annotation>
771
        <xsd:documentation>
772
773
          The version indicates the version of the schema to be used by the
774
          deployment tool. This element doesn't have a default, and the resource adapter 
775
          developer/deployer is required to specify it. The element allows the deployment 
776
          tool to choose which schema to validate the descriptor against.
777
          	  
778
          
779
        </xsd:documentation>
780
      </xsd:annotation>
781
    </xsd:attribute>
782
    <xsd:attribute name="metadata-complete"
783
                   type="xsd:boolean">
784
      <xsd:annotation>
785
        <xsd:documentation>
786
787
          The metadata-complete attribute defines whether the deployment 
788
          descriptor for the resource adapter module is complete, or whether
789
          the class files available to the module and packaged with the resource 
790
          adapter should be examined for annotations that specify deployment 
791
          information.
792
          
793
          If metadata-complete is set to "true", the deployment tool of the 
794
          application server must ignore any annotations that specify deployment 
795
          information, which might be present in the class files of the 
796
          application.If metadata-complete is not specified or is set to "false", 
797
          the deployment tool must examine the class files of the application for 
798
          annotations, as specified by this specification. If the 
799
          deployment descriptor is not included or is included but not marked 
800
          metadata-complete, the deployment tool will process annotations.
801
          
802
          Application servers must assume that metadata-complete is true for 
803
          resource adapter modules with deployment descriptor version 
804
          lower than 1.6.
805
          		
806
        </xsd:documentation>
807
      </xsd:annotation>
808
    </xsd:attribute>
809
    <xsd:attribute name="id"
810
                   type="xsd:ID"/>
811
  </xsd:complexType>
812
813
814
<!-- **************************************************** -->
815
816
  <xsd:complexType name="credential-interfaceType">
817
    <xsd:annotation>
818
      <xsd:documentation>
819
820
        The credential-interfaceType specifies the
821
        interface that the resource adapter implementation
822
        supports for the representation of the
823
        credentials. This element(s) that use this type,
824
        i.e. credential-interface,  should be used by
825
        application server to find out the Credential
826
        interface it should use as part of the security
827
        contract.
828
        
829
        The possible values are:
830
        
831
        javax.resource.spi.security.PasswordCredential
832
        org.ietf.jgss.GSSCredential
833
        javax.resource.spi.security.GenericCredential
834
        
835
      </xsd:documentation>
836
    </xsd:annotation>
837
    <xsd:simpleContent>
838
      <xsd:restriction base="javaee:fully-qualified-classType">
839
        <xsd:enumeration value="javax.resource.spi.security.PasswordCredential"/>
840
        <xsd:enumeration value="org.ietf.jgss.GSSCredential"/>
841
        <xsd:enumeration value="javax.resource.spi.security.GenericCredential"/>
842
      </xsd:restriction>
843
    </xsd:simpleContent>
844
  </xsd:complexType>
845
846
847
<!-- **************************************************** -->
848
849
  <xsd:complexType name="inbound-resourceadapterType">
850
    <xsd:annotation>
851
      <xsd:documentation>
852
853
        The inbound-resourceadapterType specifies information
854
        about an inbound resource adapter. This contains information
855
        specific to the implementation of the resource adapter
856
        library as specified through the messageadapter element.
857
        
858
      </xsd:documentation>
859
    </xsd:annotation>
860
    <xsd:sequence>
861
      <xsd:element name="messageadapter"
862
                   type="javaee:messageadapterType"
863
                   minOccurs="0">
864
        <xsd:unique name="messagelistener-type-uniqueness">
865
          <xsd:annotation>
866
            <xsd:documentation>
867
868
              The messagelistener-type element content must be
869
              unique in the messageadapter. Several messagelisteners
870
              can not use the same messagelistener-type.
871
              
872
            </xsd:documentation>
873
          </xsd:annotation>
874
          <xsd:selector xpath="javaee:messagelistener"/>
875
          <xsd:field xpath="javaee:messagelistener-type"/>
876
        </xsd:unique>
877
      </xsd:element>
878
    </xsd:sequence>
879
    <xsd:attribute name="id"
880
                   type="xsd:ID"/>
881
  </xsd:complexType>
882
883
884
<!-- **************************************************** -->
885
886
  <xsd:complexType name="licenseType">
887
    <xsd:annotation>
888
      <xsd:documentation>
889
890
        The licenseType specifies licensing requirements for the
891
        resource adapter module. This type specifies whether a
892
        license is required to deploy and use this resource adapter,
893
        and an optional description of the licensing terms
894
        (examples: duration of license, number of connection
895
        restrictions). It is used by the license element.
896
        
897
      </xsd:documentation>
898
    </xsd:annotation>
899
    <xsd:sequence>
900
      <xsd:element name="description"
901
                   type="javaee:descriptionType"
902
                   minOccurs="0"
903
                   maxOccurs="unbounded"/>
904
      <xsd:element name="license-required"
905
                   type="javaee:true-falseType">
906
        <xsd:annotation>
907
          <xsd:documentation>
908
909
            The element license-required specifies whether a
910
            license is required to deploy and use the
911
            resource adapter. This element must be one of
912
            the following, "true" or "false".
913
            
914
          </xsd:documentation>
915
        </xsd:annotation>
916
      </xsd:element>
917
    </xsd:sequence>
918
    <xsd:attribute name="id"
919
                   type="xsd:ID"/>
920
  </xsd:complexType>
921
922
923
<!-- **************************************************** -->
924
925
  <xsd:complexType name="messageadapterType">
926
    <xsd:annotation>
927
      <xsd:documentation>
928
929
        The messageadapterType specifies information about the
930
        messaging capabilities of the resource adapter. This
931
        contains information specific to the implementation of the
932
        resource adapter library as specified through the
933
        messagelistener element.
934
        
935
      </xsd:documentation>
936
    </xsd:annotation>
937
    <xsd:sequence>
938
      <xsd:element name="messagelistener"
939
                   type="javaee:messagelistenerType"
940
                   maxOccurs="unbounded"/>
941
    </xsd:sequence>
942
    <xsd:attribute name="id"
943
                   type="xsd:ID"/>
944
  </xsd:complexType>
945
946
947
<!-- **************************************************** -->
948
949
  <xsd:complexType name="messagelistenerType">
950
    <xsd:annotation>
951
      <xsd:documentation>
952
953
        The messagelistenerType specifies information about a
954
        specific message listener supported by the messaging
955
        resource adapter. It contains information on the Java type
956
        of the message listener interface and an activation
957
        specification.
958
        
959
      </xsd:documentation>
960
    </xsd:annotation>
961
    <xsd:sequence>
962
      <xsd:element name="messagelistener-type"
963
                   type="javaee:fully-qualified-classType">
964
        <xsd:annotation>
965
          <xsd:documentation>
966
            <![CDATA[[
967
            The element messagelistener-type specifies the fully
968
            qualified name of the Java type of a message
969
            listener interface.
970
            
971
            Example:
972
            
973
            	<messagelistener-type>javax.jms.MessageListener
974
            	</messagelistener-type>
975
            
976
            ]]>
977
          </xsd:documentation>
978
        </xsd:annotation>
979
      </xsd:element>
980
      <xsd:element name="activationspec"
981
                   type="javaee:activationspecType"/>
982
    </xsd:sequence>
983
    <xsd:attribute name="id"
984
                   type="xsd:ID"/>
985
  </xsd:complexType>
986
987
988
<!-- **************************************************** -->
989
990
  <xsd:complexType name="outbound-resourceadapterType">
991
    <xsd:annotation>
992
      <xsd:documentation>
993
994
        The outbound-resourceadapterType specifies information about
995
        an outbound resource adapter. The information includes fully
996
        qualified names of classes/interfaces required as part of
997
        the connector architecture specified contracts for
998
        connection management, level of transaction support
999
        provided, one or more authentication mechanisms supported
1000
        and additional required security permissions.
1001
        
1002
        If any of the outbound resource adapter elements (transaction-support,
1003
        authentication-mechanism, reauthentication-support) is specified through
1004
        this element or metadata annotations, and no  connection-definition is 
1005
        specified as part of this element or through annotations, the 
1006
        application server must consider this an error and fail deployment. 
1007
        
1008
        If there is no authentication-mechanism specified as part of
1009
        this element or metadata annotations, then the resource adapter does 
1010
        not support any standard security authentication mechanisms as 
1011
        part of security contract. The application server ignores the security 
1012
        part of the system contracts in this case.
1013
        
1014
        If there is no transaction-support specified as part of this element 
1015
        or metadata annotation, then the application server must consider that 
1016
        the resource adapter does not support either the resource manager local 
1017
        or JTA transactions and must consider the transaction support as 
1018
        NoTransaction. Note that resource adapters may specify the level of 
1019
        transaction support to be used at runtime for a ManagedConnectionFactory 
1020
        through the TransactionSupport interface.
1021
        
1022
        If there is no reauthentication-support specified as part of
1023
        this element or metadata annotation, then the application server must consider 
1024
        that the resource adapter does not support re-authentication of 
1025
        ManagedConnections.
1026
        
1027
      </xsd:documentation>
1028
    </xsd:annotation>
1029
    <xsd:sequence>
1030
      <xsd:element name="connection-definition"
1031
                   type="javaee:connection-definitionType"
1032
                   maxOccurs="unbounded"
1033
                   minOccurs="0"/>
1034
      <xsd:element name="transaction-support"
1035
                   type="javaee:transaction-supportType"
1036
                   minOccurs="0"/>
1037
      <xsd:element name="authentication-mechanism"
1038
                   type="javaee:authentication-mechanismType"
1039
                   minOccurs="0"
1040
                   maxOccurs="unbounded"/>
1041
      <xsd:element name="reauthentication-support"
1042
                   type="javaee:true-falseType"
1043
                   minOccurs="0">
1044
        <xsd:annotation>
1045
          <xsd:documentation>
1046
1047
            	    The element reauthentication-support specifies
1048
            	    whether the resource adapter implementation supports
1049
            	    re-authentication of existing Managed- Connection
1050
            	    instance. Note that this information is for the
1051
            	    resource adapter implementation and not for the
1052
            	    underlying EIS instance. This element must have
1053
            	    either a "true" or "false" value.
1054
            
1055
            	  
1056
          </xsd:documentation>
1057
        </xsd:annotation>
1058
      </xsd:element>
1059
    </xsd:sequence>
1060
    <xsd:attribute name="id"
1061
                   type="xsd:ID"/>
1062
  </xsd:complexType>
1063
1064
1065
<!-- **************************************************** -->
1066
1067
  <xsd:complexType name="required-config-propertyType">
1068
    <xsd:annotation>
1069
      <xsd:documentation>
1070
        <![CDATA[[
1071
        The required-config-propertyType contains a declaration
1072
        of a single configuration property used for specifying a
1073
        required configuration property name. It is used
1074
        by required-config-property elements.
1075
        
1076
        Usage of this type is deprecated from Connectors 1.6 specification. 
1077
        Refer to required-config-property element for more information.
1078
        
1079
        Example:
1080
        
1081
        <required-config-property>
1082
        <config-property-name>Destination</config-property-name>
1083
        </required-config-property>
1084
        
1085
        ]]>
1086
      </xsd:documentation>
1087
    </xsd:annotation>
1088
    <xsd:sequence>
1089
      <xsd:element name="description"
1090
                   type="javaee:descriptionType"
1091
                   minOccurs="0"
1092
                   maxOccurs="unbounded"/>
1093
      <xsd:element name="config-property-name"
1094
                   type="javaee:config-property-nameType"/>
1095
    </xsd:sequence>
1096
    <xsd:attribute name="id"
1097
                   type="xsd:ID"/>
1098
  </xsd:complexType>
1099
1100
1101
<!-- **************************************************** -->
1102
1103
  <xsd:complexType name="resourceadapterType">
1104
    <xsd:annotation>
1105
      <xsd:documentation>
1106
1107
        The resourceadapterType specifies information about the
1108
        resource adapter. The information includes fully qualified
1109
        resource adapter Java class name, configuration properties,
1110
        information specific to the implementation of the resource
1111
        adapter library as specified through the
1112
        outbound-resourceadapter and inbound-resourceadapter
1113
        elements, and an optional set of administered objects.
1114
        
1115
      </xsd:documentation>
1116
    </xsd:annotation>
1117
    <xsd:sequence>
1118
      <xsd:element name="resourceadapter-class"
1119
                   type="javaee:fully-qualified-classType"
1120
                   minOccurs="0">
1121
        <xsd:annotation>
1122
          <xsd:documentation>
1123
1124
            The element resourceadapter-class specifies the
1125
            fully qualified name of a Java class that implements
1126
            the javax.resource.spi.ResourceAdapter
1127
            interface. This Java class is provided as part of
1128
            resource adapter's implementation of connector
1129
            architecture specified contracts. The implementation
1130
            of this class is required to be a JavaBean.
1131
            
1132
          </xsd:documentation>
1133
        </xsd:annotation>
1134
      </xsd:element>
1135
      <xsd:element name="config-property"
1136
                   type="javaee:config-propertyType"
1137
                   minOccurs="0"
1138
                   maxOccurs="unbounded"/>
1139
      <xsd:element name="outbound-resourceadapter"
1140
                   type="javaee:outbound-resourceadapterType"
1141
                   minOccurs="0">
1142
        <xsd:unique name="connectionfactory-interface-uniqueness">
1143
          <xsd:annotation>
1144
            <xsd:documentation>
1145
1146
              The connectionfactory-interface element content
1147
              must be unique in the outbound-resourceadapter.
1148
              Multiple connection-definitions can not use the
1149
              same connectionfactory-type.
1150
              
1151
            </xsd:documentation>
1152
          </xsd:annotation>
1153
          <xsd:selector xpath="javaee:connection-definition"/>
1154
          <xsd:field xpath="javaee:connectionfactory-interface"/>
1155
        </xsd:unique>
1156
      </xsd:element>
1157
      <xsd:element name="inbound-resourceadapter"
1158
                   type="javaee:inbound-resourceadapterType"
1159
                   minOccurs="0"/>
1160
      <xsd:element name="adminobject"
1161
                   type="javaee:adminobjectType"
1162
                   minOccurs="0"
1163
                   maxOccurs="unbounded">
1164
        <xsd:unique name="adminobject-type-uniqueness">
1165
          <xsd:annotation>
1166
            <xsd:documentation>
1167
1168
              The adminobject-interface and adminobject-class element content must be
1169
              unique in the resourceadapterType. Several admin objects
1170
              can not use the same adminobject-interface and adminobject-class.
1171
              
1172
            </xsd:documentation>
1173
          </xsd:annotation>
1174
          <xsd:selector xpath="javaee:adminobject"/>
1175
          <xsd:field xpath="javaee:adminobject-interface"/>
1176
          <xsd:field xpath="javaee:adminobject-class"/>
1177
        </xsd:unique>
1178
      </xsd:element>
1179
      <xsd:element name="security-permission"
1180
                   type="javaee:security-permissionType"
1181
                   minOccurs="0"
1182
                   maxOccurs="unbounded"/>
1183
    </xsd:sequence>
1184
    <xsd:attribute name="id"
1185
                   type="xsd:ID"/>
1186
  </xsd:complexType>
1187
1188
1189
<!-- **************************************************** -->
1190
1191
  <xsd:complexType name="security-permissionType">
1192
    <xsd:annotation>
1193
      <xsd:documentation>
1194
1195
        The security-permissionType specifies a security
1196
        permission that is required by the resource adapter code.
1197
        
1198
        The security permission listed in the deployment descriptor
1199
        are ones that are different from those required by the
1200
        default permission set as specified in the connector
1201
        specification. The optional description can mention specific
1202
        reason that resource adapter requires a given security
1203
        permission.
1204
        
1205
      </xsd:documentation>
1206
    </xsd:annotation>
1207
    <xsd:sequence>
1208
      <xsd:element name="description"
1209
                   type="javaee:descriptionType"
1210
                   minOccurs="0"
1211
                   maxOccurs="unbounded"/>
1212
      <xsd:element name="security-permission-spec"
1213
                   type="javaee:xsdStringType">
1214
        <xsd:annotation>
1215
          <xsd:documentation>
1216
1217
            The element security-permission-spec specifies a security
1218
            permission based on the Security policy file
1219
            syntax. Refer to the following URL for Sun's
1220
            implementation of the security permission
1221
            specification:
1222
            
1223
            http://docs.oracle.com/javase/6/docs/technotes/guides/security/PolicyFiles.html
1224
            
1225
          </xsd:documentation>
1226
        </xsd:annotation>
1227
      </xsd:element>
1228
    </xsd:sequence>
1229
    <xsd:attribute name="id"
1230
                   type="xsd:ID"/>
1231
  </xsd:complexType>
1232
1233
</xsd:schema>
(-)a/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/ejb-jar_3_2.xsd (+3321 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
3
            targetNamespace="http://xmlns.jcp.org/xml/ns/javaee"
4
            xmlns:javaee="http://xmlns.jcp.org/xml/ns/javaee"
5
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6
            elementFormDefault="qualified"
7
            attributeFormDefault="unqualified"
8
            version="3.2">
9
  <xsd:annotation>
10
    <xsd:documentation>
11
12
      DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
13
      
14
      Copyright (c) 2009-2013 Oracle and/or its affiliates. All rights reserved.
15
      
16
      The contents of this file are subject to the terms of either the GNU
17
      General Public License Version 2 only ("GPL") or the Common Development
18
      and Distribution License("CDDL") (collectively, the "License").  You
19
      may not use this file except in compliance with the License.  You can
20
      obtain a copy of the License at
21
      https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
22
      or packager/legal/LICENSE.txt.  See the License for the specific
23
      language governing permissions and limitations under the License.
24
      
25
      When distributing the software, include this License Header Notice in each
26
      file and include the License file at packager/legal/LICENSE.txt.
27
      
28
      GPL Classpath Exception:
29
      Oracle designates this particular file as subject to the "Classpath"
30
      exception as provided by Oracle in the GPL Version 2 section of the License
31
      file that accompanied this code.
32
      
33
      Modifications:
34
      If applicable, add the following below the License Header, with the fields
35
      enclosed by brackets [] replaced by your own identifying information:
36
      "Portions Copyright [year] [name of copyright owner]"
37
      
38
      Contributor(s):
39
      If you wish your version of this file to be governed by only the CDDL or
40
      only the GPL Version 2, indicate your decision by adding "[Contributor]
41
      elects to include this software in this distribution under the [CDDL or GPL
42
      Version 2] license."  If you don't indicate a single choice of license, a
43
      recipient has the option to distribute your version of this file under
44
      either the CDDL, the GPL Version 2 or to extend the choice of license to
45
      its licensees as provided above.  However, if you add GPL Version 2 code
46
      and therefore, elected the GPL Version 2 license, then the option applies
47
      only if the new code is made subject to such option by the copyright
48
      holder.
49
      
50
    </xsd:documentation>
51
  </xsd:annotation>
52
53
  <xsd:annotation>
54
    <xsd:documentation>
55
      <![CDATA[[
56
      This is the XML Schema for the EJB 3.2 deployment descriptor.
57
      
58
      All EJB deployment descriptors must indicate
59
      the schema by using the Java EE namespace:
60
      
61
      http://xmlns.jcp.org/xml/ns/javaee
62
      
63
      and by indicating the version of the schema by
64
      using the version element as shown below:
65
      
66
      <ejb-jar xmlns="http://xmlns.jcp.org/xml/ns/javaee"
67
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
68
      xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
69
      	  http://xmlns.jcp.org/xml/ns/javaee/ejb-jar_3_2.xsd"
70
      version="3.2">
71
      ...
72
      </ejb-jar>
73
      
74
      The instance documents may indicate the published version of
75
      the schema using the xsi:schemaLocation attribute for the
76
      Java EE namespace with the following location:
77
      
78
      http://xmlns.jcp.org/xml/ns/javaee/ejb-jar_3_2.xsd
79
      
80
      ]]>
81
    </xsd:documentation>
82
  </xsd:annotation>
83
84
  <xsd:annotation>
85
    <xsd:documentation>
86
87
      The following conventions apply to all Java EE
88
      deployment descriptor elements unless indicated otherwise.
89
      
90
      - In elements that specify a pathname to a file within the
91
      same JAR file, relative filenames (i.e., those not
92
      starting with "/") are considered relative to the root of
93
      the JAR file's namespace.  Absolute filenames (i.e., those
94
      starting with "/") also specify names in the root of the
95
      JAR file's namespace.  In general, relative names are
96
      preferred.  The exception is .war files where absolute
97
      names are preferred for consistency with the Servlet API.
98
      
99
    </xsd:documentation>
100
  </xsd:annotation>
101
102
  <xsd:include schemaLocation="javaee_7.xsd"/>
103
104
105
<!-- **************************************************** -->
106
107
  <xsd:element name="ejb-jar"
108
               type="javaee:ejb-jarType">
109
    <xsd:annotation>
110
      <xsd:documentation>
111
112
        This is the root of the ejb-jar deployment descriptor.
113
        
114
      </xsd:documentation>
115
    </xsd:annotation>
116
    <xsd:key name="ejb-name-key">
117
      <xsd:annotation>
118
        <xsd:documentation>
119
120
          The ejb-name element contains the name of an enterprise
121
          bean. The name must be unique within the ejb-jar file or
122
          .war file.
123
          
124
        </xsd:documentation>
125
      </xsd:annotation>
126
      <xsd:selector xpath="javaee:enterprise-beans/*"/>
127
      <xsd:field xpath="javaee:ejb-name"/>
128
    </xsd:key>
129
    <xsd:keyref name="ejb-name-references"
130
                refer="javaee:ejb-name-key">
131
      <xsd:annotation>
132
        <xsd:documentation>
133
134
          The keyref indicates the references from
135
          relationship-role-source must be to a specific ejb-name
136
          defined within the scope of enterprise-beans element. 
137
          
138
        </xsd:documentation>
139
      </xsd:annotation>
140
      <xsd:selector xpath=".//javaee:ejb-relationship-role/javaee:relationship-role-source"/>
141
      <xsd:field xpath="javaee:ejb-name"/>
142
    </xsd:keyref>
143
    <xsd:key name="role-name-key">
144
      <xsd:annotation>
145
        <xsd:documentation>
146
147
          A role-name-key is specified to allow the references
148
          from the security-role-refs.
149
          
150
        </xsd:documentation>
151
      </xsd:annotation>
152
      <xsd:selector xpath="javaee:assembly-descriptor/javaee:security-role"/>
153
      <xsd:field xpath="javaee:role-name"/>
154
    </xsd:key>
155
    <xsd:keyref name="role-name-references"
156
                refer="javaee:role-name-key">
157
      <xsd:annotation>
158
        <xsd:documentation>
159
160
          The keyref indicates the references from
161
          security-role-ref to a specified role-name.
162
          
163
        </xsd:documentation>
164
      </xsd:annotation>
165
      <xsd:selector xpath="javaee:enterprise-beans/*/javaee:security-role-ref"/>
166
      <xsd:field xpath="javaee:role-link"/>
167
    </xsd:keyref>
168
  </xsd:element>
169
170
171
<!-- **************************************************** -->
172
173
  <xsd:complexType name="access-timeoutType">
174
    <xsd:annotation>
175
      <xsd:documentation>
176
177
        The access-timeoutType represents the maximum amount of
178
        time (in a given time unit) that the container should wait for
179
        a concurrency lock before throwing a timeout exception to the
180
        client.
181
        
182
        A timeout value of 0 means concurrent access is not permitted.
183
        
184
        A timeout value of -1 means wait indefinitely to acquire a lock.
185
        
186
      </xsd:documentation>
187
    </xsd:annotation>
188
    <xsd:sequence>
189
      <xsd:element name="timeout"
190
                   type="javaee:xsdIntegerType"/>
191
      <xsd:element name="unit"
192
                   type="javaee:time-unit-typeType"/>
193
    </xsd:sequence>
194
    <xsd:attribute name="id"
195
                   type="xsd:ID"/>
196
  </xsd:complexType>
197
198
199
<!-- **************************************************** -->
200
201
  <xsd:complexType name="async-methodType">
202
    <xsd:annotation>
203
      <xsd:documentation>
204
205
        The async-methodType element specifies that a session
206
        bean method has asynchronous invocation semantics.
207
        
208
      </xsd:documentation>
209
    </xsd:annotation>
210
    <xsd:sequence>
211
      <xsd:element name="method-name"
212
                   type="javaee:string"/>
213
      <xsd:element name="method-params"
214
                   type="javaee:method-paramsType"
215
                   minOccurs="0"/>
216
    </xsd:sequence>
217
    <xsd:attribute name="id"
218
                   type="xsd:ID"/>
219
  </xsd:complexType>
220
221
222
<!-- **************************************************** -->
223
224
  <xsd:complexType name="activation-configType">
225
    <xsd:annotation>
226
      <xsd:documentation>
227
228
        The activation-configType defines information about the
229
        expected configuration properties of the message-driven bean
230
        in its operational environment. This may include information
231
        about message acknowledgement, message selector, expected
232
        destination type, destination or connection factory lookup
233
        string, subscription name, etc.
234
        
235
        The configuration information is expressed in terms of
236
        name/value configuration properties.
237
        
238
        The properties that are recognized for a particular
239
        message-driven bean are determined by the messaging type.
240
        
241
      </xsd:documentation>
242
    </xsd:annotation>
243
    <xsd:sequence>
244
      <xsd:element name="description"
245
                   type="javaee:descriptionType"
246
                   minOccurs="0"
247
                   maxOccurs="unbounded"/>
248
      <xsd:element name="activation-config-property"
249
                   type="javaee:activation-config-propertyType"
250
                   maxOccurs="unbounded"/>
251
    </xsd:sequence>
252
    <xsd:attribute name="id"
253
                   type="xsd:ID"/>
254
  </xsd:complexType>
255
256
257
<!-- **************************************************** -->
258
259
  <xsd:complexType name="activation-config-propertyType">
260
    <xsd:annotation>
261
      <xsd:documentation>
262
263
        The activation-config-propertyType contains a name/value
264
        configuration property pair for a message-driven bean.
265
        
266
        The properties that are recognized for a particular
267
        message-driven bean are determined by the messaging type.
268
        
269
      </xsd:documentation>
270
    </xsd:annotation>
271
    <xsd:sequence>
272
      <xsd:element name="activation-config-property-name"
273
                   type="javaee:xsdStringType">
274
        <xsd:annotation>
275
          <xsd:documentation>
276
277
            The activation-config-property-name element contains
278
            the name for an activation configuration property of
279
            a message-driven bean.
280
            
281
            For JMS message-driven beans, the following property
282
            names are recognized: acknowledgeMode,
283
            messageSelector, destinationType, subscriptionDurability,
284
            destinationLookup, connectionFactoryLookup, subscriptionName,
285
            and clientId.
286
            
287
          </xsd:documentation>
288
        </xsd:annotation>
289
      </xsd:element>
290
      <xsd:element name="activation-config-property-value"
291
                   type="javaee:xsdStringType">
292
        <xsd:annotation>
293
          <xsd:documentation>
294
295
            The activation-config-property-value element
296
            contains the value for an activation configuration
297
            property of a message-driven bean.
298
            
299
          </xsd:documentation>
300
        </xsd:annotation>
301
      </xsd:element>
302
    </xsd:sequence>
303
    <xsd:attribute name="id"
304
                   type="xsd:ID"/>
305
  </xsd:complexType>
306
307
308
<!-- **************************************************** -->
309
310
  <xsd:complexType name="around-invokeType">
311
    <xsd:annotation>
312
      <xsd:documentation>
313
314
        The around-invoke type specifies a method on a
315
        class to be called during the around invoke portion of an 
316
        ejb invocation.  Note that each class may have only one
317
        around invoke method and that the method may not be
318
        overloaded.
319
        
320
        If the class element is missing then
321
        the class defining the callback is assumed to be the
322
        interceptor class or component class in scope at the
323
        location in the descriptor in which the around invoke
324
        definition appears.
325
        
326
      </xsd:documentation>
327
    </xsd:annotation>
328
    <xsd:sequence>
329
      <xsd:element name="class"
330
                   type="javaee:fully-qualified-classType"
331
                   minOccurs="0"/>
332
      <xsd:element name="method-name"
333
                   type="javaee:java-identifierType"/>
334
    </xsd:sequence>
335
  </xsd:complexType>
336
337
338
<!-- **************************************************** -->
339
340
  <xsd:complexType name="around-timeoutType">
341
    <xsd:annotation>
342
      <xsd:documentation>
343
344
        The around-timeout type specifies a method on a
345
        class to be called during the around-timeout portion of
346
        a timer timeout callback.  Note that each class may have 
347
        only one around-timeout method and that the method may not 
348
        be overloaded.
349
        
350
        If the class element is missing then
351
        the class defining the callback is assumed to be the
352
        interceptor class or component class in scope at the
353
        location in the descriptor in which the around-timeout
354
        definition appears.
355
        
356
      </xsd:documentation>
357
    </xsd:annotation>
358
    <xsd:sequence>
359
      <xsd:element name="class"
360
                   type="javaee:fully-qualified-classType"
361
                   minOccurs="0"/>
362
      <xsd:element name="method-name"
363
                   type="javaee:java-identifierType"/>
364
    </xsd:sequence>
365
  </xsd:complexType>
366
367
368
<!-- **************************************************** -->
369
370
  <xsd:complexType name="assembly-descriptorType">
371
    <xsd:annotation>
372
      <xsd:documentation>
373
374
        The assembly-descriptorType defines
375
        application-assembly information.
376
        
377
        The application-assembly information consists of the
378
        following parts: the definition of security roles, the
379
        definition of method permissions, the definition of
380
        transaction attributes for enterprise beans with
381
        container-managed transaction demarcation, the definition
382
        of interceptor bindings, a list of
383
        methods to be excluded from being invoked, and a list of
384
        exception types that should be treated as application exceptions.
385
        
386
        All the parts are optional in the sense that they are
387
        omitted if the lists represented by them are empty.
388
        
389
        Providing an assembly-descriptor in the deployment
390
        descriptor is optional for the ejb-jar file or .war file producer.
391
        
392
      </xsd:documentation>
393
    </xsd:annotation>
394
    <xsd:sequence>
395
      <xsd:element name="security-role"
396
                   type="javaee:security-roleType"
397
                   minOccurs="0"
398
                   maxOccurs="unbounded"/>
399
      <xsd:element name="method-permission"
400
                   type="javaee:method-permissionType"
401
                   minOccurs="0"
402
                   maxOccurs="unbounded"/>
403
      <xsd:element name="container-transaction"
404
                   type="javaee:container-transactionType"
405
                   minOccurs="0"
406
                   maxOccurs="unbounded"/>
407
      <xsd:element name="interceptor-binding"
408
                   type="javaee:interceptor-bindingType"
409
                   minOccurs="0"
410
                   maxOccurs="unbounded"/>
411
      <xsd:element name="message-destination"
412
                   type="javaee:message-destinationType"
413
                   minOccurs="0"
414
                   maxOccurs="unbounded"/>
415
      <xsd:element name="exclude-list"
416
                   type="javaee:exclude-listType"
417
                   minOccurs="0"/>
418
      <xsd:element name="application-exception"
419
                   type="javaee:application-exceptionType"
420
                   minOccurs="0"
421
                   maxOccurs="unbounded"/>
422
    </xsd:sequence>
423
    <xsd:attribute name="id"
424
                   type="xsd:ID"/>
425
  </xsd:complexType>
426
427
428
<!-- **************************************************** -->
429
430
  <xsd:complexType name="cmp-fieldType">
431
    <xsd:annotation>
432
      <xsd:documentation>
433
434
        The cmp-fieldType describes a container-managed field. The
435
        cmp-fieldType contains an optional description of the field,
436
        and the name of the field.
437
        
438
      </xsd:documentation>
439
    </xsd:annotation>
440
    <xsd:sequence>
441
      <xsd:element name="description"
442
                   type="javaee:descriptionType"
443
                   minOccurs="0"
444
                   maxOccurs="unbounded"/>
445
      <xsd:element name="field-name"
446
                   type="javaee:java-identifierType">
447
        <xsd:annotation>
448
          <xsd:documentation>
449
450
            The field-name element specifies the name of a
451
            container managed field.
452
            
453
            The name of the cmp-field of an entity bean with
454
            cmp-version 2.x must begin with a lowercase
455
            letter. This field is accessed by methods whose
456
            names consists of the name of the field specified by
457
            field-name in which the first letter is uppercased,
458
            prefixed by "get" or "set".
459
            
460
            The name of the cmp-field of an entity bean with
461
            cmp-version 1.x must denote a public field of the
462
            enterprise bean class or one of its superclasses.
463
            
464
          </xsd:documentation>
465
        </xsd:annotation>
466
      </xsd:element>
467
    </xsd:sequence>
468
    <xsd:attribute name="id"
469
                   type="xsd:ID"/>
470
  </xsd:complexType>
471
472
473
<!-- **************************************************** -->
474
475
  <xsd:complexType name="cmp-versionType">
476
    <xsd:annotation>
477
      <xsd:documentation>
478
479
        The cmp-versionType specifies the version of an entity bean
480
        with container-managed persistence. It is used by
481
        cmp-version elements.
482
        
483
        The value must be one of the two following:
484
        
485
        1.x
486
        2.x
487
        
488
      </xsd:documentation>
489
    </xsd:annotation>
490
    <xsd:simpleContent>
491
      <xsd:restriction base="javaee:string">
492
        <xsd:enumeration value="1.x"/>
493
        <xsd:enumeration value="2.x"/>
494
      </xsd:restriction>
495
    </xsd:simpleContent>
496
  </xsd:complexType>
497
498
499
<!-- **************************************************** -->
500
501
  <xsd:complexType name="cmr-fieldType">
502
    <xsd:annotation>
503
      <xsd:documentation>
504
505
        The cmr-fieldType describes the Bean Provider's view of
506
        a relationship. It consists of an optional description, and
507
        the name and the class type of a field in the source of a
508
        role of a relationship. The cmr-field-name element
509
        corresponds to the name used for the get and set accessor
510
        methods for the relationship. The cmr-field-type element is
511
        used only for collection-valued cmr-fields. It specifies the
512
        type of the collection that is used.
513
        
514
      </xsd:documentation>
515
    </xsd:annotation>
516
    <xsd:sequence>
517
      <xsd:element name="description"
518
                   type="javaee:descriptionType"
519
                   minOccurs="0"
520
                   maxOccurs="unbounded"/>
521
      <xsd:element name="cmr-field-name"
522
                   type="javaee:string">
523
        <xsd:annotation>
524
          <xsd:documentation>
525
526
            The cmr-field-name element specifies the name of a
527
            logical relationship field in the entity bean
528
            class. The name of the cmr-field must begin with a
529
            lowercase letter. This field is accessed by methods
530
            whose names consist of the name of the field
531
            specified by cmr-field-name in which the first
532
            letter is uppercased, prefixed by "get" or "set".
533
            
534
          </xsd:documentation>
535
        </xsd:annotation>
536
      </xsd:element>
537
      <xsd:element name="cmr-field-type"
538
                   type="javaee:cmr-field-typeType"
539
                   minOccurs="0"/>
540
    </xsd:sequence>
541
    <xsd:attribute name="id"
542
                   type="xsd:ID"/>
543
  </xsd:complexType>
544
545
546
<!-- **************************************************** -->
547
548
  <xsd:complexType name="cmr-field-typeType">
549
    <xsd:annotation>
550
      <xsd:documentation>
551
552
        The cmr-field-type element specifies the class of a
553
        collection-valued logical relationship field in the entity
554
        bean class. The value of an element using cmr-field-typeType
555
        must be either: java.util.Collection or java.util.Set.
556
        
557
      </xsd:documentation>
558
    </xsd:annotation>
559
    <xsd:simpleContent>
560
      <xsd:restriction base="javaee:string">
561
        <xsd:enumeration value="java.util.Collection"/>
562
        <xsd:enumeration value="java.util.Set"/>
563
      </xsd:restriction>
564
    </xsd:simpleContent>
565
  </xsd:complexType>
566
567
568
<!-- **************************************************** -->
569
570
  <xsd:complexType name="concurrency-management-typeType">
571
    <xsd:annotation>
572
      <xsd:documentation>
573
574
        The concurrency-management-typeType specifies the way concurrency
575
        is managed for a singleton or stateful session bean.  
576
        
577
        The concurrency management type must be one of the following:
578
        
579
        Bean
580
        Container
581
        
582
        Bean managed concurrency can only be specified for a singleton bean.
583
        
584
      </xsd:documentation>
585
    </xsd:annotation>
586
    <xsd:simpleContent>
587
      <xsd:restriction base="javaee:string">
588
        <xsd:enumeration value="Bean"/>
589
        <xsd:enumeration value="Container"/>
590
      </xsd:restriction>
591
    </xsd:simpleContent>
592
  </xsd:complexType>
593
594
595
<!-- **************************************************** -->
596
597
  <xsd:complexType name="concurrent-lock-typeType">
598
    <xsd:annotation>
599
      <xsd:documentation>
600
601
        The concurrent-lock-typeType specifies how the container must
602
        manage concurrent access to a method of a Singleton bean 
603
        with container-managed concurrency.
604
        
605
        The container managed concurrency lock type must be one 
606
        of the following :
607
        
608
        Read
609
        Write
610
        
611
      </xsd:documentation>
612
    </xsd:annotation>
613
    <xsd:simpleContent>
614
      <xsd:restriction base="javaee:string">
615
        <xsd:enumeration value="Read"/>
616
        <xsd:enumeration value="Write"/>
617
      </xsd:restriction>
618
    </xsd:simpleContent>
619
  </xsd:complexType>
620
621
622
<!-- **************************************************** -->
623
624
  <xsd:complexType name="concurrent-methodType">
625
    <xsd:annotation>
626
      <xsd:documentation>
627
628
        The concurrent-methodType specifies information about a method
629
        of a bean with container managed concurrency.
630
        
631
        The optional lock element specifies the kind of concurrency 
632
        lock asssociated with the method.
633
        
634
        The optional access-timeout element specifies the amount of
635
        time (in a given time unit) the container should wait for a
636
        concurrency lock before throwing an exception to the client.
637
        
638
      </xsd:documentation>
639
    </xsd:annotation>
640
    <xsd:sequence>
641
      <xsd:element name="method"
642
                   type="javaee:named-methodType"/>
643
      <xsd:element name="lock"
644
                   type="javaee:concurrent-lock-typeType"
645
                   minOccurs="0"/>
646
      <xsd:element name="access-timeout"
647
                   type="javaee:access-timeoutType"
648
                   minOccurs="0"/>
649
    </xsd:sequence>
650
    <xsd:attribute name="id"
651
                   type="xsd:ID"/>
652
  </xsd:complexType>
653
654
655
<!-- **************************************************** -->
656
657
  <xsd:complexType name="container-transactionType">
658
    <xsd:annotation>
659
      <xsd:documentation>
660
661
        The container-transactionType specifies how the container
662
        must manage transaction scopes for the enterprise bean's
663
        method invocations. It defines an optional description, a
664
        list of method elements, and a transaction attribute. The
665
        transaction attribute is to be applied to all the specified
666
        methods.
667
        
668
      </xsd:documentation>
669
    </xsd:annotation>
670
    <xsd:sequence>
671
      <xsd:element name="description"
672
                   type="javaee:descriptionType"
673
                   minOccurs="0"
674
                   maxOccurs="unbounded"/>
675
      <xsd:element name="method"
676
                   type="javaee:methodType"
677
                   maxOccurs="unbounded"/>
678
      <xsd:element name="trans-attribute"
679
                   type="javaee:trans-attributeType"/>
680
    </xsd:sequence>
681
    <xsd:attribute name="id"
682
                   type="xsd:ID"/>
683
  </xsd:complexType>
684
685
686
<!-- **************************************************** -->
687
688
  <xsd:complexType name="depends-onType">
689
    <xsd:annotation>
690
      <xsd:documentation>
691
692
        The depends-onType is used to express initialization 
693
        ordering dependencies between Singleton components.
694
        The depends-onType specifies the names of one or more
695
        Singleton beans in the same application as the referring
696
        Singleton, each of which must be initialized before
697
        the referring bean.  
698
        
699
        Each dependent bean is expressed using ejb-link syntax.
700
        The order in which dependent beans are initialized at 
701
        runtime is not guaranteed to match the order in which
702
        they are listed.
703
        
704
      </xsd:documentation>
705
    </xsd:annotation>
706
    <xsd:sequence>
707
      <xsd:element name="ejb-name"
708
                   type="javaee:ejb-linkType"
709
                   minOccurs="1"
710
                   maxOccurs="unbounded"/>
711
    </xsd:sequence>
712
    <xsd:attribute name="id"
713
                   type="xsd:ID"/>
714
  </xsd:complexType>
715
716
717
<!-- **************************************************** -->
718
719
  <xsd:complexType name="ejb-classType">
720
    <xsd:annotation>
721
      <xsd:documentation>
722
        <![CDATA[[
723
        The ejb-classType contains the fully-qualified name of the
724
        enterprise bean's class. It is used by ejb-class elements. 
725
        
726
        Example:
727
        
728
        <ejb-class>com.wombat.empl.EmployeeServiceBean</ejb-class>
729
        
730
        ]]>
731
      </xsd:documentation>
732
    </xsd:annotation>
733
    <xsd:simpleContent>
734
      <xsd:restriction base="javaee:fully-qualified-classType"/>
735
    </xsd:simpleContent>
736
  </xsd:complexType>
737
738
739
<!-- **************************************************** -->
740
741
  <xsd:complexType name="ejb-jarType">
742
    <xsd:annotation>
743
      <xsd:documentation>
744
745
        The ejb-jarType defines the root element of the EJB
746
        deployment descriptor. It contains
747
        
748
        - an optional description of the ejb-jar file
749
        - an optional display name
750
        - an optional icon that contains a small and a large
751
        icon file name
752
        - an optional module name. Only applicable to
753
        stand-alone ejb-jars or ejb-jars packaged in an ear.
754
        Ignored if specified for an ejb-jar.xml within a .war file.
755
        In that case, standard .war file module-name rules apply.
756
        - structural information about all included
757
        enterprise beans that is not specified through
758
        annotations
759
        - structural information about interceptor classes
760
        - a descriptor for container managed relationships, 
761
        if any. 
762
        - an optional application-assembly descriptor
763
        - an optional name of an ejb-client-jar file for the 
764
        ejb-jar.
765
        
766
      </xsd:documentation>
767
    </xsd:annotation>
768
    <xsd:sequence>
769
      <xsd:element name="module-name"
770
                   type="javaee:string"
771
                   minOccurs="0"/>
772
      <xsd:group ref="javaee:descriptionGroup"/>
773
      <xsd:element name="enterprise-beans"
774
                   type="javaee:enterprise-beansType"
775
                   minOccurs="0"/>
776
      <xsd:element name="interceptors"
777
                   type="javaee:interceptorsType"
778
                   minOccurs="0"/>
779
      <xsd:element name="relationships"
780
                   type="javaee:relationshipsType"
781
                   minOccurs="0">
782
        <xsd:unique name="relationship-name-uniqueness">
783
          <xsd:annotation>
784
            <xsd:documentation>
785
786
              The ejb-relation-name contains the name of a
787
              relation. The name must be unique within
788
              relationships.
789
              
790
            </xsd:documentation>
791
          </xsd:annotation>
792
          <xsd:selector xpath="javaee:ejb-relation"/>
793
          <xsd:field xpath="javaee:ejb-relation-name"/>
794
        </xsd:unique>
795
      </xsd:element>
796
      <xsd:element name="assembly-descriptor"
797
                   type="javaee:assembly-descriptorType"
798
                   minOccurs="0">
799
        <xsd:annotation>
800
          <xsd:documentation>
801
802
            Providing an assembly-descriptor in the deployment
803
            descriptor is optional for the ejb-jar file or .war file
804
            producer.
805
            
806
          </xsd:documentation>
807
        </xsd:annotation>
808
      </xsd:element>
809
      <xsd:element name="ejb-client-jar"
810
                   type="javaee:pathType"
811
                   minOccurs="0">
812
        <xsd:annotation>
813
          <xsd:documentation>
814
            <![CDATA[[
815
            The optional ejb-client-jar element specifies a JAR
816
            file that contains the class files necessary for a
817
            client program to access the
818
            enterprise beans in the ejb-jar file.
819
            
820
            Example:
821
            
822
            	  <ejb-client-jar>employee_service_client.jar
823
            	  </ejb-client-jar>
824
            
825
            ]]>
826
          </xsd:documentation>
827
        </xsd:annotation>
828
      </xsd:element>
829
    </xsd:sequence>
830
    <xsd:attribute name="version"
831
                   type="javaee:dewey-versionType"
832
                   fixed="3.2"
833
                   use="required">
834
      <xsd:annotation>
835
        <xsd:documentation>
836
837
          The version specifies the version of the
838
          EJB specification that the instance document must 
839
          comply with. This information enables deployment tools
840
          to validate a particular EJB Deployment
841
          Descriptor with respect to a specific version of the EJB
842
          schema. 
843
          
844
        </xsd:documentation>
845
      </xsd:annotation>
846
    </xsd:attribute>
847
    <xsd:attribute name="metadata-complete"
848
                   type="xsd:boolean">
849
      <xsd:annotation>
850
        <xsd:documentation>
851
852
          The metadata-complete attribute defines whether this
853
          deployment descriptor and other related deployment
854
          descriptors for this module (e.g., web service
855
          descriptors) are complete, or whether the class
856
          files available to this module and packaged with
857
          this application should be examined for annotations
858
          that specify deployment information.
859
          
860
          If metadata-complete is set to "true", the deployment
861
          tool must ignore any annotations that specify deployment
862
          information, which might be present in the class files
863
          of the application.
864
          
865
          If metadata-complete is not specified or is set to
866
          "false", the deployment tool must examine the class
867
          files of the application for annotations, as
868
          specified by the specifications.
869
          
870
        </xsd:documentation>
871
      </xsd:annotation>
872
    </xsd:attribute>
873
    <xsd:attribute name="id"
874
                   type="xsd:ID"/>
875
  </xsd:complexType>
876
877
878
<!-- **************************************************** -->
879
880
  <xsd:complexType name="ejb-nameType">
881
    <xsd:annotation>
882
      <xsd:documentation>
883
        <![CDATA[[
884
        The ejb-nameType specifies an enterprise bean's name. It is
885
        used by ejb-name elements. This name is assigned by the
886
        file producer to name the enterprise bean in the
887
        ejb-jar file or .war file's deployment descriptor. The name must be
888
        unique among the names of the enterprise beans in the same
889
        ejb-jar file or .war file.
890
        
891
        There is no architected relationship between the used
892
        ejb-name in the deployment descriptor and the JNDI name that
893
        the Deployer will assign to the enterprise bean's home.
894
        
895
        The name for an entity bean must conform to the lexical
896
        rules for an NMTOKEN.
897
        
898
        Example:
899
        
900
        <ejb-name>EmployeeService</ejb-name>
901
        
902
        ]]>
903
      </xsd:documentation>
904
    </xsd:annotation>
905
    <xsd:simpleContent>
906
      <xsd:restriction base="javaee:xsdNMTOKENType"/>
907
    </xsd:simpleContent>
908
  </xsd:complexType>
909
910
911
<!-- **************************************************** -->
912
913
  <xsd:complexType name="ejb-relationType">
914
    <xsd:annotation>
915
      <xsd:documentation>
916
917
        The ejb-relationType describes a relationship between two
918
        entity beans with container-managed persistence.  It is used
919
        by ejb-relation elements. It contains a description; an
920
        optional ejb-relation-name element; and exactly two
921
        relationship role declarations, defined by the
922
        ejb-relationship-role elements. The name of the
923
        relationship, if specified, is unique within the ejb-jar
924
        file.
925
        
926
      </xsd:documentation>
927
    </xsd:annotation>
928
    <xsd:sequence>
929
      <xsd:element name="description"
930
                   type="javaee:descriptionType"
931
                   minOccurs="0"
932
                   maxOccurs="unbounded"/>
933
      <xsd:element name="ejb-relation-name"
934
                   type="javaee:string"
935
                   minOccurs="0">
936
        <xsd:annotation>
937
          <xsd:documentation>
938
939
            The ejb-relation-name element provides a unique name
940
            within the ejb-jar file for a relationship.
941
            
942
          </xsd:documentation>
943
        </xsd:annotation>
944
      </xsd:element>
945
      <xsd:element name="ejb-relationship-role"
946
                   type="javaee:ejb-relationship-roleType"
947
                   minOccurs="2"
948
                   maxOccurs="2"/>
949
    </xsd:sequence>
950
    <xsd:attribute name="id"
951
                   type="xsd:ID"/>
952
  </xsd:complexType>
953
954
955
<!-- **************************************************** -->
956
957
  <xsd:complexType name="ejb-relationship-roleType">
958
    <xsd:annotation>
959
      <xsd:documentation>
960
        <![CDATA[[
961
        The ejb-relationship-roleType describes a role within a
962
        relationship. There are two roles in each relationship.
963
        
964
        The ejb-relationship-roleType contains an optional
965
        description; an optional name for the relationship role; a
966
        specification of the multiplicity of the role; an optional
967
        specification of cascade-delete functionality for the role;
968
        the role source; and a declaration of the cmr-field, if any,
969
        by means of which the other side of the relationship is
970
        accessed from the perspective of the role source.
971
        
972
        The multiplicity and role-source element are mandatory.
973
        
974
        The relationship-role-source element designates an entity
975
        bean by means of an ejb-name element. For bidirectional
976
        relationships, both roles of a relationship must declare a
977
        relationship-role-source element that specifies a cmr-field
978
        in terms of which the relationship is accessed. The lack of
979
        a cmr-field element in an ejb-relationship-role specifies
980
        that the relationship is unidirectional in navigability and
981
        the entity bean that participates in the relationship is
982
        "not aware" of the relationship.
983
        
984
        Example:
985
        
986
        <ejb-relation>
987
        <ejb-relation-name>Product-LineItem</ejb-relation-name>
988
        <ejb-relationship-role>
989
        	  <ejb-relationship-role-name>product-has-lineitems
990
        	  </ejb-relationship-role-name>
991
        	  <multiplicity>One</multiplicity>
992
        	  <relationship-role-source>
993
        	  <ejb-name>ProductEJB</ejb-name>
994
        	  </relationship-role-source>
995
        </ejb-relationship-role>
996
        </ejb-relation>
997
        
998
        ]]>
999
      </xsd:documentation>
1000
    </xsd:annotation>
1001
    <xsd:sequence>
1002
      <xsd:element name="description"
1003
                   type="javaee:descriptionType"
1004
                   minOccurs="0"
1005
                   maxOccurs="unbounded"/>
1006
      <xsd:element name="ejb-relationship-role-name"
1007
                   type="javaee:string"
1008
                   minOccurs="0">
1009
        <xsd:annotation>
1010
          <xsd:documentation>
1011
1012
            The ejb-relationship-role-name element defines a
1013
            name for a role that is unique within an
1014
            ejb-relation. Different relationships can use the
1015
            same name for a role.
1016
            
1017
          </xsd:documentation>
1018
        </xsd:annotation>
1019
      </xsd:element>
1020
      <xsd:element name="multiplicity"
1021
                   type="javaee:multiplicityType"/>
1022
      <xsd:element name="cascade-delete"
1023
                   type="javaee:emptyType"
1024
                   minOccurs="0">
1025
        <xsd:annotation>
1026
          <xsd:documentation>
1027
1028
            The cascade-delete element specifies that, within a
1029
            particular relationship, the lifetime of one or more
1030
            entity beans is dependent upon the lifetime of
1031
            another entity bean. The cascade-delete element can
1032
            only be specified for an ejb-relationship-role
1033
            element contained in an ejb-relation element in
1034
            which the other ejb-relationship-role
1035
            element specifies a multiplicity of One.
1036
            
1037
          </xsd:documentation>
1038
        </xsd:annotation>
1039
      </xsd:element>
1040
      <xsd:element name="relationship-role-source"
1041
                   type="javaee:relationship-role-sourceType"/>
1042
      <xsd:element name="cmr-field"
1043
                   type="javaee:cmr-fieldType"
1044
                   minOccurs="0"/>
1045
    </xsd:sequence>
1046
    <xsd:attribute name="id"
1047
                   type="xsd:ID"/>
1048
  </xsd:complexType>
1049
1050
1051
<!-- **************************************************** -->
1052
1053
  <xsd:complexType name="enterprise-beansType">
1054
    <xsd:annotation>
1055
      <xsd:documentation>
1056
1057
        The enterprise-beansType declares one or more enterprise
1058
        beans. Each bean can be a session, entity or message-driven
1059
        bean.
1060
        
1061
      </xsd:documentation>
1062
    </xsd:annotation>
1063
    <xsd:choice maxOccurs="unbounded">
1064
      <xsd:element name="session"
1065
                   type="javaee:session-beanType">
1066
        <xsd:unique name="session-ejb-local-ref-name-uniqueness">
1067
          <xsd:annotation>
1068
            <xsd:documentation>
1069
1070
              The ejb-ref-name element contains the name of
1071
              an EJB reference. The EJB reference is an entry in
1072
              the component's environment and is relative to the
1073
              java:comp/env context.  The name must be unique within
1074
              the component.
1075
              
1076
              It is recommended that name be prefixed with "ejb/".
1077
              
1078
            </xsd:documentation>
1079
          </xsd:annotation>
1080
          <xsd:selector xpath="javaee:ejb-local-ref"/>
1081
          <xsd:field xpath="javaee:ejb-ref-name"/>
1082
        </xsd:unique>
1083
        <xsd:unique name="session-ejb-ref-name-uniqueness">
1084
          <xsd:annotation>
1085
            <xsd:documentation>
1086
1087
              The ejb-ref-name element contains the name of an EJB
1088
              reference. The EJB reference is an entry in the
1089
              component's environment and is relative to the
1090
              java:comp/env context. The name must be unique
1091
              within the component.
1092
              
1093
              It is recommended that name is prefixed with "ejb/".
1094
              
1095
            </xsd:documentation>
1096
          </xsd:annotation>
1097
          <xsd:selector xpath="javaee:ejb-ref"/>
1098
          <xsd:field xpath="javaee:ejb-ref-name"/>
1099
        </xsd:unique>
1100
        <xsd:unique name="session-resource-env-ref-uniqueness">
1101
          <xsd:annotation>
1102
            <xsd:documentation>
1103
1104
              The resource-env-ref-name element specifies the name
1105
              of a resource environment reference; its value is
1106
              the environment entry name used in the component
1107
              code. The name is a JNDI name relative to the
1108
              java:comp/env context and must be unique within an
1109
              component.
1110
              
1111
            </xsd:documentation>
1112
          </xsd:annotation>
1113
          <xsd:selector xpath="javaee:resource-env-ref"/>
1114
          <xsd:field xpath="javaee:resource-env-ref-name"/>
1115
        </xsd:unique>
1116
        <xsd:unique name="session-message-destination-ref-uniqueness">
1117
          <xsd:annotation>
1118
            <xsd:documentation>
1119
1120
              The message-destination-ref-name element specifies the name
1121
              of a message destination reference; its value is
1122
              the message destination reference name used in the component
1123
              code. The name is a JNDI name relative to the
1124
              java:comp/env context and must be unique within an
1125
              component.
1126
              
1127
            </xsd:documentation>
1128
          </xsd:annotation>
1129
          <xsd:selector xpath="javaee:message-destination-ref"/>
1130
          <xsd:field xpath="javaee:message-destination-ref-name"/>
1131
        </xsd:unique>
1132
        <xsd:unique name="session-res-ref-name-uniqueness">
1133
          <xsd:annotation>
1134
            <xsd:documentation>
1135
1136
              The res-ref-name element specifies the name of a
1137
              resource manager connection factory reference.  The name
1138
              is a JNDI name relative to the java:comp/env context.
1139
              The name must be unique within an component.
1140
              
1141
            </xsd:documentation>
1142
          </xsd:annotation>
1143
          <xsd:selector xpath="javaee:resource-ref"/>
1144
          <xsd:field xpath="javaee:res-ref-name"/>
1145
        </xsd:unique>
1146
        <xsd:unique name="session-env-entry-name-uniqueness">
1147
          <xsd:annotation>
1148
            <xsd:documentation>
1149
1150
              The env-entry-name element contains the name of a
1151
              component's environment entry.  The name is a JNDI
1152
              name relative to the java:comp/env context.  The
1153
              name must be unique within an component.
1154
              
1155
            </xsd:documentation>
1156
          </xsd:annotation>
1157
          <xsd:selector xpath="javaee:env-entry"/>
1158
          <xsd:field xpath="javaee:env-entry-name"/>
1159
        </xsd:unique>
1160
      </xsd:element>
1161
      <xsd:element name="entity"
1162
                   type="javaee:entity-beanType">
1163
        <xsd:unique name="entity-ejb-local-ref-name-uniqueness">
1164
          <xsd:annotation>
1165
            <xsd:documentation>
1166
1167
              The ejb-ref-name element contains the name of
1168
              an EJB reference. The EJB reference is an entry in
1169
              the component's environment and is relative to the
1170
              java:comp/env context.  The name must be unique within
1171
              the component.
1172
              
1173
              It is recommended that name be prefixed with "ejb/".
1174
              
1175
            </xsd:documentation>
1176
          </xsd:annotation>
1177
          <xsd:selector xpath="javaee:ejb-local-ref"/>
1178
          <xsd:field xpath="javaee:ejb-ref-name"/>
1179
        </xsd:unique>
1180
        <xsd:unique name="entity-ejb-ref-name-uniqueness">
1181
          <xsd:annotation>
1182
            <xsd:documentation>
1183
1184
              The ejb-ref-name element contains the name of an EJB
1185
              reference. The EJB reference is an entry in the
1186
              component's environment and is relative to the
1187
              java:comp/env context. The name must be unique
1188
              within the component.
1189
              
1190
              It is recommended that name is prefixed with "ejb/".
1191
              
1192
            </xsd:documentation>
1193
          </xsd:annotation>
1194
          <xsd:selector xpath="javaee:ejb-ref"/>
1195
          <xsd:field xpath="javaee:ejb-ref-name"/>
1196
        </xsd:unique>
1197
        <xsd:unique name="entity-resource-env-ref-uniqueness">
1198
          <xsd:annotation>
1199
            <xsd:documentation>
1200
1201
              The resource-env-ref-name element specifies the name
1202
              of a resource environment reference; its value is
1203
              the environment entry name used in the component
1204
              code. The name is a JNDI name relative to the
1205
              java:comp/env context and must be unique within an
1206
              component.
1207
              
1208
            </xsd:documentation>
1209
          </xsd:annotation>
1210
          <xsd:selector xpath="javaee:resource-env-ref"/>
1211
          <xsd:field xpath="javaee:resource-env-ref-name"/>
1212
        </xsd:unique>
1213
        <xsd:unique name="entity-message-destination-ref-uniqueness">
1214
          <xsd:annotation>
1215
            <xsd:documentation>
1216
1217
              The message-destination-ref-name element specifies the name
1218
              of a message destination reference; its value is
1219
              the message destination reference name used in the component
1220
              code. The name is a JNDI name relative to the
1221
              java:comp/env context and must be unique within an
1222
              component.
1223
              
1224
            </xsd:documentation>
1225
          </xsd:annotation>
1226
          <xsd:selector xpath="javaee:message-destination-ref"/>
1227
          <xsd:field xpath="javaee:message-destination-ref-name"/>
1228
        </xsd:unique>
1229
        <xsd:unique name="entity-res-ref-name-uniqueness">
1230
          <xsd:annotation>
1231
            <xsd:documentation>
1232
1233
              The res-ref-name element specifies the name of a
1234
              resource manager connection factory reference.  The name
1235
              is a JNDI name relative to the java:comp/env context.
1236
              The name must be unique within an component.
1237
              
1238
            </xsd:documentation>
1239
          </xsd:annotation>
1240
          <xsd:selector xpath="javaee:resource-ref"/>
1241
          <xsd:field xpath="javaee:res-ref-name"/>
1242
        </xsd:unique>
1243
        <xsd:unique name="entity-env-entry-name-uniqueness">
1244
          <xsd:annotation>
1245
            <xsd:documentation>
1246
1247
              The env-entry-name element contains the name of a
1248
              component's environment entry.  The name is a JNDI
1249
              name relative to the java:comp/env context.  The
1250
              name must be unique within an component.
1251
              
1252
            </xsd:documentation>
1253
          </xsd:annotation>
1254
          <xsd:selector xpath="javaee:env-entry"/>
1255
          <xsd:field xpath="javaee:env-entry-name"/>
1256
        </xsd:unique>
1257
      </xsd:element>
1258
      <xsd:element name="message-driven"
1259
                   type="javaee:message-driven-beanType">
1260
        <xsd:unique name="messaged-ejb-local-ref-name-uniqueness">
1261
          <xsd:annotation>
1262
            <xsd:documentation>
1263
1264
              The ejb-ref-name element contains the name of
1265
              an EJB reference. The EJB reference is an entry in
1266
              the component's environment and is relative to the
1267
              java:comp/env context.  The name must be unique within
1268
              the component.
1269
              
1270
              It is recommended that name be prefixed with "ejb/".
1271
              
1272
            </xsd:documentation>
1273
          </xsd:annotation>
1274
          <xsd:selector xpath="javaee:ejb-local-ref"/>
1275
          <xsd:field xpath="javaee:ejb-ref-name"/>
1276
        </xsd:unique>
1277
        <xsd:unique name="messaged-ejb-ref-name-uniqueness">
1278
          <xsd:annotation>
1279
            <xsd:documentation>
1280
1281
              The ejb-ref-name element contains the name of an EJB
1282
              reference. The EJB reference is an entry in the
1283
              component's environment and is relative to the
1284
              java:comp/env context. The name must be unique
1285
              within the component.
1286
              
1287
              It is recommended that name is prefixed with "ejb/".
1288
              
1289
            </xsd:documentation>
1290
          </xsd:annotation>
1291
          <xsd:selector xpath="javaee:ejb-ref"/>
1292
          <xsd:field xpath="javaee:ejb-ref-name"/>
1293
        </xsd:unique>
1294
        <xsd:unique name="messaged-resource-env-ref-uniqueness">
1295
          <xsd:annotation>
1296
            <xsd:documentation>
1297
1298
              The resource-env-ref-name element specifies the name
1299
              of a resource environment reference; its value is
1300
              the environment entry name used in the component
1301
              code. The name is a JNDI name relative to the
1302
              java:comp/env context and must be unique within an
1303
              component.
1304
              
1305
            </xsd:documentation>
1306
          </xsd:annotation>
1307
          <xsd:selector xpath="javaee:resource-env-ref"/>
1308
          <xsd:field xpath="javaee:resource-env-ref-name"/>
1309
        </xsd:unique>
1310
        <xsd:unique name="messaged-message-destination-ref-uniqueness">
1311
          <xsd:annotation>
1312
            <xsd:documentation>
1313
1314
              The message-destination-ref-name element specifies the name
1315
              of a message destination reference; its value is
1316
              the message destination reference name used in the component
1317
              code. The name is a JNDI name relative to the
1318
              java:comp/env context and must be unique within an
1319
              component.
1320
              
1321
            </xsd:documentation>
1322
          </xsd:annotation>
1323
          <xsd:selector xpath="javaee:message-destination-ref"/>
1324
          <xsd:field xpath="javaee:message-destination-ref-name"/>
1325
        </xsd:unique>
1326
        <xsd:unique name="messaged-res-ref-name-uniqueness">
1327
          <xsd:annotation>
1328
            <xsd:documentation>
1329
1330
              The res-ref-name element specifies the name of a
1331
              resource manager connection factory reference.  The name
1332
              is a JNDI name relative to the java:comp/env context.
1333
              The name must be unique within an component.
1334
              
1335
            </xsd:documentation>
1336
          </xsd:annotation>
1337
          <xsd:selector xpath="javaee:resource-ref"/>
1338
          <xsd:field xpath="javaee:res-ref-name"/>
1339
        </xsd:unique>
1340
        <xsd:unique name="messaged-env-entry-name-uniqueness">
1341
          <xsd:annotation>
1342
            <xsd:documentation>
1343
1344
              The env-entry-name element contains the name of a
1345
              component's environment entry.  The name is a JNDI
1346
              name relative to the java:comp/env context.  The
1347
              name must be unique within an component.
1348
              
1349
            </xsd:documentation>
1350
          </xsd:annotation>
1351
          <xsd:selector xpath="javaee:env-entry"/>
1352
          <xsd:field xpath="javaee:env-entry-name"/>
1353
        </xsd:unique>
1354
      </xsd:element>
1355
    </xsd:choice>
1356
    <xsd:attribute name="id"
1357
                   type="xsd:ID"/>
1358
  </xsd:complexType>
1359
1360
1361
<!-- **************************************************** -->
1362
1363
  <xsd:complexType name="entity-beanType">
1364
    <xsd:annotation>
1365
      <xsd:documentation>
1366
1367
        The entity-beanType declares an entity bean. The declaration
1368
        consists of:
1369
        
1370
        - an optional description
1371
        - an optional display name
1372
        - an optional icon element that contains a small and a large 
1373
        icon file name
1374
        - a unique name assigned to the enterprise bean
1375
        in the deployment descriptor
1376
        - an optional mapped-name element that can be used to provide
1377
        vendor-specific deployment information such as the physical
1378
        jndi-name of the entity bean's remote home interface. This 
1379
        element is not required to be supported by all implementations.
1380
        Any use of this element is non-portable.
1381
        - the names of the entity bean's remote home 
1382
        and remote interfaces, if any
1383
        - the names of the entity bean's local home and local
1384
        interfaces, if any
1385
        - the entity bean's implementation class
1386
        - the optional entity bean's persistence management type. If 
1387
        this element is not specified it is defaulted to Container.
1388
        - the entity bean's primary key class name
1389
        - an indication of the entity bean's reentrancy
1390
        - an optional specification of the 
1391
        entity bean's cmp-version
1392
        - an optional specification of the entity bean's
1393
        abstract schema name
1394
        - an optional list of container-managed fields
1395
        - an optional specification of the primary key 
1396
        field
1397
        - an optional declaration of the bean's environment 
1398
        entries
1399
        - an optional declaration of the bean's EJB 
1400
        references
1401
        - an optional declaration of the bean's local 
1402
        EJB references
1403
        - an optional declaration of the bean's web 
1404
        service references
1405
        - an optional declaration of the security role 
1406
        references
1407
        - an optional declaration of the security identity
1408
        to be used for the execution of the bean's methods
1409
        - an optional declaration of the bean's 
1410
        resource manager connection factory references
1411
        - an optional declaration of the bean's
1412
        resource environment references
1413
        - an optional declaration of the bean's message 
1414
        destination references
1415
        - an optional set of query declarations
1416
        for finder and select methods for an entity
1417
        bean with cmp-version 2.x.
1418
        
1419
        The optional abstract-schema-name element must be specified
1420
        for an entity bean with container-managed persistence and
1421
        cmp-version 2.x.
1422
        
1423
        The optional primkey-field may be present in the descriptor
1424
        if the entity's persistence-type is Container.
1425
        
1426
        The optional cmp-version element may be present in the
1427
        descriptor if the entity's persistence-type is Container. If
1428
        the persistence-type is Container and the cmp-version
1429
        element is not specified, its value defaults to 2.x.
1430
        
1431
        The optional home and remote elements must be specified if
1432
        the entity bean cmp-version is 1.x.
1433
        
1434
        The optional home and remote elements must be specified if
1435
        the entity bean has a remote home and remote interface.
1436
        
1437
        The optional local-home and local elements must be specified
1438
        if the entity bean has a local home and local interface.
1439
        
1440
        Either both the local-home and the local elements or both
1441
        the home and the remote elements must be specified.
1442
        
1443
        The optional query elements must be present if the
1444
        persistence-type is Container and the cmp-version is 2.x and
1445
        query methods other than findByPrimaryKey have been defined
1446
        for the entity bean.
1447
        
1448
        The other elements that are optional are "optional" in the
1449
        sense that they are omitted if the lists represented by them
1450
        are empty.
1451
        
1452
        At least one cmp-field element must be present in the
1453
        descriptor if the entity's persistence-type is Container and
1454
        the cmp-version is 1.x, and none must not be present if the
1455
        entity's persistence-type is Bean.
1456
        
1457
      </xsd:documentation>
1458
    </xsd:annotation>
1459
    <xsd:sequence>
1460
      <xsd:group ref="javaee:descriptionGroup"/>
1461
      <xsd:element name="ejb-name"
1462
                   type="javaee:ejb-nameType"/>
1463
      <xsd:element name="mapped-name"
1464
                   type="javaee:xsdStringType"
1465
                   minOccurs="0"/>
1466
      <xsd:element name="home"
1467
                   type="javaee:homeType"
1468
                   minOccurs="0"/>
1469
      <xsd:element name="remote"
1470
                   type="javaee:remoteType"
1471
                   minOccurs="0"/>
1472
      <xsd:element name="local-home"
1473
                   type="javaee:local-homeType"
1474
                   minOccurs="0"/>
1475
      <xsd:element name="local"
1476
                   type="javaee:localType"
1477
                   minOccurs="0"/>
1478
      <xsd:element name="ejb-class"
1479
                   type="javaee:ejb-classType"/>
1480
      <xsd:element name="persistence-type"
1481
                   type="javaee:persistence-typeType"/>
1482
      <xsd:element name="prim-key-class"
1483
                   type="javaee:fully-qualified-classType">
1484
        <xsd:annotation>
1485
          <xsd:documentation>
1486
1487
            The prim-key-class element contains the
1488
            fully-qualified name of an
1489
            entity bean's primary key class.
1490
            
1491
            If the definition of the primary key class is
1492
            deferred to deployment time, the prim-key-class 
1493
            element should specify java.lang.Object.
1494
            
1495
          </xsd:documentation>
1496
        </xsd:annotation>
1497
      </xsd:element>
1498
      <xsd:element name="reentrant"
1499
                   type="javaee:true-falseType">
1500
        <xsd:annotation>
1501
          <xsd:documentation>
1502
1503
            The reentrant element specifies whether an entity
1504
            bean is reentrant or not.
1505
            
1506
            The reentrant element must be one of the two
1507
            following: true or false
1508
            
1509
          </xsd:documentation>
1510
        </xsd:annotation>
1511
      </xsd:element>
1512
      <xsd:element name="cmp-version"
1513
                   type="javaee:cmp-versionType"
1514
                   minOccurs="0"/>
1515
      <xsd:element name="abstract-schema-name"
1516
                   type="javaee:java-identifierType"
1517
                   minOccurs="0">
1518
        <xsd:annotation>
1519
          <xsd:documentation>
1520
1521
            The abstract-schema-name element specifies the name
1522
            of the abstract schema type of an entity bean with 
1523
            cmp-version 2.x. It is used in EJB QL queries. 
1524
            
1525
            For example, the abstract-schema-name for an entity 
1526
            bean whose local interface is 
1527
            com.acme.commerce.Order might be Order. 
1528
            
1529
          </xsd:documentation>
1530
        </xsd:annotation>
1531
      </xsd:element>
1532
      <xsd:element name="cmp-field"
1533
                   type="javaee:cmp-fieldType"
1534
                   minOccurs="0"
1535
                   maxOccurs="unbounded"/>
1536
      <xsd:element name="primkey-field"
1537
                   type="javaee:string"
1538
                   minOccurs="0">
1539
        <xsd:annotation>
1540
          <xsd:documentation>
1541
1542
            The primkey-field element is used to specify the
1543
            name of the primary key field for an entity with
1544
            container-managed persistence.
1545
            
1546
            The primkey-field must be one of the fields declared
1547
            in the cmp-field element, and the type of the field
1548
            must be the same as the primary key type.
1549
            
1550
            The primkey-field element is not used if the primary
1551
            key maps to multiple container-managed fields
1552
            (i.e. the key is a compound key). In this case, the
1553
            fields of the primary key class must be public, and
1554
            their names must correspond to the field names of
1555
            the entity bean class that comprise the key.
1556
            
1557
          </xsd:documentation>
1558
        </xsd:annotation>
1559
      </xsd:element>
1560
      <xsd:group ref="javaee:jndiEnvironmentRefsGroup"/>
1561
      <xsd:element name="security-role-ref"
1562
                   type="javaee:security-role-refType"
1563
                   minOccurs="0"
1564
                   maxOccurs="unbounded"/>
1565
      <xsd:element name="security-identity"
1566
                   type="javaee:security-identityType"
1567
                   minOccurs="0"/>
1568
      <xsd:element name="query"
1569
                   type="javaee:queryType"
1570
                   minOccurs="0"
1571
                   maxOccurs="unbounded"/>
1572
    </xsd:sequence>
1573
    <xsd:attribute name="id"
1574
                   type="xsd:ID"/>
1575
  </xsd:complexType>
1576
1577
1578
<!-- **************************************************** -->
1579
1580
  <xsd:complexType name="exclude-listType">
1581
    <xsd:annotation>
1582
      <xsd:documentation>
1583
1584
        The exclude-listType specifies one or more methods which
1585
        the Assembler marks to be uncallable.
1586
        
1587
        If the method permission relation contains methods that are
1588
        in the exclude list, the Deployer should consider those
1589
        methods to be uncallable.
1590
        
1591
      </xsd:documentation>
1592
    </xsd:annotation>
1593
    <xsd:sequence>
1594
      <xsd:element name="description"
1595
                   type="javaee:descriptionType"
1596
                   minOccurs="0"
1597
                   maxOccurs="unbounded"/>
1598
      <xsd:element name="method"
1599
                   type="javaee:methodType"
1600
                   maxOccurs="unbounded"/>
1601
    </xsd:sequence>
1602
    <xsd:attribute name="id"
1603
                   type="xsd:ID"/>
1604
  </xsd:complexType>
1605
1606
1607
<!-- **************************************************** -->
1608
1609
  <xsd:complexType name="application-exceptionType">
1610
    <xsd:annotation>
1611
      <xsd:documentation>
1612
1613
        The application-exceptionType declares an application
1614
        exception. The declaration consists of:
1615
        
1616
        - the exception class. When the container receives
1617
        an exception of this type, it is required to 
1618
        forward this exception as an applcation exception 
1619
        to the client regardless of whether it is a checked
1620
        or unchecked exception.
1621
        - an optional rollback element. If this element is 
1622
        set to true, the container must rollback the current 
1623
        transaction before forwarding the exception to the
1624
        client.  If not specified, it defaults to false.
1625
        - an optional inherited element. If this element is 
1626
        set to true, subclasses of the exception class type
1627
        are also automatically considered application 
1628
        exceptions (unless overriden at a lower level).
1629
        If set to false, only the exception class type is
1630
        considered an application-exception, not its
1631
        exception subclasses. If not specified, this
1632
        value defaults to true.
1633
        
1634
      </xsd:documentation>
1635
    </xsd:annotation>
1636
    <xsd:sequence>
1637
      <xsd:element name="exception-class"
1638
                   type="javaee:fully-qualified-classType"/>
1639
      <xsd:element name="rollback"
1640
                   type="javaee:true-falseType"
1641
                   minOccurs="0"/>
1642
      <xsd:element name="inherited"
1643
                   type="javaee:true-falseType"
1644
                   minOccurs="0"/>
1645
    </xsd:sequence>
1646
    <xsd:attribute name="id"
1647
                   type="xsd:ID"/>
1648
  </xsd:complexType>
1649
1650
1651
<!-- **************************************************** -->
1652
1653
  <xsd:complexType name="interceptorsType">
1654
    <xsd:annotation>
1655
      <xsd:documentation>
1656
1657
        The interceptorsType element declares one or more interceptor
1658
        classes used by components within this ejb-jar file or .war file.  The declaration
1659
        consists of :
1660
        
1661
        - An optional description.
1662
        - One or more interceptor elements.
1663
        
1664
      </xsd:documentation>
1665
    </xsd:annotation>
1666
    <xsd:sequence>
1667
      <xsd:element name="description"
1668
                   type="javaee:descriptionType"
1669
                   minOccurs="0"
1670
                   maxOccurs="unbounded"/>
1671
      <xsd:element name="interceptor"
1672
                   type="javaee:interceptorType"
1673
                   maxOccurs="unbounded"/>
1674
    </xsd:sequence>
1675
    <xsd:attribute name="id"
1676
                   type="xsd:ID"/>
1677
  </xsd:complexType>
1678
1679
1680
<!-- **************************************************** -->
1681
1682
  <xsd:complexType name="interceptorType">
1683
    <xsd:annotation>
1684
      <xsd:documentation>
1685
1686
        The interceptorType element declares information about a single
1687
        interceptor class.  It consists of :
1688
        
1689
        - An optional description.
1690
        - The fully-qualified name of the interceptor class.
1691
        - An optional list of around invoke methods declared on the
1692
        interceptor class and/or its super-classes.
1693
        - An optional list of around timeout methods declared on the
1694
        interceptor class and/or its super-classes.
1695
        - An optional list environment dependencies for the interceptor
1696
        class and/or its super-classes.
1697
        - An optional list of post-activate methods declared on the
1698
        interceptor class and/or its super-classes.
1699
        - An optional list of pre-passivate methods declared on the
1700
        interceptor class and/or its super-classes.
1701
        
1702
      </xsd:documentation>
1703
    </xsd:annotation>
1704
    <xsd:sequence>
1705
      <xsd:element name="description"
1706
                   type="javaee:descriptionType"
1707
                   minOccurs="0"
1708
                   maxOccurs="unbounded"/>
1709
      <xsd:element name="interceptor-class"
1710
                   type="javaee:fully-qualified-classType"/>
1711
      <xsd:element name="around-invoke"
1712
                   type="javaee:around-invokeType"
1713
                   minOccurs="0"
1714
                   maxOccurs="unbounded"/>
1715
      <xsd:element name="around-timeout"
1716
                   type="javaee:around-timeoutType"
1717
                   minOccurs="0"
1718
                   maxOccurs="unbounded"/>
1719
      <xsd:group ref="javaee:jndiEnvironmentRefsGroup"/>
1720
      <xsd:element name="post-activate"
1721
                   type="javaee:lifecycle-callbackType"
1722
                   minOccurs="0"
1723
                   maxOccurs="unbounded"/>
1724
      <xsd:element name="pre-passivate"
1725
                   type="javaee:lifecycle-callbackType"
1726
                   minOccurs="0"
1727
                   maxOccurs="unbounded"/>
1728
    </xsd:sequence>
1729
    <xsd:attribute name="id"
1730
                   type="xsd:ID"/>
1731
  </xsd:complexType>
1732
1733
1734
<!-- **************************************************** -->
1735
1736
  <xsd:complexType name="interceptor-bindingType">
1737
    <xsd:annotation>
1738
      <xsd:documentation>
1739
        <![CDATA[[
1740
        The interceptor-bindingType element describes the binding of
1741
        interceptor classes to beans within the ejb-jar file or .war file.
1742
        It consists of :
1743
        
1744
        - An optional description.
1745
        - The name of an ejb within the module or the wildcard value "*",
1746
        which is used to define interceptors that are bound to all
1747
        beans in the ejb-jar file or .war file.
1748
        - A list of interceptor classes that are bound to the contents of
1749
        the ejb-name element or a specification of the total ordering
1750
        over the interceptors defined for the given level and above.
1751
        - An optional exclude-default-interceptors element.  If set to true,
1752
        specifies that default interceptors are not to be applied to 
1753
        a bean-class and/or business method.
1754
        - An optional exclude-class-interceptors element.  If set to true,
1755
        specifies that class interceptors are not to be applied to 
1756
        a business method.
1757
        - An optional set of method elements for describing the name/params
1758
        of a method-level interceptor.
1759
        
1760
        Interceptors bound to all classes using the wildcard syntax
1761
        "*" are default interceptors for the components in the ejb-jar file or .war file. 
1762
        In addition, interceptors may be bound at the level of the bean
1763
        class (class-level interceptors) or business methods (method-level
1764
        interceptors ).
1765
        
1766
        The binding of interceptors to classes is additive.  If interceptors
1767
        are bound at the class-level and/or default-level as well as the
1768
        method-level, both class-level and/or default-level as well as
1769
        method-level will apply. 
1770
        
1771
        There are four possible styles of the interceptor element syntax :
1772
        
1773
        1.
1774
        <interceptor-binding>
1775
        <ejb-name>*</ejb-name>
1776
        <interceptor-class>INTERCEPTOR</interceptor-class>
1777
        </interceptor-binding>
1778
        
1779
        Specifying the ejb-name as the wildcard value "*" designates
1780
        default interceptors (interceptors that apply to all session and
1781
        message-driven beans contained in the ejb-jar file or .war file).
1782
        
1783
        2. 
1784
        <interceptor-binding>
1785
        <ejb-name>EJBNAME</ejb-name>
1786
        <interceptor-class>INTERCEPTOR</interceptor-class>
1787
        </interceptor-binding>
1788
        
1789
        This style is used to refer to interceptors associated with the
1790
        specified enterprise bean(class-level interceptors).
1791
        
1792
        3. 
1793
        <interceptor-binding>
1794
        <ejb-name>EJBNAME</ejb-name>
1795
        <interceptor-class>INTERCEPTOR</interceptor-class>
1796
        <method>
1797
        <method-name>METHOD</method-name>
1798
        </method>
1799
        </interceptor-binding>
1800
        
1801
        This style is used to associate a method-level interceptor with 
1802
        the specified enterprise bean.  If there are multiple methods
1803
        with the same overloaded name, the element of this style refers
1804
        to all the methods with the overloaded name.  Method-level
1805
        interceptors can only be associated with business methods of the
1806
        bean class.   Note that the wildcard value "*" cannot be used
1807
        to specify method-level interceptors.
1808
        
1809
        4. 
1810
        <interceptor-binding>
1811
        <ejb-name>EJBNAME</ejb-name>
1812
        <interceptor-class>INTERCEPTOR</interceptor-class>
1813
        <method>
1814
        <method-name>METHOD</method-name>
1815
        <method-params>
1816
        <method-param>PARAM-1</method-param>
1817
        <method-param>PARAM-2</method-param>
1818
        ...
1819
        <method-param>PARAM-N</method-param>
1820
        </method-params>
1821
        </method>
1822
        </interceptor-binding>
1823
        
1824
        This style is used to associate a method-level interceptor with 
1825
        the specified method of the specified enterprise bean.  This 
1826
        style is used to refer to a single method within a set of methods
1827
        with an overloaded name.  The values PARAM-1 through PARAM-N
1828
        are the fully-qualified Java types of the method's input parameters
1829
        (if the method has no input arguments, the method-params element
1830
        contains no method-param elements). Arrays are specified by the
1831
        array element's type, followed by one or more pair of square 
1832
        brackets (e.g. int[][]).
1833
        
1834
        ]]>
1835
      </xsd:documentation>
1836
    </xsd:annotation>
1837
    <xsd:sequence>
1838
      <xsd:element name="description"
1839
                   type="javaee:descriptionType"
1840
                   minOccurs="0"
1841
                   maxOccurs="unbounded"/>
1842
      <xsd:element name="ejb-name"
1843
                   type="javaee:string"/>
1844
      <xsd:choice>
1845
        <xsd:element name="interceptor-class"
1846
                     type="javaee:fully-qualified-classType"
1847
                     minOccurs="0"
1848
                     maxOccurs="unbounded"/>
1849
        <xsd:element name="interceptor-order"
1850
                     type="javaee:interceptor-orderType"
1851
                     minOccurs="1"/>
1852
      </xsd:choice>
1853
      <xsd:element name="exclude-default-interceptors"
1854
                   type="javaee:true-falseType"
1855
                   minOccurs="0"/>
1856
      <xsd:element name="exclude-class-interceptors"
1857
                   type="javaee:true-falseType"
1858
                   minOccurs="0"/>
1859
      <xsd:element name="method"
1860
                   type="javaee:named-methodType"
1861
                   minOccurs="0"/>
1862
    </xsd:sequence>
1863
    <xsd:attribute name="id"
1864
                   type="xsd:ID"/>
1865
  </xsd:complexType>
1866
1867
1868
<!-- **************************************************** -->
1869
1870
  <xsd:complexType name="interceptor-orderType">
1871
    <xsd:annotation>
1872
      <xsd:documentation>
1873
1874
        The interceptor-orderType element describes a total ordering
1875
        of interceptor classes.
1876
        
1877
      </xsd:documentation>
1878
    </xsd:annotation>
1879
    <xsd:sequence>
1880
      <xsd:element name="interceptor-class"
1881
                   type="javaee:fully-qualified-classType"
1882
                   minOccurs="1"
1883
                   maxOccurs="unbounded"/>
1884
    </xsd:sequence>
1885
    <xsd:attribute name="id"
1886
                   type="xsd:ID"/>
1887
  </xsd:complexType>
1888
1889
1890
<!-- **************************************************** -->
1891
1892
  <xsd:complexType name="named-methodType">
1893
    <xsd:sequence>
1894
      <xsd:element name="method-name"
1895
                   type="javaee:string"/>
1896
      <xsd:element name="method-params"
1897
                   type="javaee:method-paramsType"
1898
                   minOccurs="0"/>
1899
    </xsd:sequence>
1900
    <xsd:attribute name="id"
1901
                   type="xsd:ID"/>
1902
  </xsd:complexType>
1903
1904
1905
<!-- **************************************************** -->
1906
1907
  <xsd:complexType name="init-methodType">
1908
    <xsd:sequence>
1909
      <xsd:element name="create-method"
1910
                   type="javaee:named-methodType"/>
1911
      <xsd:element name="bean-method"
1912
                   type="javaee:named-methodType"/>
1913
    </xsd:sequence>
1914
    <xsd:attribute name="id"
1915
                   type="xsd:ID"/>
1916
  </xsd:complexType>
1917
1918
1919
<!-- **************************************************** -->
1920
1921
  <xsd:complexType name="remove-methodType">
1922
    <xsd:sequence>
1923
      <xsd:element name="bean-method"
1924
                   type="javaee:named-methodType"/>
1925
      <xsd:element name="retain-if-exception"
1926
                   type="javaee:true-falseType"
1927
                   minOccurs="0"/>
1928
    </xsd:sequence>
1929
    <xsd:attribute name="id"
1930
                   type="xsd:ID"/>
1931
  </xsd:complexType>
1932
1933
1934
<!-- **************************************************** -->
1935
1936
  <xsd:complexType name="message-driven-beanType">
1937
    <xsd:annotation>
1938
      <xsd:documentation>
1939
1940
        The message-driven element declares a message-driven
1941
        bean. The declaration consists of:
1942
        
1943
        - an optional description
1944
        - an optional display name
1945
        - an optional icon element that contains a small and a large 
1946
        icon file name. 
1947
        - a name assigned to the enterprise bean in
1948
        the deployment descriptor
1949
        - an optional mapped-name element that can be used to provide
1950
        vendor-specific deployment information such as the physical
1951
        jndi-name of destination from which this message-driven bean
1952
        should consume.  This element is not required to be supported 
1953
        by all implementations.  Any use of this element is non-portable.
1954
        - the message-driven bean's implementation class
1955
        - an optional declaration of the bean's messaging 
1956
        type 
1957
        - an optional declaration of the bean's timeout method for
1958
        handling programmatically created timers
1959
        - an optional declaration of timers to be automatically created at
1960
        deployment time
1961
        - the optional message-driven bean's transaction management 
1962
        type. If it is not defined, it is defaulted to Container.
1963
        - an optional declaration of the bean's 
1964
        message-destination-type
1965
        - an optional declaration of the bean's 
1966
        message-destination-link
1967
        - an optional declaration of the message-driven bean's
1968
        activation configuration properties
1969
        - an optional list of the message-driven bean class and/or
1970
        superclass around-invoke methods.
1971
        - an optional list of the message-driven bean class and/or
1972
        superclass around-timeout methods.
1973
        - an optional declaration of the bean's environment
1974
        entries
1975
        - an optional declaration of the bean's EJB references
1976
        - an optional declaration of the bean's local EJB
1977
        references
1978
        - an optional declaration of the bean's web service
1979
        references
1980
        - an optional declaration of the security role 
1981
        references
1982
        - an optional declaration of the security
1983
        identity to be used for the execution of the bean's
1984
        methods
1985
        - an optional declaration of the bean's 
1986
        resource manager connection factory 
1987
        references
1988
        - an optional declaration of the bean's resource
1989
        environment references.
1990
        - an optional declaration of the bean's message 
1991
        destination references
1992
        
1993
      </xsd:documentation>
1994
    </xsd:annotation>
1995
    <xsd:sequence>
1996
      <xsd:group ref="javaee:descriptionGroup"/>
1997
      <xsd:element name="ejb-name"
1998
                   type="javaee:ejb-nameType"/>
1999
      <xsd:element name="mapped-name"
2000
                   type="javaee:xsdStringType"
2001
                   minOccurs="0"/>
2002
      <xsd:element name="ejb-class"
2003
                   type="javaee:ejb-classType"
2004
                   minOccurs="0">
2005
        <xsd:annotation>
2006
          <xsd:documentation>
2007
2008
            The ejb-class element specifies the fully qualified name
2009
            of the bean class for this ejb.  It is required unless
2010
            there is a component-defining annotation for the same
2011
            ejb-name.
2012
            
2013
          </xsd:documentation>
2014
        </xsd:annotation>
2015
      </xsd:element>
2016
      <xsd:element name="messaging-type"
2017
                   type="javaee:fully-qualified-classType"
2018
                   minOccurs="0">
2019
        <xsd:annotation>
2020
          <xsd:documentation>
2021
2022
            The messaging-type element specifies the message
2023
            listener interface of the message-driven bean. 
2024
            
2025
          </xsd:documentation>
2026
        </xsd:annotation>
2027
      </xsd:element>
2028
      <xsd:element name="timeout-method"
2029
                   type="javaee:named-methodType"
2030
                   minOccurs="0">
2031
        <xsd:annotation>
2032
          <xsd:documentation>
2033
2034
            The timeout-method element specifies the method that
2035
            will receive callbacks for programmatically
2036
            created timers.
2037
            
2038
          </xsd:documentation>
2039
        </xsd:annotation>
2040
      </xsd:element>
2041
      <xsd:element name="timer"
2042
                   type="javaee:timerType"
2043
                   minOccurs="0"
2044
                   maxOccurs="unbounded"/>
2045
      <xsd:element name="transaction-type"
2046
                   type="javaee:transaction-typeType"
2047
                   minOccurs="0"/>
2048
      <xsd:element name="message-destination-type"
2049
                   type="javaee:message-destination-typeType"
2050
                   minOccurs="0"/>
2051
      <xsd:element name="message-destination-link"
2052
                   type="javaee:message-destination-linkType"
2053
                   minOccurs="0"/>
2054
      <xsd:element name="activation-config"
2055
                   type="javaee:activation-configType"
2056
                   minOccurs="0"/>
2057
      <xsd:element name="around-invoke"
2058
                   type="javaee:around-invokeType"
2059
                   minOccurs="0"
2060
                   maxOccurs="unbounded"/>
2061
      <xsd:element name="around-timeout"
2062
                   type="javaee:around-timeoutType"
2063
                   minOccurs="0"
2064
                   maxOccurs="unbounded"/>
2065
      <xsd:group ref="javaee:jndiEnvironmentRefsGroup"/>
2066
      <xsd:element name="security-role-ref"
2067
                   type="javaee:security-role-refType"
2068
                   minOccurs="0"
2069
                   maxOccurs="unbounded">
2070
      </xsd:element>
2071
      <xsd:element name="security-identity"
2072
                   type="javaee:security-identityType"
2073
                   minOccurs="0"/>
2074
    </xsd:sequence>
2075
    <xsd:attribute name="id"
2076
                   type="xsd:ID"/>
2077
  </xsd:complexType>
2078
2079
2080
<!-- **************************************************** -->
2081
2082
  <xsd:complexType name="methodType">
2083
    <xsd:annotation>
2084
      <xsd:documentation>
2085
        <![CDATA[[
2086
        The methodType is used to denote a method of an enterprise
2087
        bean.  The method may be any of the following or a set of
2088
        any of the following methods may be designated:
2089
        business interface method
2090
        home interface method
2091
        component interface method
2092
        web service endpoint interface method
2093
        no-interface view method
2094
        singleton session bean lifecycle callback method
2095
        stateful session bean lifecycle callback method (see 
2096
        limitations)
2097
        timeout callback method
2098
        message-driven bean message listener method
2099
        
2100
        The ejb-name element must be the name of one of the enterprise 
2101
        beans declared in the deployment descriptor.
2102
        The optional method-intf element allows distinguishing between a
2103
        method with the same signature that is multiply defined
2104
        across any of the above.
2105
        The method-name element specifies the method name.
2106
        The optional method-params elements identify a single method 
2107
        among multiple methods with an overloaded method name.
2108
        
2109
        There are three possible styles of using methodType element
2110
        within a method element:
2111
        
2112
        1.
2113
        <method>
2114
        <ejb-name>EJBNAME</ejb-name>
2115
        <method-name>*</method-name>
2116
        </method>
2117
        
2118
        This style is used to refer to all of the following methods 
2119
        of the specified enterprise bean:
2120
        business interface methods
2121
        home interface methods
2122
        component interface methods
2123
        web service endpoint interface methods
2124
        no-interface view methods
2125
        singleton session bean lifecycle callback methods
2126
        timeout callback methods
2127
        message-driven bean message listener method
2128
        
2129
        This style may be used for stateful session bean lifecycle 
2130
        callback methods to specify their transaction attributes, 
2131
        if used with the method-intf element that contains 
2132
        LifecycleCallback as the value.
2133
        
2134
        2.
2135
        <method>
2136
        <ejb-name>EJBNAME</ejb-name>
2137
        <method-name>METHOD</method-name>
2138
        </method>
2139
        
2140
        This style is used to refer to the specified method of
2141
        the specified enterprise bean. If there are multiple
2142
        methods with the same overloaded name, the element of
2143
        this style refers to all the methods with the overloaded
2144
        name.
2145
        
2146
        This style may be used to refer to stateful session bean
2147
        lifecycle callback methods to specify their transaction
2148
        attributes if any of the following is true:
2149
        there is only one method with this name in the specified 
2150
        enterprise bean
2151
        all overloaded methods with this name in the specified 
2152
        enterprise bean are lifecycle callback methods
2153
        method-intf element is specified and it contains 
2154
        LifecycleCallback as the value 
2155
        
2156
        3.
2157
        <method>
2158
        <ejb-name>EJBNAME</ejb-name>
2159
        <method-name>METHOD</method-name>
2160
        <method-params>
2161
        	  <method-param>PARAM-1</method-param>
2162
        	  <method-param>PARAM-2</method-param>
2163
        	  ...
2164
        	  <method-param>PARAM-n</method-param>
2165
        </method-params>
2166
        </method>
2167
        
2168
        This style is used to refer to a single method within a
2169
        set of methods with an overloaded name. PARAM-1 through
2170
        PARAM-n are the fully-qualified Java types of the
2171
        method's input parameters (if the method has no input
2172
        arguments, the method-params element contains no
2173
        method-param elements). Arrays are specified by the
2174
        array element's type, followed by one or more pair of
2175
        square brackets (e.g. int[][]). 
2176
        If a method with the same name and signature is defined 
2177
        on more than one interface of an enterprise bean, this 
2178
        style refers to all those methods. 
2179
        
2180
        Examples:
2181
        
2182
        Style 1: The following method element refers to all of the
2183
        following methods of the EmployeeService bean:
2184
        no interface view methods
2185
        business interface methods   
2186
        home interface methods   
2187
        component business interface methods   
2188
        singleton session bean lifecycle callback methods, if any
2189
        timeout callback methods
2190
        web service endpoint interface methods
2191
        message-driven bean message listener methods (if the bean
2192
        a message-driven bean)
2193
        
2194
        <method>
2195
        <ejb-name>EmployeeService</ejb-name>
2196
        <method-name>*</method-name>
2197
        </method>
2198
        
2199
        Style 2: The following method element refers to all the
2200
        create methods of the EmployeeService bean's home
2201
        interface(s).
2202
        
2203
        <method>
2204
        <ejb-name>EmployeeService</ejb-name>
2205
        <method-name>create</method-name>
2206
        </method>
2207
        
2208
        Style 3: The following method element refers to the
2209
        create(String firstName, String LastName) method of the
2210
        EmployeeService bean's home interface(s).
2211
        
2212
        <method>
2213
        <ejb-name>EmployeeService</ejb-name>
2214
        <method-name>create</method-name>
2215
        <method-params>
2216
        	  <method-param>java.lang.String</method-param>
2217
        	  <method-param>java.lang.String</method-param>
2218
        </method-params>
2219
        </method>
2220
        
2221
        The following example illustrates a Style 3 element with
2222
        more complex parameter types. The method 
2223
        foobar(char s, int i, int[] iar, mypackage.MyClass mycl, 
2224
        mypackage.MyClass[][] myclaar) would be specified as:
2225
        
2226
        <method>
2227
        <ejb-name>EmployeeService</ejb-name>
2228
        <method-name>foobar</method-name>
2229
        <method-params>
2230
        	  <method-param>char</method-param>
2231
        	  <method-param>int</method-param>
2232
        	  <method-param>int[]</method-param>
2233
        	  <method-param>mypackage.MyClass</method-param>
2234
        	  <method-param>mypackage.MyClass[][]</method-param>
2235
        </method-params>
2236
        </method>
2237
        
2238
        The optional method-intf element can be used when it becomes
2239
        necessary to differentiate between a method that is defined
2240
        multiple times with the same name and signature across any
2241
        of the following methods of an enterprise bean:
2242
        business interface methods
2243
        home interface methods
2244
        component interface methods
2245
        web service endpoint methods
2246
        no-interface view methods
2247
        singleton or stateful session bean lifecycle callback methods
2248
        timeout callback methods
2249
        message-driven bean message listener methods
2250
        
2251
        However, if the same method is a method of both the local 
2252
        business interface, and the local component interface, 
2253
        the same attribute applies to the method for both interfaces.
2254
        Likewise, if the same method is a method of both the remote 
2255
        business interface and the remote component interface, the same
2256
        attribute applies to the method for both interfaces.
2257
        
2258
        For example, the method element
2259
        
2260
        <method>
2261
        <ejb-name>EmployeeService</ejb-name>
2262
        <method-intf>Remote</method-intf>
2263
        <method-name>create</method-name>
2264
        <method-params>
2265
        	  <method-param>java.lang.String</method-param>
2266
        	  <method-param>java.lang.String</method-param>
2267
        </method-params>
2268
        </method>
2269
        
2270
        can be used to differentiate the create(String, String)
2271
        method defined in the remote interface from the
2272
        create(String, String) method defined in the remote home
2273
        interface, which would be defined as
2274
        
2275
        <method>
2276
        <ejb-name>EmployeeService</ejb-name>
2277
        <method-intf>Home</method-intf>
2278
        <method-name>create</method-name>
2279
        <method-params>
2280
        	  <method-param>java.lang.String</method-param>
2281
        	  <method-param>java.lang.String</method-param>
2282
        </method-params>
2283
        </method>
2284
        
2285
        and the create method that is defined in the local home
2286
        interface which would be defined as
2287
        
2288
        <method>
2289
        <ejb-name>EmployeeService</ejb-name>
2290
        <method-intf>LocalHome</method-intf>
2291
        <method-name>create</method-name>
2292
        <method-params>
2293
        	  <method-param>java.lang.String</method-param>
2294
        	  <method-param>java.lang.String</method-param>
2295
        </method-params>
2296
        </method>
2297
        
2298
        The method-intf element can be used with all three Styles
2299
        of the method element usage. For example, the following
2300
        method element example could be used to refer to all the
2301
        methods of the EmployeeService bean's remote home interface
2302
        and the remote business interface.
2303
        
2304
        <method>
2305
        <ejb-name>EmployeeService</ejb-name>
2306
        <method-intf>Home</method-intf>
2307
        <method-name>*</method-name>
2308
        </method>
2309
        
2310
        ]]>
2311
      </xsd:documentation>
2312
    </xsd:annotation>
2313
    <xsd:sequence>
2314
      <xsd:element name="description"
2315
                   type="javaee:descriptionType"
2316
                   minOccurs="0"
2317
                   maxOccurs="unbounded"/>
2318
      <xsd:element name="ejb-name"
2319
                   type="javaee:ejb-nameType"/>
2320
      <xsd:element name="method-intf"
2321
                   type="javaee:method-intfType"
2322
                   minOccurs="0">
2323
      </xsd:element>
2324
      <xsd:element name="method-name"
2325
                   type="javaee:method-nameType"/>
2326
      <xsd:element name="method-params"
2327
                   type="javaee:method-paramsType"
2328
                   minOccurs="0"/>
2329
    </xsd:sequence>
2330
    <xsd:attribute name="id"
2331
                   type="xsd:ID"/>
2332
  </xsd:complexType>
2333
2334
2335
<!-- **************************************************** -->
2336
2337
  <xsd:complexType name="method-intfType">
2338
    <xsd:annotation>
2339
      <xsd:documentation>
2340
2341
        The method-intf element allows a method element to
2342
        differentiate between the methods with the same name and
2343
        signature that are multiply defined across the home and
2344
        component interfaces (e.g, in both an enterprise bean's
2345
        remote and local interfaces or in both an enterprise bean's
2346
        home and remote interfaces, etc.); the component and web
2347
        service endpoint interfaces, and so on. 
2348
        
2349
        Local applies to the local component interface, local business 
2350
        interfaces, and the no-interface view. 
2351
        
2352
        Remote applies to both remote component interface and the remote 
2353
        business interfaces.  
2354
        
2355
        ServiceEndpoint refers to methods exposed through a web service
2356
        endpoint.
2357
        
2358
        Timer refers to the bean's timeout callback methods.
2359
        
2360
        MessageEndpoint refers to the methods of a message-driven bean's
2361
        message-listener interface.
2362
        
2363
        LifecycleCallback refers to the lifecycle callback methods of 
2364
        a singleton or stateful session bean.
2365
        
2366
        The method-intf element must be one of the following:
2367
        
2368
        Home
2369
        Remote
2370
        LocalHome
2371
        Local
2372
        ServiceEndpoint
2373
        Timer
2374
        MessageEndpoint
2375
        LifecycleCallback
2376
        
2377
      </xsd:documentation>
2378
    </xsd:annotation>
2379
    <xsd:simpleContent>
2380
      <xsd:restriction base="javaee:string">
2381
        <xsd:enumeration value="Home"/>
2382
        <xsd:enumeration value="Remote"/>
2383
        <xsd:enumeration value="LocalHome"/>
2384
        <xsd:enumeration value="Local"/>
2385
        <xsd:enumeration value="ServiceEndpoint"/>
2386
        <xsd:enumeration value="Timer"/>
2387
        <xsd:enumeration value="MessageEndpoint"/>
2388
        <xsd:enumeration value="LifecycleCallback"/>
2389
      </xsd:restriction>
2390
    </xsd:simpleContent>
2391
  </xsd:complexType>
2392
2393
2394
<!-- **************************************************** -->
2395
2396
  <xsd:complexType name="method-nameType">
2397
    <xsd:annotation>
2398
      <xsd:documentation>
2399
2400
        The method-nameType contains a name of an enterprise
2401
        bean method or the asterisk (*) character. The asterisk is
2402
        used when the element denotes all the methods of an
2403
        enterprise bean's client view interfaces.
2404
        
2405
      </xsd:documentation>
2406
    </xsd:annotation>
2407
    <xsd:simpleContent>
2408
      <xsd:restriction base="javaee:string"/>
2409
    </xsd:simpleContent>
2410
  </xsd:complexType>
2411
2412
2413
<!-- **************************************************** -->
2414
2415
  <xsd:complexType name="method-paramsType">
2416
    <xsd:annotation>
2417
      <xsd:documentation>
2418
2419
        The method-paramsType defines a list of the
2420
        fully-qualified Java type names of the method parameters.
2421
        
2422
      </xsd:documentation>
2423
    </xsd:annotation>
2424
    <xsd:sequence>
2425
      <xsd:element name="method-param"
2426
                   type="javaee:java-typeType"
2427
                   minOccurs="0"
2428
                   maxOccurs="unbounded">
2429
        <xsd:annotation>
2430
          <xsd:documentation>
2431
2432
            The method-param element contains a primitive
2433
            or a fully-qualified Java type name of a method
2434
            parameter.
2435
            
2436
          </xsd:documentation>
2437
        </xsd:annotation>
2438
      </xsd:element>
2439
    </xsd:sequence>
2440
    <xsd:attribute name="id"
2441
                   type="xsd:ID"/>
2442
  </xsd:complexType>
2443
2444
2445
<!-- **************************************************** -->
2446
2447
  <xsd:complexType name="method-permissionType">
2448
    <xsd:annotation>
2449
      <xsd:documentation>
2450
2451
        The method-permissionType specifies that one or more
2452
        security roles are allowed to invoke one or more enterprise
2453
        bean methods. The method-permissionType consists of an
2454
        optional description, a list of security role names or an
2455
        indicator to state that the method is unchecked for
2456
        authorization, and a list of method elements.
2457
        
2458
        The security roles used in the method-permissionType
2459
        must be defined in the security-role elements of the
2460
        deployment descriptor, and the methods must be methods
2461
        defined in the enterprise bean's no-interface view, 
2462
        business, home, component and/or web service endpoint 
2463
        interfaces.
2464
        
2465
      </xsd:documentation>
2466
    </xsd:annotation>
2467
    <xsd:sequence>
2468
      <xsd:element name="description"
2469
                   type="javaee:descriptionType"
2470
                   minOccurs="0"
2471
                   maxOccurs="unbounded"/>
2472
      <xsd:choice>
2473
        <xsd:element name="role-name"
2474
                     type="javaee:role-nameType"
2475
                     maxOccurs="unbounded"/>
2476
        <xsd:element name="unchecked"
2477
                     type="javaee:emptyType">
2478
          <xsd:annotation>
2479
            <xsd:documentation>
2480
2481
              The unchecked element specifies that a method is
2482
              not checked for authorization by the container
2483
              prior to invocation of the method.
2484
              
2485
            </xsd:documentation>
2486
          </xsd:annotation>
2487
        </xsd:element>
2488
      </xsd:choice>
2489
      <xsd:element name="method"
2490
                   type="javaee:methodType"
2491
                   maxOccurs="unbounded"/>
2492
    </xsd:sequence>
2493
    <xsd:attribute name="id"
2494
                   type="xsd:ID"/>
2495
  </xsd:complexType>
2496
2497
2498
<!-- **************************************************** -->
2499
2500
  <xsd:complexType name="multiplicityType">
2501
    <xsd:annotation>
2502
      <xsd:documentation>
2503
2504
        The multiplicityType describes the multiplicity of the
2505
        role that participates in a relation.
2506
        
2507
        The value must be one of the two following:
2508
        
2509
        One
2510
        Many
2511
        
2512
      </xsd:documentation>
2513
    </xsd:annotation>
2514
    <xsd:simpleContent>
2515
      <xsd:restriction base="javaee:string">
2516
        <xsd:enumeration value="One"/>
2517
        <xsd:enumeration value="Many"/>
2518
      </xsd:restriction>
2519
    </xsd:simpleContent>
2520
  </xsd:complexType>
2521
2522
2523
<!-- **************************************************** -->
2524
2525
  <xsd:complexType name="persistence-typeType">
2526
    <xsd:annotation>
2527
      <xsd:documentation>
2528
2529
        The persistence-typeType specifies an entity bean's persistence
2530
        management type.
2531
        
2532
        The persistence-type element must be one of the two following:
2533
        
2534
        Bean
2535
        Container
2536
        
2537
      </xsd:documentation>
2538
    </xsd:annotation>
2539
    <xsd:simpleContent>
2540
      <xsd:restriction base="javaee:string">
2541
        <xsd:enumeration value="Bean"/>
2542
        <xsd:enumeration value="Container"/>
2543
      </xsd:restriction>
2544
    </xsd:simpleContent>
2545
  </xsd:complexType>
2546
2547
2548
<!-- **************************************************** -->
2549
2550
  <xsd:complexType name="queryType">
2551
    <xsd:annotation>
2552
      <xsd:documentation>
2553
2554
        The queryType defines a finder or select
2555
        query. It contains
2556
        - an optional description of the query
2557
        - the specification of the finder or select
2558
        method it is used by
2559
        	- an optional specification of the result type 
2560
        	  mapping, if the query is for a select method 
2561
        	  and entity objects are returned.
2562
        	- the EJB QL query string that defines the query.
2563
        
2564
        Queries that are expressible in EJB QL must use the ejb-ql
2565
        element to specify the query. If a query is not expressible
2566
        in EJB QL, the description element should be used to
2567
        describe the semantics of the query and the ejb-ql element
2568
        should be empty.
2569
        
2570
        The result-type-mapping is an optional element. It can only
2571
        be present if the query-method specifies a select method
2572
        that returns entity objects.  The default value for the
2573
        result-type-mapping element is "Local".
2574
        
2575
      </xsd:documentation>
2576
    </xsd:annotation>
2577
    <xsd:sequence>
2578
      <xsd:element name="description"
2579
                   type="javaee:descriptionType"
2580
                   minOccurs="0"/>
2581
      <xsd:element name="query-method"
2582
                   type="javaee:query-methodType"/>
2583
      <xsd:element name="result-type-mapping"
2584
                   type="javaee:result-type-mappingType"
2585
                   minOccurs="0"/>
2586
      <xsd:element name="ejb-ql"
2587
                   type="javaee:xsdStringType"/>
2588
    </xsd:sequence>
2589
    <xsd:attribute name="id"
2590
                   type="xsd:ID"/>
2591
  </xsd:complexType>
2592
2593
2594
<!-- **************************************************** -->
2595
2596
  <xsd:complexType name="query-methodType">
2597
    <xsd:annotation>
2598
      <xsd:documentation>
2599
        <![CDATA[[
2600
        The query-method specifies the method for a finder or select
2601
        query.
2602
        
2603
        The method-name element specifies the name of a finder or select
2604
        method in the entity bean's implementation class.
2605
        
2606
        Each method-param must be defined for a query-method using the
2607
        method-params element.
2608
        
2609
        It is used by the query-method element. 
2610
        
2611
        Example:
2612
        
2613
        <query>
2614
        <description>Method finds large orders</description>
2615
        <query-method>
2616
        	  <method-name>findLargeOrders</method-name>
2617
        	  <method-params></method-params>
2618
        </query-method>
2619
        <ejb-ql>
2620
        	SELECT OBJECT(o) FROM Order o
2621
        	  WHERE o.amount &gt; 1000
2622
        </ejb-ql>
2623
        </query>
2624
        
2625
        ]]>
2626
      </xsd:documentation>
2627
    </xsd:annotation>
2628
    <xsd:sequence>
2629
      <xsd:element name="method-name"
2630
                   type="javaee:method-nameType"/>
2631
      <xsd:element name="method-params"
2632
                   type="javaee:method-paramsType"/>
2633
    </xsd:sequence>
2634
    <xsd:attribute name="id"
2635
                   type="xsd:ID"/>
2636
  </xsd:complexType>
2637
2638
2639
<!-- **************************************************** -->
2640
2641
  <xsd:complexType name="relationship-role-sourceType">
2642
    <xsd:annotation>
2643
      <xsd:documentation>
2644
2645
        The relationship-role-sourceType designates the source of a
2646
        role that participates in a relationship. A
2647
        relationship-role-sourceType is used by
2648
        relationship-role-source elements to uniquely identify an
2649
        entity bean.
2650
        
2651
      </xsd:documentation>
2652
    </xsd:annotation>
2653
    <xsd:sequence>
2654
      <xsd:element name="description"
2655
                   type="javaee:descriptionType"
2656
                   minOccurs="0"
2657
                   maxOccurs="unbounded"/>
2658
      <xsd:element name="ejb-name"
2659
                   type="javaee:ejb-nameType"/>
2660
    </xsd:sequence>
2661
    <xsd:attribute name="id"
2662
                   type="xsd:ID"/>
2663
  </xsd:complexType>
2664
2665
2666
<!-- **************************************************** -->
2667
2668
  <xsd:complexType name="relationshipsType">
2669
    <xsd:annotation>
2670
      <xsd:documentation>
2671
2672
        The relationshipsType describes the relationships in
2673
        which entity beans with container-managed persistence
2674
        participate. The relationshipsType contains an optional
2675
        description; and a list of ejb-relation elements, which
2676
        specify the container managed relationships.
2677
        
2678
      </xsd:documentation>
2679
    </xsd:annotation>
2680
    <xsd:sequence>
2681
      <xsd:element name="description"
2682
                   type="javaee:descriptionType"
2683
                   minOccurs="0"
2684
                   maxOccurs="unbounded"/>
2685
      <xsd:element name="ejb-relation"
2686
                   type="javaee:ejb-relationType"
2687
                   maxOccurs="unbounded">
2688
        <xsd:unique name="role-name-uniqueness">
2689
          <xsd:annotation>
2690
            <xsd:documentation>
2691
2692
              The ejb-relationship-role-name contains the name of a
2693
              relationship role. The name must be unique within 
2694
              a relationship, but can be reused in different
2695
              relationships.
2696
              
2697
            </xsd:documentation>
2698
          </xsd:annotation>
2699
          <xsd:selector xpath=".//javaee:ejb-relationship-role-name"/>
2700
          <xsd:field xpath="."/>
2701
        </xsd:unique>
2702
      </xsd:element>
2703
    </xsd:sequence>
2704
    <xsd:attribute name="id"
2705
                   type="xsd:ID"/>
2706
  </xsd:complexType>
2707
2708
2709
<!-- **************************************************** -->
2710
2711
  <xsd:complexType name="result-type-mappingType">
2712
    <xsd:annotation>
2713
      <xsd:documentation>
2714
2715
        The result-type-mappingType is used in the query element to
2716
        specify whether an abstract schema type returned by a query
2717
        for a select method is to be mapped to an EJBLocalObject or
2718
        EJBObject type.
2719
        
2720
        The value must be one of the following:
2721
        
2722
        Local
2723
        Remote
2724
        
2725
      </xsd:documentation>
2726
    </xsd:annotation>
2727
    <xsd:simpleContent>
2728
      <xsd:restriction base="javaee:string">
2729
        <xsd:enumeration value="Local"/>
2730
        <xsd:enumeration value="Remote"/>
2731
      </xsd:restriction>
2732
    </xsd:simpleContent>
2733
  </xsd:complexType>
2734
2735
2736
<!-- **************************************************** -->
2737
2738
  <xsd:complexType name="security-identityType">
2739
    <xsd:annotation>
2740
      <xsd:documentation>
2741
2742
        The security-identityType specifies whether the caller's
2743
        security identity is to be used for the execution of the
2744
        methods of the enterprise bean or whether a specific run-as
2745
        identity is to be used. It contains an optional description
2746
        and a specification of the security identity to be used.
2747
        
2748
      </xsd:documentation>
2749
    </xsd:annotation>
2750
    <xsd:sequence>
2751
      <xsd:element name="description"
2752
                   type="javaee:descriptionType"
2753
                   minOccurs="0"
2754
                   maxOccurs="unbounded"/>
2755
      <xsd:choice>
2756
        <xsd:element name="use-caller-identity"
2757
                     type="javaee:emptyType">
2758
          <xsd:annotation>
2759
            <xsd:documentation>
2760
2761
              The use-caller-identity element specifies that
2762
              the caller's security identity be used as the
2763
              security identity for the execution of the
2764
              enterprise bean's methods.
2765
              
2766
            </xsd:documentation>
2767
          </xsd:annotation>
2768
        </xsd:element>
2769
        <xsd:element name="run-as"
2770
                     type="javaee:run-asType"/>
2771
      </xsd:choice>
2772
    </xsd:sequence>
2773
    <xsd:attribute name="id"
2774
                   type="xsd:ID"/>
2775
  </xsd:complexType>
2776
2777
2778
<!-- **************************************************** -->
2779
2780
  <xsd:complexType name="session-beanType">
2781
    <xsd:annotation>
2782
      <xsd:documentation>
2783
2784
        The session-beanType declares an session bean. The
2785
        declaration consists of:
2786
        
2787
        - an optional description
2788
        - an optional display name
2789
        - an optional icon element that contains a small and a large 
2790
        icon file name
2791
        - a name assigned to the enterprise bean
2792
        in the deployment description
2793
        - an optional mapped-name element that can be used to provide
2794
        vendor-specific deployment information such as the physical
2795
        jndi-name of the session bean's remote home/business interface. 
2796
        This element is not required to be supported by all 
2797
        implementations. Any use of this element is non-portable.
2798
        - the names of all the remote or local business interfaces, 
2799
        if any
2800
        - the names of the session bean's remote home and
2801
        remote interfaces, if any
2802
        - the names of the session bean's local home and
2803
        local interfaces, if any
2804
        - an optional declaration that this bean exposes a
2805
        no-interface view
2806
        - the name of the session bean's web service endpoint
2807
        interface, if any
2808
        - the session bean's implementation class
2809
        - the session bean's state management type
2810
        - an optional declaration of a stateful session bean's timeout value
2811
        - an optional declaration of the session bean's timeout method for
2812
        handling programmatically created timers
2813
        - an optional declaration of timers to be automatically created at
2814
        deployment time
2815
        - an optional declaration that a Singleton bean has eager
2816
        initialization
2817
        - an optional declaration of a Singleton/Stateful bean's concurrency 
2818
        management type
2819
        - an optional declaration of the method locking metadata
2820
        for a Singleton with container managed concurrency
2821
        - an optional declaration of the other Singleton beans in the
2822
        application that must be initialized before this bean
2823
        - an optional declaration of the session bean's asynchronous 
2824
        methods
2825
        - the optional session bean's transaction management type. 
2826
        If it is not present, it is defaulted to Container.
2827
        - an optional declaration of a stateful session bean's 
2828
        afterBegin, beforeCompletion, and/or afterCompletion methods
2829
        - an optional list of the session bean class and/or
2830
        superclass around-invoke methods.
2831
        - an optional list of the session bean class and/or
2832
        superclass around-timeout methods.
2833
        - an optional declaration of the bean's 
2834
        environment entries
2835
        - an optional declaration of the bean's EJB references
2836
        - an optional declaration of the bean's local 
2837
        EJB references
2838
        - an optional declaration of the bean's web 
2839
        service references
2840
        - an optional declaration of the security role 
2841
        references
2842
        - an optional declaration of the security identity 
2843
        to be used for the execution of the bean's methods
2844
        - an optional declaration of the bean's resource 
2845
        manager connection factory references
2846
        - an optional declaration of the bean's resource 
2847
        environment references.
2848
        - an optional declaration of the bean's message 
2849
        destination references
2850
        - an optional specification as to whether the stateful 
2851
        session bean is passivation capable or not. If not 
2852
        specified, the bean is assumed to be passivation capable
2853
        
2854
        The elements that are optional are "optional" in the sense
2855
        that they are omitted when if lists represented by them are
2856
        empty.
2857
        
2858
        The service-endpoint element may only be specified if the
2859
        bean is a stateless session bean.
2860
        
2861
      </xsd:documentation>
2862
    </xsd:annotation>
2863
    <xsd:sequence>
2864
      <xsd:group ref="javaee:descriptionGroup"/>
2865
      <xsd:element name="ejb-name"
2866
                   type="javaee:ejb-nameType"/>
2867
      <xsd:element name="mapped-name"
2868
                   type="javaee:xsdStringType"
2869
                   minOccurs="0"/>
2870
      <xsd:element name="home"
2871
                   type="javaee:homeType"
2872
                   minOccurs="0"/>
2873
      <xsd:element name="remote"
2874
                   type="javaee:remoteType"
2875
                   minOccurs="0"/>
2876
      <xsd:element name="local-home"
2877
                   type="javaee:local-homeType"
2878
                   minOccurs="0"/>
2879
      <xsd:element name="local"
2880
                   type="javaee:localType"
2881
                   minOccurs="0"/>
2882
      <xsd:element name="business-local"
2883
                   type="javaee:fully-qualified-classType"
2884
                   minOccurs="0"
2885
                   maxOccurs="unbounded"/>
2886
      <xsd:element name="business-remote"
2887
                   type="javaee:fully-qualified-classType"
2888
                   minOccurs="0"
2889
                   maxOccurs="unbounded"/>
2890
      <xsd:element name="local-bean"
2891
                   type="javaee:emptyType"
2892
                   minOccurs="0">
2893
        <xsd:annotation>
2894
          <xsd:documentation>
2895
2896
            The local-bean element declares that this
2897
            session bean exposes a no-interface Local client view.
2898
            
2899
          </xsd:documentation>
2900
        </xsd:annotation>
2901
      </xsd:element>
2902
      <xsd:element name="service-endpoint"
2903
                   type="javaee:fully-qualified-classType"
2904
                   minOccurs="0">
2905
        <xsd:annotation>
2906
          <xsd:documentation>
2907
2908
            The service-endpoint element contains the
2909
            fully-qualified name of the enterprise bean's web
2910
            service endpoint interface. The service-endpoint
2911
            element may only be specified for a stateless
2912
            session bean. The specified interface must be a
2913
            valid JAX-RPC service endpoint interface.
2914
            
2915
          </xsd:documentation>
2916
        </xsd:annotation>
2917
      </xsd:element>
2918
      <xsd:element name="ejb-class"
2919
                   type="javaee:ejb-classType"
2920
                   minOccurs="0">
2921
        <xsd:annotation>
2922
          <xsd:documentation>
2923
2924
            The ejb-class element specifies the fully qualified name
2925
            of the bean class for this ejb.  It is required unless
2926
            there is a component-defining annotation for the same
2927
            ejb-name.
2928
            
2929
          </xsd:documentation>
2930
        </xsd:annotation>
2931
      </xsd:element>
2932
      <xsd:element name="session-type"
2933
                   type="javaee:session-typeType"
2934
                   minOccurs="0"/>
2935
      <xsd:element name="stateful-timeout"
2936
                   type="javaee:stateful-timeoutType"
2937
                   minOccurs="0"/>
2938
      <xsd:element name="timeout-method"
2939
                   type="javaee:named-methodType"
2940
                   minOccurs="0">
2941
        <xsd:annotation>
2942
          <xsd:documentation>
2943
2944
            The timeout-method element specifies the method that
2945
            will receive callbacks for programmatically
2946
            created timers.
2947
            
2948
          </xsd:documentation>
2949
        </xsd:annotation>
2950
      </xsd:element>
2951
      <xsd:element name="timer"
2952
                   type="javaee:timerType"
2953
                   minOccurs="0"
2954
                   maxOccurs="unbounded"/>
2955
      <xsd:element name="init-on-startup"
2956
                   type="javaee:true-falseType"
2957
                   minOccurs="0">
2958
        <xsd:annotation>
2959
          <xsd:documentation>
2960
2961
            The init-on-startup element specifies that a Singleton
2962
            bean has eager initialization.
2963
            This element can only be specified for singleton session
2964
            beans.
2965
            
2966
          </xsd:documentation>
2967
        </xsd:annotation>
2968
      </xsd:element>
2969
      <xsd:element name="concurrency-management-type"
2970
                   type="javaee:concurrency-management-typeType"
2971
                   minOccurs="0"/>
2972
      <xsd:element name="concurrent-method"
2973
                   type="javaee:concurrent-methodType"
2974
                   minOccurs="0"
2975
                   maxOccurs="unbounded"/>
2976
      <xsd:element name="depends-on"
2977
                   type="javaee:depends-onType"
2978
                   minOccurs="0"/>
2979
      <xsd:element name="init-method"
2980
                   type="javaee:init-methodType"
2981
                   minOccurs="0"
2982
                   maxOccurs="unbounded">
2983
        <xsd:annotation>
2984
          <xsd:documentation>
2985
2986
            The init-method element specifies the mappings for
2987
            EJB 2.x style create methods for an EJB 3.x bean.
2988
            This element can only be specified for stateful 
2989
            session beans. 
2990
            
2991
          </xsd:documentation>
2992
        </xsd:annotation>
2993
      </xsd:element>
2994
      <xsd:element name="remove-method"
2995
                   type="javaee:remove-methodType"
2996
                   minOccurs="0"
2997
                   maxOccurs="unbounded">
2998
        <xsd:annotation>
2999
          <xsd:documentation>
3000
3001
            The remove-method element specifies the mappings for
3002
            EJB 2.x style remove methods for an EJB 3.x bean.
3003
            This element can only be specified for stateful 
3004
            session beans. 
3005
            
3006
          </xsd:documentation>
3007
        </xsd:annotation>
3008
      </xsd:element>
3009
      <xsd:element name="async-method"
3010
                   type="javaee:async-methodType"
3011
                   minOccurs="0"
3012
                   maxOccurs="unbounded"/>
3013
      <xsd:element name="transaction-type"
3014
                   type="javaee:transaction-typeType"
3015
                   minOccurs="0"/>
3016
      <xsd:element name="after-begin-method"
3017
                   type="javaee:named-methodType"
3018
                   minOccurs="0"/>
3019
      <xsd:element name="before-completion-method"
3020
                   type="javaee:named-methodType"
3021
                   minOccurs="0"/>
3022
      <xsd:element name="after-completion-method"
3023
                   type="javaee:named-methodType"
3024
                   minOccurs="0"/>
3025
      <xsd:element name="around-invoke"
3026
                   type="javaee:around-invokeType"
3027
                   minOccurs="0"
3028
                   maxOccurs="unbounded"/>
3029
      <xsd:element name="around-timeout"
3030
                   type="javaee:around-timeoutType"
3031
                   minOccurs="0"
3032
                   maxOccurs="unbounded"/>
3033
      <xsd:group ref="javaee:jndiEnvironmentRefsGroup"/>
3034
      <xsd:element name="post-activate"
3035
                   type="javaee:lifecycle-callbackType"
3036
                   minOccurs="0"
3037
                   maxOccurs="unbounded"/>
3038
      <xsd:element name="pre-passivate"
3039
                   type="javaee:lifecycle-callbackType"
3040
                   minOccurs="0"
3041
                   maxOccurs="unbounded"/>
3042
      <xsd:element name="security-role-ref"
3043
                   type="javaee:security-role-refType"
3044
                   minOccurs="0"
3045
                   maxOccurs="unbounded"/>
3046
      <xsd:element name="security-identity"
3047
                   type="javaee:security-identityType"
3048
                   minOccurs="0"/>
3049
      <xsd:element name="passivation-capable"
3050
                   type="xsd:boolean"
3051
                   default="true"
3052
                   minOccurs="0">
3053
        <xsd:annotation>
3054
          <xsd:documentation>
3055
3056
            The passivation-capable element specifies whether the 
3057
            stateful session bean is passivation capable or not. 
3058
            If not specified, the bean is assumed to be passivation 
3059
            capable.
3060
            
3061
          </xsd:documentation>
3062
        </xsd:annotation>
3063
      </xsd:element>
3064
    </xsd:sequence>
3065
    <xsd:attribute name="id"
3066
                   type="xsd:ID"/>
3067
  </xsd:complexType>
3068
3069
3070
<!-- **************************************************** -->
3071
3072
  <xsd:complexType name="session-typeType">
3073
    <xsd:annotation>
3074
      <xsd:documentation>
3075
3076
        The session-typeType describes whether the session bean is a
3077
        singleton, stateful or stateless session. It is used by
3078
        session-type elements.
3079
        
3080
        The value must be one of the three following:
3081
        
3082
        Singleton
3083
        Stateful
3084
        Stateless
3085
        
3086
      </xsd:documentation>
3087
    </xsd:annotation>
3088
    <xsd:simpleContent>
3089
      <xsd:restriction base="javaee:string">
3090
        <xsd:enumeration value="Singleton"/>
3091
        <xsd:enumeration value="Stateful"/>
3092
        <xsd:enumeration value="Stateless"/>
3093
      </xsd:restriction>
3094
    </xsd:simpleContent>
3095
  </xsd:complexType>
3096
3097
3098
<!-- **************************************************** -->
3099
3100
  <xsd:complexType name="stateful-timeoutType">
3101
    <xsd:annotation>
3102
      <xsd:documentation>
3103
3104
        The stateful-timeoutType represents the amount of time
3105
        a stateful session bean can be idle(not receive any client
3106
        invocations) before it is eligible for removal by the container.
3107
        
3108
        A timeout value of 0 means the bean is immediately eligible for removal.
3109
        
3110
        A timeout value of -1 means the bean will never be removed due to timeout.
3111
        
3112
      </xsd:documentation>
3113
    </xsd:annotation>
3114
    <xsd:sequence>
3115
      <xsd:element name="timeout"
3116
                   type="javaee:xsdIntegerType"/>
3117
      <xsd:element name="unit"
3118
                   type="javaee:time-unit-typeType"/>
3119
    </xsd:sequence>
3120
    <xsd:attribute name="id"
3121
                   type="xsd:ID"/>
3122
  </xsd:complexType>
3123
3124
3125
<!-- **************************************************** -->
3126
3127
  <xsd:complexType name="time-unit-typeType">
3128
    <xsd:annotation>
3129
      <xsd:documentation>
3130
3131
        The time-unit-typeType represents a time duration at a given
3132
        unit of granularity.  
3133
        
3134
        The time unit type must be one of the following :
3135
        
3136
        Days
3137
        Hours
3138
        Minutes
3139
        Seconds
3140
        Milliseconds
3141
        Microseconds
3142
        Nanoseconds
3143
        
3144
      </xsd:documentation>
3145
    </xsd:annotation>
3146
    <xsd:simpleContent>
3147
      <xsd:restriction base="javaee:string">
3148
        <xsd:enumeration value="Days"/>
3149
        <xsd:enumeration value="Hours"/>
3150
        <xsd:enumeration value="Minutes"/>
3151
        <xsd:enumeration value="Seconds"/>
3152
        <xsd:enumeration value="Milliseconds"/>
3153
        <xsd:enumeration value="Microseconds"/>
3154
        <xsd:enumeration value="Nanoseconds"/>
3155
      </xsd:restriction>
3156
    </xsd:simpleContent>
3157
  </xsd:complexType>
3158
3159
3160
<!-- **************************************************** -->
3161
3162
  <xsd:complexType name="timer-scheduleType">
3163
    <xsd:sequence>
3164
      <xsd:element name="second"
3165
                   type="javaee:string"
3166
                   minOccurs="0"/>
3167
      <xsd:element name="minute"
3168
                   type="javaee:string"
3169
                   minOccurs="0"/>
3170
      <xsd:element name="hour"
3171
                   type="javaee:string"
3172
                   minOccurs="0"/>
3173
      <xsd:element name="day-of-month"
3174
                   type="javaee:string"
3175
                   minOccurs="0"/>
3176
      <xsd:element name="month"
3177
                   type="javaee:string"
3178
                   minOccurs="0"/>
3179
      <xsd:element name="day-of-week"
3180
                   type="javaee:string"
3181
                   minOccurs="0"/>
3182
      <xsd:element name="year"
3183
                   type="javaee:string"
3184
                   minOccurs="0"/>
3185
    </xsd:sequence>
3186
    <xsd:attribute name="id"
3187
                   type="xsd:ID"/>
3188
  </xsd:complexType>
3189
3190
3191
<!-- **************************************************** -->
3192
3193
  <xsd:complexType name="timerType">
3194
    <xsd:annotation>
3195
      <xsd:documentation>
3196
3197
        The timerType specifies an enterprise bean timer.  Each
3198
        timer is automatically created by the container upon
3199
        deployment.  Timer callbacks occur based on the 
3200
        schedule attributes.  All callbacks are made to the
3201
        timeout-method associated with the timer.  
3202
        
3203
        A timer can have an optional start and/or end date. If
3204
        a start date is specified, it takes precedence over the
3205
        associated timer schedule such that any matching
3206
        expirations prior to the start time will not occur.
3207
        Likewise, no matching expirations will occur after any
3208
        end date.   Start/End dates are specified using the
3209
        XML Schema dateTime type, which follows the ISO-8601
3210
        standard for date(and optional time-within-the-day) 
3211
        representation.
3212
        
3213
        An optional flag can be used to control whether
3214
        this timer has persistent(true) delivery semantics or
3215
        non-persistent(false) delivery semantics.  If not specified,
3216
        the value defaults to persistent(true).
3217
        
3218
        A time zone can optionally be associated with a timer.
3219
        If specified, the timer's schedule is evaluated in the context
3220
        of that time zone, regardless of the default time zone in which
3221
        the container is executing.   Time zones are specified as an
3222
        ID string.  The set of required time zone IDs is defined by
3223
        the Zone Name(TZ) column of the public domain zoneinfo database.
3224
        
3225
        An optional info string can be assigned to the timer and 
3226
        retrieved at runtime through the Timer.getInfo() method.
3227
        
3228
        The timerType can only be specified on stateless session
3229
        beans, singleton session beans, and message-driven beans.
3230
        
3231
      </xsd:documentation>
3232
    </xsd:annotation>
3233
    <xsd:sequence>
3234
      <xsd:element name="description"
3235
                   type="javaee:descriptionType"
3236
                   minOccurs="0"
3237
                   maxOccurs="unbounded"/>
3238
      <xsd:element name="schedule"
3239
                   type="javaee:timer-scheduleType"/>
3240
      <xsd:element name="start"
3241
                   type="xsd:dateTime"
3242
                   minOccurs="0"/>
3243
      <xsd:element name="end"
3244
                   type="xsd:dateTime"
3245
                   minOccurs="0"/>
3246
      <xsd:element name="timeout-method"
3247
                   type="javaee:named-methodType"/>
3248
      <xsd:element name="persistent"
3249
                   type="javaee:true-falseType"
3250
                   minOccurs="0"/>
3251
      <xsd:element name="timezone"
3252
                   type="javaee:string"
3253
                   minOccurs="0"/>
3254
      <xsd:element name="info"
3255
                   type="javaee:string"
3256
                   minOccurs="0"/>
3257
    </xsd:sequence>
3258
    <xsd:attribute name="id"
3259
                   type="xsd:ID"/>
3260
  </xsd:complexType>
3261
3262
3263
<!-- **************************************************** -->
3264
3265
  <xsd:complexType name="trans-attributeType">
3266
    <xsd:annotation>
3267
      <xsd:documentation>
3268
3269
        The trans-attributeType specifies how the container must
3270
        manage the transaction boundaries when delegating a method 
3271
        invocation to an enterprise bean's business method. 
3272
        
3273
        The value must be one of the following: 
3274
        
3275
        NotSupported 
3276
        Supports 
3277
        Required  
3278
        RequiresNew 
3279
        Mandatory 
3280
        Never 
3281
        
3282
      </xsd:documentation>
3283
    </xsd:annotation>
3284
    <xsd:simpleContent>
3285
      <xsd:restriction base="javaee:string">
3286
        <xsd:enumeration value="NotSupported"/>
3287
        <xsd:enumeration value="Supports"/>
3288
        <xsd:enumeration value="Required"/>
3289
        <xsd:enumeration value="RequiresNew"/>
3290
        <xsd:enumeration value="Mandatory"/>
3291
        <xsd:enumeration value="Never"/>
3292
      </xsd:restriction>
3293
    </xsd:simpleContent>
3294
  </xsd:complexType>
3295
3296
3297
<!-- **************************************************** -->
3298
3299
  <xsd:complexType name="transaction-typeType">
3300
    <xsd:annotation>
3301
      <xsd:documentation>
3302
3303
        The transaction-typeType specifies an enterprise bean's
3304
        transaction management type.
3305
        
3306
        The transaction-type must be one of the two following:
3307
        
3308
        Bean
3309
        Container
3310
        
3311
      </xsd:documentation>
3312
    </xsd:annotation>
3313
    <xsd:simpleContent>
3314
      <xsd:restriction base="javaee:string">
3315
        <xsd:enumeration value="Bean"/>
3316
        <xsd:enumeration value="Container"/>
3317
      </xsd:restriction>
3318
    </xsd:simpleContent>
3319
  </xsd:complexType>
3320
3321
</xsd:schema>
(-)a/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/javaee_7.xsd (+3063 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsd:schema targetNamespace="http://xmlns.jcp.org/xml/ns/javaee"
3
            xmlns:javaee="http://xmlns.jcp.org/xml/ns/javaee"
4
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5
            elementFormDefault="qualified"
6
            attributeFormDefault="unqualified"
7
            version="7">
8
  <xsd:annotation>
9
    <xsd:documentation>
10
11
      DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
12
      
13
      Copyright (c) 2009-2013 Oracle and/or its affiliates. All rights reserved.
14
      
15
      The contents of this file are subject to the terms of either the GNU
16
      General Public License Version 2 only ("GPL") or the Common Development
17
      and Distribution License("CDDL") (collectively, the "License").  You
18
      may not use this file except in compliance with the License.  You can
19
      obtain a copy of the License at
20
      https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
21
      or packager/legal/LICENSE.txt.  See the License for the specific
22
      language governing permissions and limitations under the License.
23
      
24
      When distributing the software, include this License Header Notice in each
25
      file and include the License file at packager/legal/LICENSE.txt.
26
      
27
      GPL Classpath Exception:
28
      Oracle designates this particular file as subject to the "Classpath"
29
      exception as provided by Oracle in the GPL Version 2 section of the License
30
      file that accompanied this code.
31
      
32
      Modifications:
33
      If applicable, add the following below the License Header, with the fields
34
      enclosed by brackets [] replaced by your own identifying information:
35
      "Portions Copyright [year] [name of copyright owner]"
36
      
37
      Contributor(s):
38
      If you wish your version of this file to be governed by only the CDDL or
39
      only the GPL Version 2, indicate your decision by adding "[Contributor]
40
      elects to include this software in this distribution under the [CDDL or GPL
41
      Version 2] license."  If you don't indicate a single choice of license, a
42
      recipient has the option to distribute your version of this file under
43
      either the CDDL, the GPL Version 2 or to extend the choice of license to
44
      its licensees as provided above.  However, if you add GPL Version 2 code
45
      and therefore, elected the GPL Version 2 license, then the option applies
46
      only if the new code is made subject to such option by the copyright
47
      holder.
48
      
49
    </xsd:documentation>
50
  </xsd:annotation>
51
52
  <xsd:annotation>
53
    <xsd:documentation>
54
55
      The following definitions that appear in the common
56
      shareable schema(s) of Java EE deployment descriptors should be
57
      interpreted with respect to the context they are included:
58
      
59
      Deployment Component may indicate one of the following:
60
      java ee application;
61
      application client;
62
      web application;
63
      enterprise bean;
64
      resource adapter; 
65
      
66
      Deployment File may indicate one of the following:
67
      ear file;
68
      war file;
69
      jar file;
70
      rar file;
71
      
72
    </xsd:documentation>
73
  </xsd:annotation>
74
75
  <xsd:import namespace="http://www.w3.org/XML/1998/namespace"
76
              schemaLocation="http://www.w3.org/2001/xml.xsd"/>
77
78
  <xsd:include schemaLocation="javaee_web_services_client_1_4.xsd"/>
79
80
  <xsd:group name="descriptionGroup">
81
    <xsd:annotation>
82
      <xsd:documentation>
83
84
        This group keeps the usage of the contained description related
85
        elements consistent across Java EE deployment descriptors.
86
        
87
        All elements may occur multiple times with different languages,
88
        to support localization of the content.
89
        
90
      </xsd:documentation>
91
    </xsd:annotation>
92
    <xsd:sequence>
93
      <xsd:element name="description"
94
                   type="javaee:descriptionType"
95
                   minOccurs="0"
96
                   maxOccurs="unbounded"/>
97
      <xsd:element name="display-name"
98
                   type="javaee:display-nameType"
99
                   minOccurs="0"
100
                   maxOccurs="unbounded"/>
101
      <xsd:element name="icon"
102
                   type="javaee:iconType"
103
                   minOccurs="0"
104
                   maxOccurs="unbounded"/>
105
    </xsd:sequence>
106
  </xsd:group>
107
108
  <xsd:group name="jndiEnvironmentRefsGroup">
109
    <xsd:annotation>
110
      <xsd:documentation>
111
112
        This group keeps the usage of the contained JNDI environment
113
        reference elements consistent across Java EE deployment descriptors.
114
        
115
      </xsd:documentation>
116
    </xsd:annotation>
117
    <xsd:sequence>
118
      <xsd:element name="env-entry"
119
                   type="javaee:env-entryType"
120
                   minOccurs="0"
121
                   maxOccurs="unbounded"/>
122
      <xsd:element name="ejb-ref"
123
                   type="javaee:ejb-refType"
124
                   minOccurs="0"
125
                   maxOccurs="unbounded"/>
126
      <xsd:element name="ejb-local-ref"
127
                   type="javaee:ejb-local-refType"
128
                   minOccurs="0"
129
                   maxOccurs="unbounded"/>
130
      <xsd:group ref="javaee:service-refGroup"/>
131
      <xsd:element name="resource-ref"
132
                   type="javaee:resource-refType"
133
                   minOccurs="0"
134
                   maxOccurs="unbounded"/>
135
      <xsd:element name="resource-env-ref"
136
                   type="javaee:resource-env-refType"
137
                   minOccurs="0"
138
                   maxOccurs="unbounded"/>
139
      <xsd:element name="message-destination-ref"
140
                   type="javaee:message-destination-refType"
141
                   minOccurs="0"
142
                   maxOccurs="unbounded"/>
143
      <xsd:element name="persistence-context-ref"
144
                   type="javaee:persistence-context-refType"
145
                   minOccurs="0"
146
                   maxOccurs="unbounded"/>
147
      <xsd:element name="persistence-unit-ref"
148
                   type="javaee:persistence-unit-refType"
149
                   minOccurs="0"
150
                   maxOccurs="unbounded"/>
151
      <xsd:element name="post-construct"
152
                   type="javaee:lifecycle-callbackType"
153
                   minOccurs="0"
154
                   maxOccurs="unbounded"/>
155
      <xsd:element name="pre-destroy"
156
                   type="javaee:lifecycle-callbackType"
157
                   minOccurs="0"
158
                   maxOccurs="unbounded"/>
159
      <xsd:element name="data-source"
160
                   type="javaee:data-sourceType"
161
                   minOccurs="0"
162
                   maxOccurs="unbounded"/>
163
      <xsd:element name="jms-connection-factory"
164
                   type="javaee:jms-connection-factoryType"
165
                   minOccurs="0"
166
                   maxOccurs="unbounded"/>
167
      <xsd:element name="jms-destination"
168
                   type="javaee:jms-destinationType"
169
                   minOccurs="0"
170
                   maxOccurs="unbounded"/>
171
      <xsd:element name="mail-session"
172
                   type="javaee:mail-sessionType"
173
                   minOccurs="0"
174
                   maxOccurs="unbounded"/>
175
      <xsd:element name="connection-factory"
176
                   type="javaee:connection-factory-resourceType"
177
                   minOccurs="0"
178
                   maxOccurs="unbounded"/>
179
      <xsd:element name="administered-object"
180
                   type="javaee:administered-objectType"
181
                   minOccurs="0"
182
                   maxOccurs="unbounded"/>
183
    </xsd:sequence>
184
  </xsd:group>
185
186
  <xsd:group name="resourceGroup">
187
    <xsd:annotation>
188
      <xsd:documentation>
189
190
        This group collects elements that are common to most
191
        JNDI resource elements.
192
        
193
      </xsd:documentation>
194
    </xsd:annotation>
195
    <xsd:sequence>
196
      <xsd:group ref="javaee:resourceBaseGroup"/>
197
      <xsd:element name="lookup-name"
198
                   type="javaee:xsdStringType"
199
                   minOccurs="0">
200
        <xsd:annotation>
201
          <xsd:documentation>
202
203
            The JNDI name to be looked up to resolve a resource reference.
204
            
205
          </xsd:documentation>
206
        </xsd:annotation>
207
      </xsd:element>
208
    </xsd:sequence>
209
  </xsd:group>
210
211
  <xsd:group name="resourceBaseGroup">
212
    <xsd:annotation>
213
      <xsd:documentation>
214
215
        This group collects elements that are common to all the
216
        JNDI resource elements. It does not include the lookup-name
217
        element, that is only applicable to some resource elements.
218
        
219
      </xsd:documentation>
220
    </xsd:annotation>
221
    <xsd:sequence>
222
      <xsd:element name="mapped-name"
223
                   type="javaee:xsdStringType"
224
                   minOccurs="0">
225
        <xsd:annotation>
226
          <xsd:documentation>
227
228
            A product specific name that this resource should be
229
            mapped to.  The name of this resource, as defined by the
230
            resource's name element or defaulted, is a name that is
231
            local to the application component using the resource.
232
            (It's a name in the JNDI java:comp/env namespace.)  Many
233
            application servers provide a way to map these local
234
            names to names of resources known to the application
235
            server.  This mapped name is often a global JNDI name,
236
            but may be a name of any form.
237
            
238
            Application servers are not required to support any
239
            particular form or type of mapped name, nor the ability
240
            to use mapped names.  The mapped name is
241
            product-dependent and often installation-dependent.  No
242
            use of a mapped name is portable.
243
            
244
          </xsd:documentation>
245
        </xsd:annotation>
246
      </xsd:element>
247
      <xsd:element name="injection-target"
248
                   type="javaee:injection-targetType"
249
                   minOccurs="0"
250
                   maxOccurs="unbounded"/>
251
    </xsd:sequence>
252
  </xsd:group>
253
254
255
<!-- **************************************************** -->
256
257
  <xsd:complexType name="administered-objectType">
258
    <xsd:annotation>
259
      <xsd:documentation>
260
261
        Configuration of an administered object.
262
        
263
      </xsd:documentation>
264
    </xsd:annotation>
265
    <xsd:sequence>
266
      <xsd:element name="description"
267
                   type="javaee:descriptionType"
268
                   minOccurs="0">
269
        <xsd:annotation>
270
          <xsd:documentation>
271
272
            Description of this administered object.
273
            
274
          </xsd:documentation>
275
        </xsd:annotation>
276
      </xsd:element>
277
      <xsd:element name="name"
278
                   type="javaee:jndi-nameType">
279
        <xsd:annotation>
280
          <xsd:documentation>
281
282
            The name element specifies the JNDI name of the
283
            administered object being defined.
284
            
285
          </xsd:documentation>
286
        </xsd:annotation>
287
      </xsd:element>
288
      <xsd:element name="interface-name"
289
                   type="javaee:fully-qualified-classType"
290
                   minOccurs="0">
291
        <xsd:annotation>
292
          <xsd:documentation>
293
294
            The administered object's interface type.
295
            
296
          </xsd:documentation>
297
        </xsd:annotation>
298
      </xsd:element>
299
      <xsd:element name="class-name"
300
                   type="javaee:fully-qualified-classType">
301
        <xsd:annotation>
302
          <xsd:documentation>
303
304
            The administered object's class name.
305
            
306
          </xsd:documentation>
307
        </xsd:annotation>
308
      </xsd:element>
309
      <xsd:element name="resource-adapter"
310
                   type="javaee:string">
311
        <xsd:annotation>
312
          <xsd:documentation>
313
314
            Resource adapter name.
315
            
316
          </xsd:documentation>
317
        </xsd:annotation>
318
      </xsd:element>
319
      <xsd:element name="property"
320
                   type="javaee:propertyType"
321
                   minOccurs="0"
322
                   maxOccurs="unbounded">
323
        <xsd:annotation>
324
          <xsd:documentation>
325
326
            Property of the administered object property.  This may be a 
327
            vendor-specific property.
328
            
329
          </xsd:documentation>
330
        </xsd:annotation>
331
      </xsd:element>
332
    </xsd:sequence>
333
    <xsd:attribute name="id"
334
                   type="xsd:ID"/>
335
  </xsd:complexType>
336
337
338
<!-- **************************************************** -->
339
340
  <xsd:complexType name="connection-factory-resourceType">
341
    <xsd:annotation>
342
      <xsd:documentation>
343
344
        Configuration of a Connector Connection Factory resource.
345
        
346
      </xsd:documentation>
347
    </xsd:annotation>
348
    <xsd:sequence>
349
      <xsd:element name="description"
350
                   type="javaee:descriptionType"
351
                   minOccurs="0">
352
        <xsd:annotation>
353
          <xsd:documentation>
354
355
            Description of this resource.
356
            
357
          </xsd:documentation>
358
        </xsd:annotation>
359
      </xsd:element>
360
      <xsd:element name="name"
361
                   type="javaee:jndi-nameType">
362
        <xsd:annotation>
363
          <xsd:documentation>
364
365
            The name element specifies the JNDI name of the
366
            resource being defined.
367
            
368
          </xsd:documentation>
369
        </xsd:annotation>
370
      </xsd:element>
371
      <xsd:element name="class-name"
372
                   type="javaee:fully-qualified-classType">
373
        <xsd:annotation>
374
          <xsd:documentation>
375
376
            The fully qualified domain name of the connection factory 
377
            interface class. 
378
            
379
          </xsd:documentation>
380
        </xsd:annotation>
381
      </xsd:element>
382
      <xsd:element name="resource-adapter"
383
                   type="javaee:string">
384
        <xsd:annotation>
385
          <xsd:documentation>
386
387
            Resource adapter name.
388
            
389
          </xsd:documentation>
390
        </xsd:annotation>
391
      </xsd:element>
392
      <xsd:element name="max-pool-size"
393
                   type="javaee:xsdIntegerType"
394
                   minOccurs="0">
395
        <xsd:annotation>
396
          <xsd:documentation>
397
398
            Maximum number of connections that should be concurrently
399
            allocated for a connection pool.
400
            
401
          </xsd:documentation>
402
        </xsd:annotation>
403
      </xsd:element>
404
      <xsd:element name="min-pool-size"
405
                   type="javaee:xsdIntegerType"
406
                   minOccurs="0">
407
        <xsd:annotation>
408
          <xsd:documentation>
409
410
            Minimum number of connections that should be concurrently
411
            allocated for a connection pool.
412
            
413
          </xsd:documentation>
414
        </xsd:annotation>
415
      </xsd:element>
416
      <xsd:element name="transaction-support"
417
                   type="javaee:transaction-supportType"
418
                   minOccurs="0">
419
        <xsd:annotation>
420
          <xsd:documentation>
421
422
            The level of transaction support the connection factory 
423
            needs to support. 
424
            
425
          </xsd:documentation>
426
        </xsd:annotation>
427
      </xsd:element>
428
      <xsd:element name="property"
429
                   type="javaee:propertyType"
430
                   minOccurs="0"
431
                   maxOccurs="unbounded">
432
        <xsd:annotation>
433
          <xsd:documentation>
434
435
            Resource property.  This may be a vendor-specific
436
            property.
437
            
438
          </xsd:documentation>
439
        </xsd:annotation>
440
      </xsd:element>
441
    </xsd:sequence>
442
    <xsd:attribute name="id"
443
                   type="xsd:ID"/>
444
  </xsd:complexType>
445
446
447
<!-- **************************************************** -->
448
449
  <xsd:complexType name="data-sourceType">
450
    <xsd:annotation>
451
      <xsd:documentation>
452
453
        Configuration of a DataSource.
454
        
455
      </xsd:documentation>
456
    </xsd:annotation>
457
    <xsd:sequence>
458
      <xsd:element name="description"
459
                   type="javaee:descriptionType"
460
                   minOccurs="0">
461
        <xsd:annotation>
462
          <xsd:documentation>
463
464
            Description of this DataSource.
465
            
466
          </xsd:documentation>
467
        </xsd:annotation>
468
      </xsd:element>
469
      <xsd:element name="name"
470
                   type="javaee:jndi-nameType">
471
        <xsd:annotation>
472
          <xsd:documentation>
473
474
            The name element specifies the JNDI name of the
475
            data source being defined.
476
            
477
          </xsd:documentation>
478
        </xsd:annotation>
479
      </xsd:element>
480
      <xsd:element name="class-name"
481
                   type="javaee:fully-qualified-classType"
482
                   minOccurs="0">
483
        <xsd:annotation>
484
          <xsd:documentation>
485
486
            DataSource, XADataSource or ConnectionPoolDataSource
487
            implementation class.
488
            
489
          </xsd:documentation>
490
        </xsd:annotation>
491
      </xsd:element>
492
      <xsd:element name="server-name"
493
                   type="javaee:string"
494
                   minOccurs="0">
495
        <xsd:annotation>
496
          <xsd:documentation>
497
498
            Database server name.
499
            
500
          </xsd:documentation>
501
        </xsd:annotation>
502
      </xsd:element>
503
      <xsd:element name="port-number"
504
                   type="javaee:xsdIntegerType"
505
                   minOccurs="0">
506
        <xsd:annotation>
507
          <xsd:documentation>
508
509
            Port number where a server is listening for requests.
510
            
511
          </xsd:documentation>
512
        </xsd:annotation>
513
      </xsd:element>
514
      <xsd:element name="database-name"
515
                   type="javaee:string"
516
                   minOccurs="0">
517
        <xsd:annotation>
518
          <xsd:documentation>
519
520
            Name of a database on a server.
521
            
522
          </xsd:documentation>
523
        </xsd:annotation>
524
      </xsd:element>
525
      <xsd:element name="url"
526
                   type="javaee:jdbc-urlType"
527
                   minOccurs="0">
528
        <xsd:annotation>
529
          <xsd:documentation>
530
            <![CDATA[[
531
            A JDBC URL. If the <code>url</code> property is specified
532
            along with other standard <code>DataSource</code> properties
533
            such as <code>serverName</code>, <code>databaseName</code>
534
            and <code>portNumber</code>, the more specific properties will
535
            take precedence and <code>url</code> will be ignored.
536
            
537
            ]]>
538
          </xsd:documentation>
539
        </xsd:annotation>
540
      </xsd:element>
541
      <xsd:element name="user"
542
                   type="javaee:string"
543
                   minOccurs="0">
544
        <xsd:annotation>
545
          <xsd:documentation>
546
547
            User name to use for connection authentication.
548
            
549
          </xsd:documentation>
550
        </xsd:annotation>
551
      </xsd:element>
552
      <xsd:element name="password"
553
                   type="javaee:string"
554
                   minOccurs="0">
555
        <xsd:annotation>
556
          <xsd:documentation>
557
558
            Password to use for connection authentication.
559
            
560
          </xsd:documentation>
561
        </xsd:annotation>
562
      </xsd:element>
563
      <xsd:element name="property"
564
                   type="javaee:propertyType"
565
                   minOccurs="0"
566
                   maxOccurs="unbounded">
567
        <xsd:annotation>
568
          <xsd:documentation>
569
570
            JDBC DataSource property.  This may be a vendor-specific
571
            property or a less commonly used DataSource property.
572
            
573
          </xsd:documentation>
574
        </xsd:annotation>
575
      </xsd:element>
576
      <xsd:element name="login-timeout"
577
                   type="javaee:xsdIntegerType"
578
                   minOccurs="0">
579
        <xsd:annotation>
580
          <xsd:documentation>
581
582
            Sets the maximum time in seconds that this data source
583
            will wait while attempting to connect to a database.
584
            
585
          </xsd:documentation>
586
        </xsd:annotation>
587
      </xsd:element>
588
      <xsd:element name="transactional"
589
                   type="javaee:xsdBooleanType"
590
                   minOccurs="0">
591
        <xsd:annotation>
592
          <xsd:documentation>
593
594
            Set to false if connections should not participate in
595
            transactions.
596
            
597
          </xsd:documentation>
598
        </xsd:annotation>
599
      </xsd:element>
600
      <xsd:element name="isolation-level"
601
                   type="javaee:isolation-levelType"
602
                   minOccurs="0">
603
        <xsd:annotation>
604
          <xsd:documentation>
605
606
            Isolation level for connections.
607
            
608
          </xsd:documentation>
609
        </xsd:annotation>
610
      </xsd:element>
611
      <xsd:element name="initial-pool-size"
612
                   type="javaee:xsdIntegerType"
613
                   minOccurs="0">
614
        <xsd:annotation>
615
          <xsd:documentation>
616
617
            Number of connections that should be created when a
618
            connection pool is initialized.
619
            
620
          </xsd:documentation>
621
        </xsd:annotation>
622
      </xsd:element>
623
      <xsd:element name="max-pool-size"
624
                   type="javaee:xsdIntegerType"
625
                   minOccurs="0">
626
        <xsd:annotation>
627
          <xsd:documentation>
628
629
            Maximum number of connections that should be concurrently
630
            allocated for a connection pool.
631
            
632
          </xsd:documentation>
633
        </xsd:annotation>
634
      </xsd:element>
635
      <xsd:element name="min-pool-size"
636
                   type="javaee:xsdIntegerType"
637
                   minOccurs="0">
638
        <xsd:annotation>
639
          <xsd:documentation>
640
641
            Minimum number of connections that should be concurrently
642
            allocated for a connection pool.
643
            
644
          </xsd:documentation>
645
        </xsd:annotation>
646
      </xsd:element>
647
      <xsd:element name="max-idle-time"
648
                   type="javaee:xsdIntegerType"
649
                   minOccurs="0">
650
        <xsd:annotation>
651
          <xsd:documentation>
652
653
            The number of seconds that a physical connection should
654
            remain unused in the pool before the connection is
655
            closed for a connection pool.
656
            
657
          </xsd:documentation>
658
        </xsd:annotation>
659
      </xsd:element>
660
      <xsd:element name="max-statements"
661
                   type="javaee:xsdIntegerType"
662
                   minOccurs="0">
663
        <xsd:annotation>
664
          <xsd:documentation>
665
666
            The total number of statements that a connection pool
667
            should keep open.
668
            
669
          </xsd:documentation>
670
        </xsd:annotation>
671
      </xsd:element>
672
    </xsd:sequence>
673
    <xsd:attribute name="id"
674
                   type="xsd:ID"/>
675
  </xsd:complexType>
676
677
678
<!-- **************************************************** -->
679
680
  <xsd:complexType name="descriptionType">
681
    <xsd:annotation>
682
      <xsd:documentation>
683
684
        The description type is used by a description element to
685
        provide text describing the parent element.  The elements
686
        that use this type should include any information that the
687
        Deployment Component's Deployment File file producer wants
688
        to provide to the consumer of the Deployment Component's
689
        Deployment File (i.e., to the Deployer). Typically, the
690
        tools used by such a Deployment File consumer will display
691
        the description when processing the parent element that
692
        contains the description.
693
        
694
        The lang attribute defines the language that the
695
        description is provided in. The default value is "en" (English). 
696
        
697
      </xsd:documentation>
698
    </xsd:annotation>
699
    <xsd:simpleContent>
700
      <xsd:extension base="javaee:xsdStringType">
701
        <xsd:attribute ref="xml:lang"/>
702
      </xsd:extension>
703
    </xsd:simpleContent>
704
  </xsd:complexType>
705
706
  <xsd:simpleType name="dewey-versionType">
707
    <xsd:annotation>
708
      <xsd:documentation>
709
710
        This type defines a dewey decimal that is used
711
        to describe versions of documents. 
712
        
713
      </xsd:documentation>
714
    </xsd:annotation>
715
    <xsd:restriction base="xsd:token">
716
      <xsd:pattern value="\.?[0-9]+(\.[0-9]+)*"/>
717
    </xsd:restriction>
718
  </xsd:simpleType>
719
720
721
<!-- **************************************************** -->
722
723
  <xsd:complexType name="display-nameType">
724
    <xsd:annotation>
725
      <xsd:documentation>
726
        <![CDATA[[
727
        The display-name type contains a short name that is intended
728
        to be displayed by tools. It is used by display-name
729
        elements.  The display name need not be unique.
730
        
731
        Example: 
732
        
733
        ...
734
        <display-name xml:lang="en">
735
        Employee Self Service
736
        </display-name>
737
        
738
        The value of the xml:lang attribute is "en" (English) by default. 
739
        
740
        ]]>
741
      </xsd:documentation>
742
    </xsd:annotation>
743
    <xsd:simpleContent>
744
      <xsd:extension base="javaee:string">
745
        <xsd:attribute ref="xml:lang"/>
746
      </xsd:extension>
747
    </xsd:simpleContent>
748
  </xsd:complexType>
749
750
751
<!-- **************************************************** -->
752
753
  <xsd:complexType name="ejb-linkType">
754
    <xsd:annotation>
755
      <xsd:documentation>
756
        <![CDATA[[
757
        The ejb-linkType is used by ejb-link
758
        elements in the ejb-ref or ejb-local-ref elements to specify
759
        that an EJB reference is linked to enterprise bean.
760
        
761
        The value of the ejb-link element must be the ejb-name of an
762
        enterprise bean in the same ejb-jar file or in another ejb-jar
763
        file in the same Java EE application unit. 
764
        
765
        Alternatively, the name in the ejb-link element may be
766
        composed of a path name specifying the ejb-jar containing the
767
        referenced enterprise bean with the ejb-name of the target
768
        bean appended and separated from the path name by "#".  The
769
        path name is relative to the Deployment File containing
770
        Deployment Component that is referencing the enterprise
771
        bean.  This allows multiple enterprise beans with the same
772
        ejb-name to be uniquely identified.
773
        
774
        Examples:
775
        
776
        <ejb-link>EmployeeRecord</ejb-link>
777
        
778
        <ejb-link>../products/product.jar#ProductEJB</ejb-link>
779
        
780
        ]]>
781
      </xsd:documentation>
782
    </xsd:annotation>
783
    <xsd:simpleContent>
784
      <xsd:restriction base="javaee:string"/>
785
    </xsd:simpleContent>
786
  </xsd:complexType>
787
788
789
<!-- **************************************************** -->
790
791
  <xsd:complexType name="ejb-local-refType">
792
    <xsd:annotation>
793
      <xsd:documentation>
794
795
        The ejb-local-refType is used by ejb-local-ref elements for
796
        the declaration of a reference to an enterprise bean's local
797
        home or to the local business interface of a 3.0 bean.
798
        The declaration consists of:
799
        
800
        - an optional description
801
        - the EJB reference name used in the code of the Deployment 
802
        Component that's referencing the enterprise bean.
803
        - the optional expected type of the referenced enterprise bean
804
        - the optional expected local interface of the referenced 
805
        enterprise bean or the local business interface of the 
806
        referenced enterprise bean.
807
        - the optional expected local home interface of the referenced 
808
        enterprise bean. Not applicable if this ejb-local-ref refers
809
        to the local business interface of a 3.0 bean.
810
        - optional ejb-link information, used to specify the 
811
        referenced enterprise bean
812
        - optional elements to define injection of the named enterprise  
813
        bean into a component field or property.
814
        
815
      </xsd:documentation>
816
    </xsd:annotation>
817
    <xsd:sequence>
818
      <xsd:element name="description"
819
                   type="javaee:descriptionType"
820
                   minOccurs="0"
821
                   maxOccurs="unbounded"/>
822
      <xsd:element name="ejb-ref-name"
823
                   type="javaee:ejb-ref-nameType"/>
824
      <xsd:element name="ejb-ref-type"
825
                   type="javaee:ejb-ref-typeType"
826
                   minOccurs="0"/>
827
      <xsd:element name="local-home"
828
                   type="javaee:local-homeType"
829
                   minOccurs="0"/>
830
      <xsd:element name="local"
831
                   type="javaee:localType"
832
                   minOccurs="0"/>
833
      <xsd:element name="ejb-link"
834
                   type="javaee:ejb-linkType"
835
                   minOccurs="0"/>
836
      <xsd:group ref="javaee:resourceGroup"/>
837
    </xsd:sequence>
838
    <xsd:attribute name="id"
839
                   type="xsd:ID"/>
840
  </xsd:complexType>
841
842
843
<!-- **************************************************** -->
844
845
  <xsd:complexType name="ejb-ref-nameType">
846
    <xsd:annotation>
847
      <xsd:documentation>
848
        <![CDATA[[
849
        The ejb-ref-name element contains the name of an EJB
850
        reference. The EJB reference is an entry in the
851
        Deployment Component's environment and is relative to the
852
        java:comp/env context.  The name must be unique within the
853
        Deployment Component.
854
        
855
        It is recommended that name is prefixed with "ejb/".
856
        
857
        Example:
858
        
859
        <ejb-ref-name>ejb/Payroll</ejb-ref-name>
860
        
861
        ]]>
862
      </xsd:documentation>
863
    </xsd:annotation>
864
    <xsd:simpleContent>
865
      <xsd:restriction base="javaee:jndi-nameType"/>
866
    </xsd:simpleContent>
867
  </xsd:complexType>
868
869
870
<!-- **************************************************** -->
871
872
  <xsd:complexType name="ejb-refType">
873
    <xsd:annotation>
874
      <xsd:documentation>
875
876
        The ejb-refType is used by ejb-ref elements for the
877
        declaration of a reference to an enterprise bean's home or
878
        to the remote business interface of a 3.0 bean.  
879
        The declaration consists of:
880
        
881
        - an optional description
882
        - the EJB reference name used in the code of
883
        the Deployment Component that's referencing the enterprise
884
        bean. 
885
        - the optional expected type of the referenced enterprise bean
886
        - the optional remote interface of the referenced enterprise bean
887
        or the remote business interface of the referenced enterprise 
888
        bean
889
        - the optional expected home interface of the referenced 
890
        enterprise bean.  Not applicable if this ejb-ref
891
        refers to the remote business interface of a 3.0 bean.
892
        - optional ejb-link information, used to specify the
893
        referenced enterprise bean
894
        - optional elements to define injection of the named enterprise
895
        bean into a component field or property
896
        
897
      </xsd:documentation>
898
    </xsd:annotation>
899
    <xsd:sequence>
900
      <xsd:element name="description"
901
                   type="javaee:descriptionType"
902
                   minOccurs="0"
903
                   maxOccurs="unbounded"/>
904
      <xsd:element name="ejb-ref-name"
905
                   type="javaee:ejb-ref-nameType"/>
906
      <xsd:element name="ejb-ref-type"
907
                   type="javaee:ejb-ref-typeType"
908
                   minOccurs="0"/>
909
      <xsd:element name="home"
910
                   type="javaee:homeType"
911
                   minOccurs="0"/>
912
      <xsd:element name="remote"
913
                   type="javaee:remoteType"
914
                   minOccurs="0"/>
915
      <xsd:element name="ejb-link"
916
                   type="javaee:ejb-linkType"
917
                   minOccurs="0"/>
918
      <xsd:group ref="javaee:resourceGroup"/>
919
    </xsd:sequence>
920
    <xsd:attribute name="id"
921
                   type="xsd:ID"/>
922
  </xsd:complexType>
923
924
925
<!-- **************************************************** -->
926
927
  <xsd:complexType name="ejb-ref-typeType">
928
    <xsd:annotation>
929
      <xsd:documentation>
930
931
        The ejb-ref-typeType contains the expected type of the
932
        referenced enterprise bean.
933
        
934
        The ejb-ref-type designates a value
935
        that must be one of the following:
936
        
937
        Entity
938
        Session
939
        
940
      </xsd:documentation>
941
    </xsd:annotation>
942
    <xsd:simpleContent>
943
      <xsd:restriction base="javaee:string">
944
        <xsd:enumeration value="Entity"/>
945
        <xsd:enumeration value="Session"/>
946
      </xsd:restriction>
947
    </xsd:simpleContent>
948
  </xsd:complexType>
949
950
951
<!-- **************************************************** -->
952
953
  <xsd:complexType name="emptyType">
954
    <xsd:annotation>
955
      <xsd:documentation>
956
957
        This type is used to designate an empty
958
        element when used. 
959
        
960
      </xsd:documentation>
961
    </xsd:annotation>
962
    <xsd:attribute name="id"
963
                   type="xsd:ID"/>
964
  </xsd:complexType>
965
966
967
<!-- **************************************************** -->
968
969
  <xsd:complexType name="env-entryType">
970
    <xsd:annotation>
971
      <xsd:documentation>
972
973
        The env-entryType is used to declare an application's
974
        environment entry. The declaration consists of an optional
975
        description, the name of the environment entry, a type
976
        (optional if the value is injected, otherwise required), and
977
        an optional value.
978
        
979
        It also includes optional elements to define injection of
980
        the named resource into fields or JavaBeans properties.
981
        
982
        If a value is not specified and injection is requested,
983
        no injection will occur and no entry of the specified name
984
        will be created.  This allows an initial value to be
985
        specified in the source code without being incorrectly
986
        changed when no override has been specified.
987
        
988
        If a value is not specified and no injection is requested,
989
        a value must be supplied during deployment. 
990
        
991
        This type is used by env-entry elements.
992
        
993
      </xsd:documentation>
994
    </xsd:annotation>
995
    <xsd:sequence>
996
      <xsd:element name="description"
997
                   type="javaee:descriptionType"
998
                   minOccurs="0"
999
                   maxOccurs="unbounded"/>
1000
      <xsd:element name="env-entry-name"
1001
                   type="javaee:jndi-nameType">
1002
        <xsd:annotation>
1003
          <xsd:documentation>
1004
            <![CDATA[[
1005
            The env-entry-name element contains the name of a
1006
            Deployment Component's environment entry.  The name
1007
            is a JNDI name relative to the java:comp/env
1008
            context.  The name must be unique within a 
1009
            Deployment Component. The uniqueness
1010
            constraints must be defined within the declared
1011
            context.
1012
            
1013
            Example:
1014
            
1015
            <env-entry-name>minAmount</env-entry-name>
1016
            
1017
            ]]>
1018
          </xsd:documentation>
1019
        </xsd:annotation>
1020
      </xsd:element>
1021
      <xsd:element name="env-entry-type"
1022
                   type="javaee:env-entry-type-valuesType"
1023
                   minOccurs="0">
1024
        <xsd:annotation>
1025
          <xsd:documentation>
1026
            <![CDATA[[
1027
            The env-entry-type element contains the Java language
1028
            type of the environment entry.  If an injection target
1029
            is specified for the environment entry, the type may
1030
            be omitted, or must match the type of the injection
1031
            target.  If no injection target is specified, the type
1032
            is required.
1033
            
1034
            Example:
1035
            
1036
            <env-entry-type>java.lang.Integer</env-entry-type>
1037
            
1038
            ]]>
1039
          </xsd:documentation>
1040
        </xsd:annotation>
1041
      </xsd:element>
1042
      <xsd:element name="env-entry-value"
1043
                   type="javaee:xsdStringType"
1044
                   minOccurs="0">
1045
        <xsd:annotation>
1046
          <xsd:documentation>
1047
            <![CDATA[[
1048
            The env-entry-value designates the value of a
1049
            Deployment Component's environment entry. The value
1050
            must be a String that is valid for the
1051
            constructor of the specified type that takes a
1052
            single String parameter, or for java.lang.Character,
1053
            a single character.
1054
            
1055
            Example:
1056
            
1057
            <env-entry-value>100.00</env-entry-value>
1058
            
1059
            ]]>
1060
          </xsd:documentation>
1061
        </xsd:annotation>
1062
      </xsd:element>
1063
      <xsd:group ref="javaee:resourceGroup"/>
1064
    </xsd:sequence>
1065
    <xsd:attribute name="id"
1066
                   type="xsd:ID"/>
1067
  </xsd:complexType>
1068
1069
1070
<!-- **************************************************** -->
1071
1072
  <xsd:complexType name="env-entry-type-valuesType">
1073
    <xsd:annotation>
1074
      <xsd:documentation>
1075
        <![CDATA[[
1076
        This type contains the fully-qualified Java type of the
1077
        environment entry value that is expected by the
1078
        application's code.
1079
        
1080
        The following are the legal values of env-entry-type-valuesType:
1081
        
1082
        java.lang.Boolean
1083
        java.lang.Byte
1084
        java.lang.Character
1085
        java.lang.String
1086
        java.lang.Short
1087
        java.lang.Integer
1088
        java.lang.Long
1089
        java.lang.Float
1090
        java.lang.Double
1091
        		  java.lang.Class
1092
        		  any enumeration type (i.e. a subclass of java.lang.Enum)
1093
        
1094
        Examples:
1095
        
1096
        <env-entry-type>java.lang.Boolean</env-entry-type>
1097
        <env-entry-type>java.lang.Class</env-entry-type>
1098
        <env-entry-type>com.example.Color</env-entry-type>
1099
        
1100
        ]]>
1101
      </xsd:documentation>
1102
    </xsd:annotation>
1103
    <xsd:simpleContent>
1104
      <xsd:restriction base="javaee:fully-qualified-classType"/>
1105
    </xsd:simpleContent>
1106
  </xsd:complexType>
1107
1108
1109
<!-- **************************************************** -->
1110
1111
  <xsd:complexType name="fully-qualified-classType">
1112
    <xsd:annotation>
1113
      <xsd:documentation>
1114
1115
        The elements that use this type designate the name of a
1116
        Java class or interface.  The name is in the form of a
1117
        "binary name", as defined in the JLS.  This is the form
1118
        of name used in Class.forName().  Tools that need the
1119
        canonical name (the name used in source code) will need
1120
        to convert this binary name to the canonical name.
1121
        
1122
      </xsd:documentation>
1123
    </xsd:annotation>
1124
    <xsd:simpleContent>
1125
      <xsd:restriction base="javaee:string"/>
1126
    </xsd:simpleContent>
1127
  </xsd:complexType>
1128
1129
1130
<!-- **************************************************** -->
1131
1132
  <xsd:complexType name="generic-booleanType">
1133
    <xsd:annotation>
1134
      <xsd:documentation>
1135
1136
        This type defines four different values which can designate
1137
        boolean values. This includes values yes and no which are 
1138
        not designated by xsd:boolean
1139
        
1140
      </xsd:documentation>
1141
    </xsd:annotation>
1142
    <xsd:simpleContent>
1143
      <xsd:restriction base="javaee:string">
1144
        <xsd:enumeration value="true"/>
1145
        <xsd:enumeration value="false"/>
1146
        <xsd:enumeration value="yes"/>
1147
        <xsd:enumeration value="no"/>
1148
      </xsd:restriction>
1149
    </xsd:simpleContent>
1150
  </xsd:complexType>
1151
1152
1153
<!-- **************************************************** -->
1154
1155
  <xsd:complexType name="iconType">
1156
    <xsd:annotation>
1157
      <xsd:documentation>
1158
1159
        The icon type contains small-icon and large-icon elements
1160
        that specify the file names for small and large GIF, JPEG,
1161
        or PNG icon images used to represent the parent element in a
1162
        GUI tool. 
1163
        
1164
        The xml:lang attribute defines the language that the
1165
        icon file names are provided in. Its value is "en" (English)
1166
        by default. 
1167
        
1168
      </xsd:documentation>
1169
    </xsd:annotation>
1170
    <xsd:sequence>
1171
      <xsd:element name="small-icon"
1172
                   type="javaee:pathType"
1173
                   minOccurs="0">
1174
        <xsd:annotation>
1175
          <xsd:documentation>
1176
            <![CDATA[[
1177
            The small-icon element contains the name of a file
1178
            containing a small (16 x 16) icon image. The file
1179
            name is a relative path within the Deployment
1180
            Component's Deployment File.
1181
            
1182
            The image may be in the GIF, JPEG, or PNG format.
1183
            The icon can be used by tools.
1184
            
1185
            Example:
1186
            
1187
            <small-icon>employee-service-icon16x16.jpg</small-icon>
1188
            
1189
            ]]>
1190
          </xsd:documentation>
1191
        </xsd:annotation>
1192
      </xsd:element>
1193
      <xsd:element name="large-icon"
1194
                   type="javaee:pathType"
1195
                   minOccurs="0">
1196
        <xsd:annotation>
1197
          <xsd:documentation>
1198
            <![CDATA[[
1199
            The large-icon element contains the name of a file
1200
            containing a large
1201
            (32 x 32) icon image. The file name is a relative 
1202
            path within the Deployment Component's Deployment
1203
            File.
1204
            
1205
            The image may be in the GIF, JPEG, or PNG format.
1206
            The icon can be used by tools.
1207
            
1208
            Example:
1209
            
1210
            <large-icon>employee-service-icon32x32.jpg</large-icon>
1211
            
1212
            ]]>
1213
          </xsd:documentation>
1214
        </xsd:annotation>
1215
      </xsd:element>
1216
    </xsd:sequence>
1217
    <xsd:attribute ref="xml:lang"/>
1218
    <xsd:attribute name="id"
1219
                   type="xsd:ID"/>
1220
  </xsd:complexType>
1221
1222
1223
<!-- **************************************************** -->
1224
1225
  <xsd:complexType name="injection-targetType">
1226
    <xsd:annotation>
1227
      <xsd:documentation>
1228
1229
        An injection target specifies a class and a name within
1230
        that class into which a resource should be injected.
1231
        
1232
        The injection target class specifies the fully qualified
1233
        class name that is the target of the injection.  The
1234
        Java EE specifications describe which classes can be an
1235
        injection target.
1236
        
1237
        The injection target name specifies the target within
1238
        the specified class.  The target is first looked for as a
1239
        JavaBeans property name.  If not found, the target is
1240
        looked for as a field name.
1241
        
1242
        The specified resource will be injected into the target
1243
        during initialization of the class by either calling the
1244
        set method for the target property or by setting a value
1245
        into the named field.
1246
        
1247
      </xsd:documentation>
1248
    </xsd:annotation>
1249
    <xsd:sequence>
1250
      <xsd:element name="injection-target-class"
1251
                   type="javaee:fully-qualified-classType"/>
1252
      <xsd:element name="injection-target-name"
1253
                   type="javaee:java-identifierType"/>
1254
    </xsd:sequence>
1255
  </xsd:complexType>
1256
1257
  <xsd:simpleType name="isolation-levelType">
1258
    <xsd:annotation>
1259
      <xsd:documentation>
1260
1261
        	The following transaction isolation levels are allowed
1262
        	(see documentation for the java.sql.Connection interface):
1263
        TRANSACTION_READ_UNCOMMITTED
1264
        TRANSACTION_READ_COMMITTED
1265
        TRANSACTION_REPEATABLE_READ
1266
        TRANSACTION_SERIALIZABLE
1267
        
1268
      </xsd:documentation>
1269
    </xsd:annotation>
1270
    <xsd:restriction base="xsd:string">
1271
      <xsd:enumeration value="TRANSACTION_READ_UNCOMMITTED"/>
1272
      <xsd:enumeration value="TRANSACTION_READ_COMMITTED"/>
1273
      <xsd:enumeration value="TRANSACTION_REPEATABLE_READ"/>
1274
      <xsd:enumeration value="TRANSACTION_SERIALIZABLE"/>
1275
    </xsd:restriction>
1276
  </xsd:simpleType>
1277
1278
1279
<!-- **************************************************** -->
1280
1281
  <xsd:complexType name="java-identifierType">
1282
    <xsd:annotation>
1283
      <xsd:documentation>
1284
1285
        The java-identifierType defines a Java identifier.
1286
        The users of this type should further verify that 
1287
        the content does not contain Java reserved keywords.
1288
        
1289
      </xsd:documentation>
1290
    </xsd:annotation>
1291
    <xsd:simpleContent>
1292
      <xsd:restriction base="javaee:string">
1293
        <xsd:pattern value="($|_|\p{L})(\p{L}|\p{Nd}|_|$)*"/>
1294
      </xsd:restriction>
1295
    </xsd:simpleContent>
1296
  </xsd:complexType>
1297
1298
1299
<!-- **************************************************** -->
1300
1301
  <xsd:complexType name="java-typeType">
1302
    <xsd:annotation>
1303
      <xsd:documentation>
1304
1305
        This is a generic type that designates a Java primitive
1306
        type or a fully qualified name of a Java interface/type,
1307
        or an array of such types.
1308
        
1309
      </xsd:documentation>
1310
    </xsd:annotation>
1311
    <xsd:simpleContent>
1312
      <xsd:restriction base="javaee:string">
1313
        <xsd:pattern value="[^\p{Z}]*"/>
1314
      </xsd:restriction>
1315
    </xsd:simpleContent>
1316
  </xsd:complexType>
1317
1318
1319
<!-- **************************************************** -->
1320
1321
  <xsd:complexType name="jdbc-urlType">
1322
    <xsd:annotation>
1323
      <xsd:documentation>
1324
        <![CDATA[[
1325
        The jdbc-urlType contains the url pattern of the mapping.
1326
        It must follow the rules specified in Section 9.3 of the
1327
        JDBC Specification where the format is:
1328
        
1329
        jdbc:<subprotocol>:<subname>
1330
        
1331
        Example:
1332
        
1333
        <url>jdbc:mysql://localhost:3307/testdb</url>
1334
        
1335
        ]]>
1336
      </xsd:documentation>
1337
    </xsd:annotation>
1338
    <xsd:simpleContent>
1339
      <xsd:restriction base="javaee:string">
1340
        <xsd:pattern value="jdbc:(.*):(.*)"/>
1341
      </xsd:restriction>
1342
    </xsd:simpleContent>
1343
  </xsd:complexType>
1344
1345
1346
<!-- **************************************************** -->
1347
1348
  <xsd:complexType name="jms-connection-factoryType">
1349
    <xsd:annotation>
1350
      <xsd:documentation>
1351
1352
        Configuration of a JMS Connection Factory.
1353
        
1354
      </xsd:documentation>
1355
    </xsd:annotation>
1356
    <xsd:sequence>
1357
      <xsd:element name="description"
1358
                   type="javaee:descriptionType"
1359
                   minOccurs="0">
1360
        <xsd:annotation>
1361
          <xsd:documentation>
1362
1363
            Description of this JMS Connection Factory.
1364
            
1365
          </xsd:documentation>
1366
        </xsd:annotation>
1367
      </xsd:element>
1368
      <xsd:element name="name"
1369
                   type="javaee:jndi-nameType">
1370
        <xsd:annotation>
1371
          <xsd:documentation>
1372
1373
            The name element specifies the JNDI name of the
1374
            JMS connection factory being defined.
1375
            
1376
          </xsd:documentation>
1377
        </xsd:annotation>
1378
      </xsd:element>
1379
      <xsd:element name="class-name"
1380
                   type="javaee:fully-qualified-classType"
1381
                   minOccurs="0">
1382
        <xsd:annotation>
1383
          <xsd:documentation>
1384
1385
            javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, or javax.jms.TopicConnectionFactory
1386
            
1387
          </xsd:documentation>
1388
        </xsd:annotation>
1389
      </xsd:element>
1390
      <xsd:element name="resource-adapter"
1391
                   type="javaee:string"
1392
                   minOccurs="0">
1393
        <xsd:annotation>
1394
          <xsd:documentation>
1395
1396
            Resource adapter name.
1397
            
1398
          </xsd:documentation>
1399
        </xsd:annotation>
1400
      </xsd:element>
1401
      <xsd:element name="user"
1402
                   type="javaee:string"
1403
                   minOccurs="0">
1404
        <xsd:annotation>
1405
          <xsd:documentation>
1406
1407
            User name to use for connection authentication.
1408
            
1409
          </xsd:documentation>
1410
        </xsd:annotation>
1411
      </xsd:element>
1412
      <xsd:element name="password"
1413
                   type="javaee:string"
1414
                   minOccurs="0">
1415
        <xsd:annotation>
1416
          <xsd:documentation>
1417
1418
            Password to use for connection authentication.
1419
            
1420
          </xsd:documentation>
1421
        </xsd:annotation>
1422
      </xsd:element>
1423
      <xsd:element name="client-id"
1424
                   type="javaee:string"
1425
                   minOccurs="0">
1426
        <xsd:annotation>
1427
          <xsd:documentation>
1428
1429
            Client id to use for connection.
1430
            
1431
          </xsd:documentation>
1432
        </xsd:annotation>
1433
      </xsd:element>
1434
      <xsd:element name="property"
1435
                   type="javaee:propertyType"
1436
                   minOccurs="0"
1437
                   maxOccurs="unbounded">
1438
        <xsd:annotation>
1439
          <xsd:documentation>
1440
1441
            JMS Connection Factory property.  This may be a vendor-specific
1442
            property or a less commonly used ConnectionFactory property.
1443
            
1444
          </xsd:documentation>
1445
        </xsd:annotation>
1446
      </xsd:element>
1447
      <xsd:element name="transactional"
1448
                   type="javaee:xsdBooleanType"
1449
                   minOccurs="0">
1450
        <xsd:annotation>
1451
          <xsd:documentation>
1452
1453
            Set to false if connections should not participate in
1454
            transactions.
1455
            
1456
          </xsd:documentation>
1457
        </xsd:annotation>
1458
      </xsd:element>
1459
      <xsd:element name="max-pool-size"
1460
                   type="javaee:xsdIntegerType"
1461
                   minOccurs="0">
1462
        <xsd:annotation>
1463
          <xsd:documentation>
1464
1465
            Maximum number of connections that should be concurrently
1466
            allocated for a connection pool.
1467
            
1468
          </xsd:documentation>
1469
        </xsd:annotation>
1470
      </xsd:element>
1471
      <xsd:element name="min-pool-size"
1472
                   type="javaee:xsdIntegerType"
1473
                   minOccurs="0">
1474
        <xsd:annotation>
1475
          <xsd:documentation>
1476
1477
            Minimum number of connections that should be concurrently
1478
            allocated for a connection pool.
1479
            
1480
          </xsd:documentation>
1481
        </xsd:annotation>
1482
      </xsd:element>
1483
    </xsd:sequence>
1484
    <xsd:attribute name="id"
1485
                   type="xsd:ID"/>
1486
  </xsd:complexType>
1487
1488
1489
<!-- **************************************************** -->
1490
1491
  <xsd:complexType name="jms-destinationType">
1492
    <xsd:annotation>
1493
      <xsd:documentation>
1494
1495
        Configuration of a JMS Destination.
1496
        
1497
      </xsd:documentation>
1498
    </xsd:annotation>
1499
    <xsd:sequence>
1500
      <xsd:element name="description"
1501
                   type="javaee:descriptionType"
1502
                   minOccurs="0">
1503
        <xsd:annotation>
1504
          <xsd:documentation>
1505
1506
            Description of this JMS Destination.
1507
            
1508
          </xsd:documentation>
1509
        </xsd:annotation>
1510
      </xsd:element>
1511
      <xsd:element name="name"
1512
                   type="javaee:jndi-nameType">
1513
        <xsd:annotation>
1514
          <xsd:documentation>
1515
1516
            The name element specifies the JNDI name of the
1517
            JMS destination being defined.
1518
            
1519
          </xsd:documentation>
1520
        </xsd:annotation>
1521
      </xsd:element>
1522
      <xsd:element name="class-name"
1523
                   type="javaee:fully-qualified-classType"
1524
                   minOccurs="0">
1525
        <xsd:annotation>
1526
          <xsd:documentation>
1527
1528
            javax.jms.Queue or javax.jms.Topic
1529
            
1530
          </xsd:documentation>
1531
        </xsd:annotation>
1532
      </xsd:element>
1533
      <xsd:element name="resource-adapter"
1534
                   type="javaee:string"
1535
                   minOccurs="0">
1536
        <xsd:annotation>
1537
          <xsd:documentation>
1538
1539
            Resource adapter name.
1540
            
1541
          </xsd:documentation>
1542
        </xsd:annotation>
1543
      </xsd:element>
1544
      <xsd:element name="destination-name"
1545
                   type="javaee:string"
1546
                   minOccurs="0">
1547
        <xsd:annotation>
1548
          <xsd:documentation>
1549
1550
            Name of the queue or topic.
1551
            
1552
          </xsd:documentation>
1553
        </xsd:annotation>
1554
      </xsd:element>
1555
      <xsd:element name="property"
1556
                   type="javaee:propertyType"
1557
                   minOccurs="0"
1558
                   maxOccurs="unbounded">
1559
        <xsd:annotation>
1560
          <xsd:documentation>
1561
1562
            JMS Destination property.  This may be a vendor-specific
1563
            property or a less commonly used Destination property.
1564
            
1565
          </xsd:documentation>
1566
        </xsd:annotation>
1567
      </xsd:element>
1568
    </xsd:sequence>
1569
    <xsd:attribute name="id"
1570
                   type="xsd:ID"/>
1571
  </xsd:complexType>
1572
1573
1574
<!-- **************************************************** -->
1575
1576
  <xsd:complexType name="jndi-nameType">
1577
    <xsd:annotation>
1578
      <xsd:documentation>
1579
1580
        The jndi-nameType type designates a JNDI name in the
1581
        Deployment Component's environment and is relative to the
1582
        java:comp/env context.  A JNDI name must be unique within the
1583
        Deployment Component.
1584
        
1585
      </xsd:documentation>
1586
    </xsd:annotation>
1587
    <xsd:simpleContent>
1588
      <xsd:restriction base="javaee:string"/>
1589
    </xsd:simpleContent>
1590
  </xsd:complexType>
1591
1592
1593
<!-- **************************************************** -->
1594
1595
  <xsd:complexType name="homeType">
1596
    <xsd:annotation>
1597
      <xsd:documentation>
1598
        <![CDATA[[
1599
        The homeType defines the fully-qualified name of
1600
        an enterprise bean's home interface. 
1601
        
1602
        Example:
1603
        
1604
        <home>com.aardvark.payroll.PayrollHome</home>
1605
        
1606
        ]]>
1607
      </xsd:documentation>
1608
    </xsd:annotation>
1609
    <xsd:simpleContent>
1610
      <xsd:restriction base="javaee:fully-qualified-classType"/>
1611
    </xsd:simpleContent>
1612
  </xsd:complexType>
1613
1614
1615
<!-- **************************************************** -->
1616
1617
  <xsd:complexType name="lifecycle-callbackType">
1618
    <xsd:annotation>
1619
      <xsd:documentation>
1620
1621
        The lifecycle-callback type specifies a method on a
1622
        class to be called when a lifecycle event occurs.
1623
        Note that each class may have only one lifecycle callback
1624
        method for any given event and that the method may not
1625
        be overloaded.
1626
        
1627
        If the lifefycle-callback-class element is missing then
1628
        the class defining the callback is assumed to be the
1629
        component class in scope at the place in the descriptor
1630
        in which the callback definition appears.
1631
        
1632
      </xsd:documentation>
1633
    </xsd:annotation>
1634
    <xsd:sequence>
1635
      <xsd:element name="lifecycle-callback-class"
1636
                   type="javaee:fully-qualified-classType"
1637
                   minOccurs="0"/>
1638
      <xsd:element name="lifecycle-callback-method"
1639
                   type="javaee:java-identifierType"/>
1640
    </xsd:sequence>
1641
  </xsd:complexType>
1642
1643
1644
<!-- **************************************************** -->
1645
1646
  <xsd:complexType name="listenerType">
1647
    <xsd:annotation>
1648
      <xsd:documentation>
1649
1650
        The listenerType indicates the deployment properties for a web
1651
        application listener bean.
1652
        
1653
      </xsd:documentation>
1654
    </xsd:annotation>
1655
    <xsd:sequence>
1656
      <xsd:group ref="javaee:descriptionGroup"/>
1657
      <xsd:element name="listener-class"
1658
                   type="javaee:fully-qualified-classType">
1659
        <xsd:annotation>
1660
          <xsd:documentation>
1661
1662
            The listener-class element declares a class in the
1663
            application must be registered as a web
1664
            application listener bean. The value is the fully
1665
            qualified classname of the listener class.
1666
            
1667
          </xsd:documentation>
1668
        </xsd:annotation>
1669
      </xsd:element>
1670
    </xsd:sequence>
1671
    <xsd:attribute name="id"
1672
                   type="xsd:ID"/>
1673
  </xsd:complexType>
1674
1675
1676
<!-- **************************************************** -->
1677
1678
  <xsd:complexType name="localType">
1679
    <xsd:annotation>
1680
      <xsd:documentation>
1681
1682
        The localType defines the fully-qualified name of an
1683
        enterprise bean's local interface.
1684
        
1685
      </xsd:documentation>
1686
    </xsd:annotation>
1687
    <xsd:simpleContent>
1688
      <xsd:restriction base="javaee:fully-qualified-classType"/>
1689
    </xsd:simpleContent>
1690
  </xsd:complexType>
1691
1692
1693
<!-- **************************************************** -->
1694
1695
  <xsd:complexType name="local-homeType">
1696
    <xsd:annotation>
1697
      <xsd:documentation>
1698
1699
        The local-homeType defines the fully-qualified
1700
        name of an enterprise bean's local home interface.
1701
        
1702
      </xsd:documentation>
1703
    </xsd:annotation>
1704
    <xsd:simpleContent>
1705
      <xsd:restriction base="javaee:fully-qualified-classType"/>
1706
    </xsd:simpleContent>
1707
  </xsd:complexType>
1708
1709
1710
<!-- **************************************************** -->
1711
1712
  <xsd:complexType name="mail-sessionType">
1713
    <xsd:annotation>
1714
      <xsd:documentation>
1715
1716
        Configuration of a Mail Session resource.
1717
        
1718
      </xsd:documentation>
1719
    </xsd:annotation>
1720
    <xsd:sequence>
1721
      <xsd:element name="description"
1722
                   type="javaee:descriptionType"
1723
                   minOccurs="0">
1724
        <xsd:annotation>
1725
          <xsd:documentation>
1726
1727
            Description of this Mail Session resource.
1728
            
1729
          </xsd:documentation>
1730
        </xsd:annotation>
1731
      </xsd:element>
1732
      <xsd:element name="name"
1733
                   type="javaee:jndi-nameType">
1734
        <xsd:annotation>
1735
          <xsd:documentation>
1736
1737
            The name element specifies the JNDI name of the
1738
            Mail Session resource being defined.
1739
            
1740
          </xsd:documentation>
1741
        </xsd:annotation>
1742
      </xsd:element>
1743
      <xsd:element name="store-protocol"
1744
                   type="javaee:string"
1745
                   minOccurs="0">
1746
        <xsd:annotation>
1747
          <xsd:documentation>
1748
1749
            Storage protocol.
1750
            
1751
          </xsd:documentation>
1752
        </xsd:annotation>
1753
      </xsd:element>
1754
      <xsd:element name="store-protocol-class"
1755
                   type="javaee:fully-qualified-classType"
1756
                   minOccurs="0">
1757
        <xsd:annotation>
1758
          <xsd:documentation>
1759
1760
            Service provider store protocol implementation class
1761
            
1762
          </xsd:documentation>
1763
        </xsd:annotation>
1764
      </xsd:element>
1765
      <xsd:element name="transport-protocol"
1766
                   type="javaee:string"
1767
                   minOccurs="0">
1768
        <xsd:annotation>
1769
          <xsd:documentation>
1770
1771
            Transport protocol.
1772
            
1773
          </xsd:documentation>
1774
        </xsd:annotation>
1775
      </xsd:element>
1776
      <xsd:element name="transport-protocol-class"
1777
                   type="javaee:fully-qualified-classType"
1778
                   minOccurs="0">
1779
        <xsd:annotation>
1780
          <xsd:documentation>
1781
1782
            Service provider transport protocol implementation class
1783
            
1784
          </xsd:documentation>
1785
        </xsd:annotation>
1786
      </xsd:element>
1787
      <xsd:element name="host"
1788
                   type="javaee:string"
1789
                   minOccurs="0">
1790
        <xsd:annotation>
1791
          <xsd:documentation>
1792
1793
            Mail server host name.
1794
            
1795
          </xsd:documentation>
1796
        </xsd:annotation>
1797
      </xsd:element>
1798
      <xsd:element name="user"
1799
                   type="javaee:string"
1800
                   minOccurs="0">
1801
        <xsd:annotation>
1802
          <xsd:documentation>
1803
1804
            Mail server user name.
1805
            
1806
          </xsd:documentation>
1807
        </xsd:annotation>
1808
      </xsd:element>
1809
      <xsd:element name="password"
1810
                   type="javaee:string"
1811
                   minOccurs="0">
1812
        <xsd:annotation>
1813
          <xsd:documentation>
1814
1815
            Password.
1816
            
1817
          </xsd:documentation>
1818
        </xsd:annotation>
1819
      </xsd:element>
1820
      <xsd:element name="from"
1821
                   type="javaee:string"
1822
                   minOccurs="0">
1823
        <xsd:annotation>
1824
          <xsd:documentation>
1825
1826
            Email address to indicate the message sender.
1827
            
1828
          </xsd:documentation>
1829
        </xsd:annotation>
1830
      </xsd:element>
1831
      <xsd:element name="property"
1832
                   type="javaee:propertyType"
1833
                   minOccurs="0"
1834
                   maxOccurs="unbounded">
1835
        <xsd:annotation>
1836
          <xsd:documentation>
1837
1838
            Mail server property.  This may be a vendor-specific
1839
            property.
1840
            
1841
          </xsd:documentation>
1842
        </xsd:annotation>
1843
      </xsd:element>
1844
    </xsd:sequence>
1845
    <xsd:attribute name="id"
1846
                   type="xsd:ID"/>
1847
  </xsd:complexType>
1848
1849
1850
<!-- **************************************************** -->
1851
1852
  <xsd:complexType name="param-valueType">
1853
    <xsd:annotation>
1854
      <xsd:documentation>
1855
1856
        This type is a general type that can be used to declare
1857
        parameter/value lists.
1858
        
1859
      </xsd:documentation>
1860
    </xsd:annotation>
1861
    <xsd:sequence>
1862
      <xsd:element name="description"
1863
                   type="javaee:descriptionType"
1864
                   minOccurs="0"
1865
                   maxOccurs="unbounded"/>
1866
      <xsd:element name="param-name"
1867
                   type="javaee:string">
1868
        <xsd:annotation>
1869
          <xsd:documentation>
1870
1871
            The param-name element contains the name of a
1872
            parameter.
1873
            
1874
          </xsd:documentation>
1875
        </xsd:annotation>
1876
      </xsd:element>
1877
      <xsd:element name="param-value"
1878
                   type="javaee:xsdStringType">
1879
        <xsd:annotation>
1880
          <xsd:documentation>
1881
1882
            The param-value element contains the value of a
1883
            parameter.
1884
            
1885
          </xsd:documentation>
1886
        </xsd:annotation>
1887
      </xsd:element>
1888
    </xsd:sequence>
1889
    <xsd:attribute name="id"
1890
                   type="xsd:ID"/>
1891
  </xsd:complexType>
1892
1893
1894
<!-- **************************************************** -->
1895
1896
  <xsd:complexType name="pathType">
1897
    <xsd:annotation>
1898
      <xsd:documentation>
1899
1900
        The elements that use this type designate either a relative
1901
        path or an absolute path starting with a "/".
1902
        
1903
        In elements that specify a pathname to a file within the
1904
        same Deployment File, relative filenames (i.e., those not
1905
        starting with "/") are considered relative to the root of
1906
        the Deployment File's namespace.  Absolute filenames (i.e.,
1907
        those starting with "/") also specify names in the root of
1908
        the Deployment File's namespace.  In general, relative names
1909
        are preferred.  The exception is .war files where absolute
1910
        names are preferred for consistency with the Servlet API.
1911
        
1912
      </xsd:documentation>
1913
    </xsd:annotation>
1914
    <xsd:simpleContent>
1915
      <xsd:restriction base="javaee:string"/>
1916
    </xsd:simpleContent>
1917
  </xsd:complexType>
1918
1919
1920
<!-- **************************************************** -->
1921
1922
  <xsd:complexType name="persistence-context-refType">
1923
    <xsd:annotation>
1924
      <xsd:documentation>
1925
        <![CDATA[[
1926
        The persistence-context-ref element contains a declaration
1927
        of Deployment Component's reference to a persistence context
1928
        associated within a Deployment Component's
1929
        environment. It consists of:
1930
        
1931
        - an optional description
1932
        - the persistence context reference name
1933
        - an optional persistence unit name.  If not specified,
1934
        the default persistence unit is assumed.
1935
        - an optional specification as to whether
1936
        the persistence context type is Transaction or
1937
        Extended.  If not specified, Transaction is assumed.
1938
        - an optional specification as to whether
1939
        the persistence context synchronization with the current
1940
        transaction is Synchronized or Unsynchronized. If not
1941
        specified, Synchronized is assumed.
1942
        - an optional list of persistence properties
1943
        - optional injection targets
1944
        
1945
        Examples:
1946
        
1947
        <persistence-context-ref>
1948
        <persistence-context-ref-name>myPersistenceContext
1949
        </persistence-context-ref-name>
1950
        </persistence-context-ref>
1951
        
1952
        <persistence-context-ref>
1953
        <persistence-context-ref-name>myPersistenceContext
1954
        </persistence-context-ref-name>
1955
        <persistence-unit-name>PersistenceUnit1
1956
        </persistence-unit-name>
1957
        <persistence-context-type>Extended</persistence-context-type>
1958
        </persistence-context-ref>
1959
        
1960
        ]]>
1961
      </xsd:documentation>
1962
    </xsd:annotation>
1963
    <xsd:sequence>
1964
      <xsd:element name="description"
1965
                   type="javaee:descriptionType"
1966
                   minOccurs="0"
1967
                   maxOccurs="unbounded"/>
1968
      <xsd:element name="persistence-context-ref-name"
1969
                   type="javaee:jndi-nameType">
1970
        <xsd:annotation>
1971
          <xsd:documentation>
1972
1973
            The persistence-context-ref-name element specifies
1974
            the name of a persistence context reference; its
1975
            value is the environment entry name used in
1976
            Deployment Component code.  The name is a JNDI name
1977
            relative to the java:comp/env context.
1978
            
1979
          </xsd:documentation>
1980
        </xsd:annotation>
1981
      </xsd:element>
1982
      <xsd:element name="persistence-unit-name"
1983
                   type="javaee:string"
1984
                   minOccurs="0">
1985
        <xsd:annotation>
1986
          <xsd:documentation>
1987
1988
            The Application Assembler(or BeanProvider) may use the
1989
            following syntax to avoid the need to rename persistence
1990
            units to have unique names within a Java EE application.
1991
            
1992
            The Application Assembler specifies the pathname of the
1993
            root of the persistence.xml file for the referenced
1994
            persistence unit and appends the name of the persistence
1995
            unit separated from the pathname by #. The pathname is
1996
            relative to the referencing application component jar file. 
1997
            In this manner, multiple persistence units with the same
1998
            persistence unit name may be uniquely identified when the 
1999
            Application Assembler cannot change persistence unit names.
2000
            
2001
          </xsd:documentation>
2002
        </xsd:annotation>
2003
      </xsd:element>
2004
      <xsd:element name="persistence-context-type"
2005
                   type="javaee:persistence-context-typeType"
2006
                   minOccurs="0"/>
2007
      <xsd:element name="persistence-context-synchronization"
2008
                   type="javaee:persistence-context-synchronizationType"
2009
                   minOccurs="0"/>
2010
      <xsd:element name="persistence-property"
2011
                   type="javaee:propertyType"
2012
                   minOccurs="0"
2013
                   maxOccurs="unbounded">
2014
        <xsd:annotation>
2015
          <xsd:documentation>
2016
2017
            Used to specify properties for the container or persistence
2018
            provider.  Vendor-specific properties may be included in
2019
            the set of properties.  Properties that are not recognized
2020
            by a vendor must be ignored.  Entries that make use of the 
2021
            namespace javax.persistence and its subnamespaces must not
2022
            be used for vendor-specific properties.  The namespace
2023
            javax.persistence is reserved for use by the specification.
2024
            
2025
          </xsd:documentation>
2026
        </xsd:annotation>
2027
      </xsd:element>
2028
      <xsd:group ref="javaee:resourceBaseGroup"/>
2029
    </xsd:sequence>
2030
    <xsd:attribute name="id"
2031
                   type="xsd:ID"/>
2032
  </xsd:complexType>
2033
2034
2035
<!-- **************************************************** -->
2036
2037
  <xsd:complexType name="persistence-context-synchronizationType">
2038
    <xsd:annotation>
2039
      <xsd:documentation>
2040
2041
        The persistence-context-synchronizationType specifies 
2042
        whether a container-managed persistence context is automatically
2043
        synchronized with the current transaction.
2044
        
2045
        The value of the persistence-context-synchronization element 
2046
        must be one of the following:
2047
        Synchronized
2048
        Unsynchronized
2049
        
2050
      </xsd:documentation>
2051
    </xsd:annotation>
2052
    <xsd:simpleContent>
2053
      <xsd:restriction base="javaee:string">
2054
        <xsd:enumeration value="Synchronized"/>
2055
        <xsd:enumeration value="Unsynchronized"/>
2056
      </xsd:restriction>
2057
    </xsd:simpleContent>
2058
  </xsd:complexType>
2059
2060
2061
<!-- **************************************************** -->
2062
2063
  <xsd:complexType name="persistence-context-typeType">
2064
    <xsd:annotation>
2065
      <xsd:documentation>
2066
2067
        The persistence-context-typeType specifies the transactional
2068
        nature of a persistence context reference.  
2069
        
2070
        The value of the persistence-context-type element must be
2071
        one of the following:
2072
        Transaction
2073
        Extended
2074
        
2075
      </xsd:documentation>
2076
    </xsd:annotation>
2077
    <xsd:simpleContent>
2078
      <xsd:restriction base="javaee:string">
2079
        <xsd:enumeration value="Transaction"/>
2080
        <xsd:enumeration value="Extended"/>
2081
      </xsd:restriction>
2082
    </xsd:simpleContent>
2083
  </xsd:complexType>
2084
2085
2086
<!-- **************************************************** -->
2087
2088
  <xsd:complexType name="propertyType">
2089
    <xsd:annotation>
2090
      <xsd:documentation>
2091
2092
        Specifies a name/value pair.
2093
        
2094
      </xsd:documentation>
2095
    </xsd:annotation>
2096
    <xsd:sequence>
2097
      <xsd:element name="name"
2098
                   type="javaee:xsdStringType">
2099
      </xsd:element>
2100
      <xsd:element name="value"
2101
                   type="javaee:xsdStringType">
2102
      </xsd:element>
2103
    </xsd:sequence>
2104
    <xsd:attribute name="id"
2105
                   type="xsd:ID"/>
2106
  </xsd:complexType>
2107
2108
2109
<!-- **************************************************** -->
2110
2111
  <xsd:complexType name="persistence-unit-refType">
2112
    <xsd:annotation>
2113
      <xsd:documentation>
2114
        <![CDATA[[
2115
        The persistence-unit-ref element contains a declaration
2116
        of Deployment Component's reference to a persistence unit
2117
        associated within a Deployment Component's
2118
        environment. It consists of:
2119
        
2120
        - an optional description
2121
        - the persistence unit reference name
2122
        - an optional persistence unit name.  If not specified,
2123
        the default persistence unit is assumed.
2124
        - optional injection targets
2125
        
2126
        Examples:
2127
        
2128
        <persistence-unit-ref>
2129
        <persistence-unit-ref-name>myPersistenceUnit
2130
        </persistence-unit-ref-name>
2131
        </persistence-unit-ref>
2132
        
2133
        <persistence-unit-ref>
2134
        <persistence-unit-ref-name>myPersistenceUnit
2135
        </persistence-unit-ref-name>
2136
        <persistence-unit-name>PersistenceUnit1
2137
        </persistence-unit-name>
2138
        </persistence-unit-ref>
2139
        
2140
        ]]>
2141
      </xsd:documentation>
2142
    </xsd:annotation>
2143
    <xsd:sequence>
2144
      <xsd:element name="description"
2145
                   type="javaee:descriptionType"
2146
                   minOccurs="0"
2147
                   maxOccurs="unbounded"/>
2148
      <xsd:element name="persistence-unit-ref-name"
2149
                   type="javaee:jndi-nameType">
2150
        <xsd:annotation>
2151
          <xsd:documentation>
2152
2153
            The persistence-unit-ref-name element specifies
2154
            the name of a persistence unit reference; its
2155
            value is the environment entry name used in
2156
            Deployment Component code.  The name is a JNDI name
2157
            relative to the java:comp/env context.
2158
            
2159
          </xsd:documentation>
2160
        </xsd:annotation>
2161
      </xsd:element>
2162
      <xsd:element name="persistence-unit-name"
2163
                   type="javaee:string"
2164
                   minOccurs="0">
2165
        <xsd:annotation>
2166
          <xsd:documentation>
2167
2168
            The Application Assembler(or BeanProvider) may use the
2169
            following syntax to avoid the need to rename persistence
2170
            units to have unique names within a Java EE application.
2171
            
2172
            The Application Assembler specifies the pathname of the
2173
            root of the persistence.xml file for the referenced
2174
            persistence unit and appends the name of the persistence
2175
            unit separated from the pathname by #. The pathname is
2176
            relative to the referencing application component jar file. 
2177
            In this manner, multiple persistence units with the same
2178
            persistence unit name may be uniquely identified when the 
2179
            Application Assembler cannot change persistence unit names.
2180
            
2181
          </xsd:documentation>
2182
        </xsd:annotation>
2183
      </xsd:element>
2184
      <xsd:group ref="javaee:resourceBaseGroup"/>
2185
    </xsd:sequence>
2186
    <xsd:attribute name="id"
2187
                   type="xsd:ID"/>
2188
  </xsd:complexType>
2189
2190
2191
<!-- **************************************************** -->
2192
2193
  <xsd:complexType name="remoteType">
2194
    <xsd:annotation>
2195
      <xsd:documentation>
2196
        <![CDATA[[
2197
        The remote element contains the fully-qualified name
2198
        of the enterprise bean's remote interface.
2199
        
2200
        Example:
2201
        
2202
        <remote>com.wombat.empl.EmployeeService</remote>
2203
        
2204
        ]]>
2205
      </xsd:documentation>
2206
    </xsd:annotation>
2207
    <xsd:simpleContent>
2208
      <xsd:restriction base="javaee:fully-qualified-classType"/>
2209
    </xsd:simpleContent>
2210
  </xsd:complexType>
2211
2212
2213
<!-- **************************************************** -->
2214
2215
  <xsd:complexType name="resource-env-refType">
2216
    <xsd:annotation>
2217
      <xsd:documentation>
2218
        <![CDATA[[
2219
        The resource-env-refType is used to define
2220
        resource-env-ref elements.  It contains a declaration of a
2221
        Deployment Component's reference to an administered object
2222
        associated with a resource in the Deployment Component's
2223
        environment.  It consists of an optional description, the
2224
        resource environment reference name, and an optional
2225
        indication of the resource environment reference type
2226
        expected by the Deployment Component code.
2227
        
2228
        It also includes optional elements to define injection of
2229
        the named resource into fields or JavaBeans properties.
2230
        
2231
        The resource environment type must be supplied unless an
2232
        injection target is specified, in which case the type
2233
        of the target is used.  If both are specified, the type
2234
        must be assignment compatible with the type of the injection
2235
        target.
2236
        
2237
        Example:
2238
        
2239
        <resource-env-ref>
2240
        <resource-env-ref-name>jms/StockQueue
2241
        </resource-env-ref-name>
2242
        <resource-env-ref-type>javax.jms.Queue
2243
        </resource-env-ref-type>
2244
        </resource-env-ref>
2245
        
2246
        ]]>
2247
      </xsd:documentation>
2248
    </xsd:annotation>
2249
    <xsd:sequence>
2250
      <xsd:element name="description"
2251
                   type="javaee:descriptionType"
2252
                   minOccurs="0"
2253
                   maxOccurs="unbounded"/>
2254
      <xsd:element name="resource-env-ref-name"
2255
                   type="javaee:jndi-nameType">
2256
        <xsd:annotation>
2257
          <xsd:documentation>
2258
2259
            The resource-env-ref-name element specifies the name
2260
            of a resource environment reference; its value is
2261
            the environment entry name used in
2262
            the Deployment Component code.  The name is a JNDI 
2263
            name relative to the java:comp/env context and must 
2264
            be unique within a Deployment Component.
2265
            
2266
          </xsd:documentation>
2267
        </xsd:annotation>
2268
      </xsd:element>
2269
      <xsd:element name="resource-env-ref-type"
2270
                   type="javaee:fully-qualified-classType"
2271
                   minOccurs="0">
2272
        <xsd:annotation>
2273
          <xsd:documentation>
2274
2275
            The resource-env-ref-type element specifies the type
2276
            of a resource environment reference.  It is the
2277
            fully qualified name of a Java language class or
2278
            interface.
2279
            
2280
          </xsd:documentation>
2281
        </xsd:annotation>
2282
      </xsd:element>
2283
      <xsd:group ref="javaee:resourceGroup"/>
2284
    </xsd:sequence>
2285
    <xsd:attribute name="id"
2286
                   type="xsd:ID"/>
2287
  </xsd:complexType>
2288
2289
2290
<!-- **************************************************** -->
2291
2292
  <xsd:complexType name="resource-refType">
2293
    <xsd:annotation>
2294
      <xsd:documentation>
2295
        <![CDATA[[
2296
        The resource-refType contains a declaration of a
2297
        Deployment Component's reference to an external resource. It
2298
        consists of an optional description, the resource manager
2299
        connection factory reference name, an optional indication of
2300
        the resource manager connection factory type expected by the
2301
        Deployment Component code, an optional type of authentication
2302
        (Application or Container), and an optional specification of
2303
        the shareability of connections obtained from the resource
2304
        (Shareable or Unshareable).
2305
        
2306
        It also includes optional elements to define injection of
2307
        the named resource into fields or JavaBeans properties.
2308
        
2309
        The connection factory type must be supplied unless an
2310
        injection target is specified, in which case the type
2311
        of the target is used.  If both are specified, the type
2312
        must be assignment compatible with the type of the injection
2313
        target.
2314
        
2315
        Example:
2316
        
2317
        <resource-ref>
2318
        <res-ref-name>jdbc/EmployeeAppDB</res-ref-name>
2319
        <res-type>javax.sql.DataSource</res-type>
2320
        <res-auth>Container</res-auth>
2321
        <res-sharing-scope>Shareable</res-sharing-scope>
2322
        </resource-ref>
2323
        
2324
        ]]>
2325
      </xsd:documentation>
2326
    </xsd:annotation>
2327
    <xsd:sequence>
2328
      <xsd:element name="description"
2329
                   type="javaee:descriptionType"
2330
                   minOccurs="0"
2331
                   maxOccurs="unbounded"/>
2332
      <xsd:element name="res-ref-name"
2333
                   type="javaee:jndi-nameType">
2334
        <xsd:annotation>
2335
          <xsd:documentation>
2336
2337
            The res-ref-name element specifies the name of a
2338
            resource manager connection factory reference.
2339
            The name is a JNDI name relative to the
2340
            java:comp/env context.  
2341
            The name must be unique within a Deployment File. 
2342
            
2343
          </xsd:documentation>
2344
        </xsd:annotation>
2345
      </xsd:element>
2346
      <xsd:element name="res-type"
2347
                   type="javaee:fully-qualified-classType"
2348
                   minOccurs="0">
2349
        <xsd:annotation>
2350
          <xsd:documentation>
2351
2352
            The res-type element specifies the type of the data
2353
            source. The type is specified by the fully qualified
2354
            Java language class or interface
2355
            expected to be implemented by the data source.
2356
            
2357
          </xsd:documentation>
2358
        </xsd:annotation>
2359
      </xsd:element>
2360
      <xsd:element name="res-auth"
2361
                   type="javaee:res-authType"
2362
                   minOccurs="0"/>
2363
      <xsd:element name="res-sharing-scope"
2364
                   type="javaee:res-sharing-scopeType"
2365
                   minOccurs="0"/>
2366
      <xsd:group ref="javaee:resourceGroup"/>
2367
    </xsd:sequence>
2368
    <xsd:attribute name="id"
2369
                   type="xsd:ID"/>
2370
  </xsd:complexType>
2371
2372
2373
<!-- **************************************************** -->
2374
2375
  <xsd:complexType name="res-authType">
2376
    <xsd:annotation>
2377
      <xsd:documentation>
2378
2379
        The res-authType specifies whether the Deployment Component
2380
        code signs on programmatically to the resource manager, or
2381
        whether the Container will sign on to the resource manager
2382
        on behalf of the Deployment Component. In the latter case,
2383
        the Container uses information that is supplied by the
2384
        Deployer.
2385
        
2386
        The value must be one of the two following:
2387
        
2388
        Application
2389
        Container
2390
        
2391
      </xsd:documentation>
2392
    </xsd:annotation>
2393
    <xsd:simpleContent>
2394
      <xsd:restriction base="javaee:string">
2395
        <xsd:enumeration value="Application"/>
2396
        <xsd:enumeration value="Container"/>
2397
      </xsd:restriction>
2398
    </xsd:simpleContent>
2399
  </xsd:complexType>
2400
2401
2402
<!-- **************************************************** -->
2403
2404
  <xsd:complexType name="res-sharing-scopeType">
2405
    <xsd:annotation>
2406
      <xsd:documentation>
2407
2408
        The res-sharing-scope type specifies whether connections
2409
        obtained through the given resource manager connection
2410
        factory reference can be shared. The value, if specified,
2411
        must be one of the two following:
2412
        
2413
        Shareable
2414
        Unshareable
2415
        
2416
        The default value is Shareable.
2417
        
2418
      </xsd:documentation>
2419
    </xsd:annotation>
2420
    <xsd:simpleContent>
2421
      <xsd:restriction base="javaee:string">
2422
        <xsd:enumeration value="Shareable"/>
2423
        <xsd:enumeration value="Unshareable"/>
2424
      </xsd:restriction>
2425
    </xsd:simpleContent>
2426
  </xsd:complexType>
2427
2428
2429
<!-- **************************************************** -->
2430
2431
  <xsd:complexType name="run-asType">
2432
    <xsd:annotation>
2433
      <xsd:documentation>
2434
2435
        The run-asType specifies the run-as identity to be
2436
        used for the execution of a component. It contains an 
2437
        optional description, and the name of a security role.
2438
        
2439
      </xsd:documentation>
2440
    </xsd:annotation>
2441
    <xsd:sequence>
2442
      <xsd:element name="description"
2443
                   type="javaee:descriptionType"
2444
                   minOccurs="0"
2445
                   maxOccurs="unbounded"/>
2446
      <xsd:element name="role-name"
2447
                   type="javaee:role-nameType"/>
2448
    </xsd:sequence>
2449
    <xsd:attribute name="id"
2450
                   type="xsd:ID"/>
2451
  </xsd:complexType>
2452
2453
2454
<!-- **************************************************** -->
2455
2456
  <xsd:complexType name="role-nameType">
2457
    <xsd:annotation>
2458
      <xsd:documentation>
2459
2460
        The role-nameType designates the name of a security role.
2461
        
2462
        The name must conform to the lexical rules for a token.
2463
        
2464
      </xsd:documentation>
2465
    </xsd:annotation>
2466
    <xsd:simpleContent>
2467
      <xsd:restriction base="javaee:string"/>
2468
    </xsd:simpleContent>
2469
  </xsd:complexType>
2470
2471
2472
<!-- **************************************************** -->
2473
2474
  <xsd:complexType name="security-roleType">
2475
    <xsd:annotation>
2476
      <xsd:documentation>
2477
        <![CDATA[[
2478
        The security-roleType contains the definition of a security
2479
        role. The definition consists of an optional description of
2480
        the security role, and the security role name.
2481
        
2482
        Example:
2483
        
2484
        <security-role>
2485
        <description>
2486
        This role includes all employees who are authorized
2487
        to access the employee service application.
2488
        </description>
2489
        <role-name>employee</role-name>
2490
        </security-role>
2491
        
2492
        ]]>
2493
      </xsd:documentation>
2494
    </xsd:annotation>
2495
    <xsd:sequence>
2496
      <xsd:element name="description"
2497
                   type="javaee:descriptionType"
2498
                   minOccurs="0"
2499
                   maxOccurs="unbounded"/>
2500
      <xsd:element name="role-name"
2501
                   type="javaee:role-nameType"/>
2502
    </xsd:sequence>
2503
    <xsd:attribute name="id"
2504
                   type="xsd:ID"/>
2505
  </xsd:complexType>
2506
2507
2508
<!-- **************************************************** -->
2509
2510
  <xsd:complexType name="security-role-refType">
2511
    <xsd:annotation>
2512
      <xsd:documentation>
2513
2514
        The security-role-refType contains the declaration of a
2515
        security role reference in a component's or a
2516
        Deployment Component's code. The declaration consists of an
2517
        optional description, the security role name used in the
2518
        code, and an optional link to a security role. If the
2519
        security role is not specified, the Deployer must choose an
2520
        appropriate security role.
2521
        
2522
      </xsd:documentation>
2523
    </xsd:annotation>
2524
    <xsd:sequence>
2525
      <xsd:element name="description"
2526
                   type="javaee:descriptionType"
2527
                   minOccurs="0"
2528
                   maxOccurs="unbounded"/>
2529
      <xsd:element name="role-name"
2530
                   type="javaee:role-nameType">
2531
        <xsd:annotation>
2532
          <xsd:documentation>
2533
2534
            The value of the role-name element must be the String used
2535
            as the parameter to the 
2536
            EJBContext.isCallerInRole(String roleName) method or the
2537
            HttpServletRequest.isUserInRole(String role) method.
2538
            
2539
          </xsd:documentation>
2540
        </xsd:annotation>
2541
      </xsd:element>
2542
      <xsd:element name="role-link"
2543
                   type="javaee:role-nameType"
2544
                   minOccurs="0">
2545
        <xsd:annotation>
2546
          <xsd:documentation>
2547
2548
            The role-link element is a reference to a defined
2549
            security role. The role-link element must contain
2550
            the name of one of the security roles defined in the
2551
            security-role elements.
2552
            
2553
          </xsd:documentation>
2554
        </xsd:annotation>
2555
      </xsd:element>
2556
    </xsd:sequence>
2557
    <xsd:attribute name="id"
2558
                   type="xsd:ID"/>
2559
  </xsd:complexType>
2560
2561
2562
<!-- **************************************************** -->
2563
2564
  <xsd:complexType name="xsdQNameType">
2565
    <xsd:annotation>
2566
      <xsd:documentation>
2567
2568
        This type adds an "id" attribute to xsd:QName.
2569
        
2570
      </xsd:documentation>
2571
    </xsd:annotation>
2572
    <xsd:simpleContent>
2573
      <xsd:extension base="xsd:QName">
2574
        <xsd:attribute name="id"
2575
                       type="xsd:ID"/>
2576
      </xsd:extension>
2577
    </xsd:simpleContent>
2578
  </xsd:complexType>
2579
2580
2581
<!-- **************************************************** -->
2582
2583
  <xsd:complexType name="xsdBooleanType">
2584
    <xsd:annotation>
2585
      <xsd:documentation>
2586
2587
        This type adds an "id" attribute to xsd:boolean.
2588
        
2589
      </xsd:documentation>
2590
    </xsd:annotation>
2591
    <xsd:simpleContent>
2592
      <xsd:extension base="xsd:boolean">
2593
        <xsd:attribute name="id"
2594
                       type="xsd:ID"/>
2595
      </xsd:extension>
2596
    </xsd:simpleContent>
2597
  </xsd:complexType>
2598
2599
2600
<!-- **************************************************** -->
2601
2602
  <xsd:complexType name="xsdNMTOKENType">
2603
    <xsd:annotation>
2604
      <xsd:documentation>
2605
2606
        This type adds an "id" attribute to xsd:NMTOKEN.
2607
        
2608
      </xsd:documentation>
2609
    </xsd:annotation>
2610
    <xsd:simpleContent>
2611
      <xsd:extension base="xsd:NMTOKEN">
2612
        <xsd:attribute name="id"
2613
                       type="xsd:ID"/>
2614
      </xsd:extension>
2615
    </xsd:simpleContent>
2616
  </xsd:complexType>
2617
2618
2619
<!-- **************************************************** -->
2620
2621
  <xsd:complexType name="xsdAnyURIType">
2622
    <xsd:annotation>
2623
      <xsd:documentation>
2624
2625
        This type adds an "id" attribute to xsd:anyURI.
2626
        
2627
      </xsd:documentation>
2628
    </xsd:annotation>
2629
    <xsd:simpleContent>
2630
      <xsd:extension base="xsd:anyURI">
2631
        <xsd:attribute name="id"
2632
                       type="xsd:ID"/>
2633
      </xsd:extension>
2634
    </xsd:simpleContent>
2635
  </xsd:complexType>
2636
2637
2638
<!-- **************************************************** -->
2639
2640
  <xsd:complexType name="xsdIntegerType">
2641
    <xsd:annotation>
2642
      <xsd:documentation>
2643
2644
        This type adds an "id" attribute to xsd:integer.
2645
        
2646
      </xsd:documentation>
2647
    </xsd:annotation>
2648
    <xsd:simpleContent>
2649
      <xsd:extension base="xsd:integer">
2650
        <xsd:attribute name="id"
2651
                       type="xsd:ID"/>
2652
      </xsd:extension>
2653
    </xsd:simpleContent>
2654
  </xsd:complexType>
2655
2656
2657
<!-- **************************************************** -->
2658
2659
  <xsd:complexType name="xsdPositiveIntegerType">
2660
    <xsd:annotation>
2661
      <xsd:documentation>
2662
2663
        This type adds an "id" attribute to xsd:positiveInteger.
2664
        
2665
      </xsd:documentation>
2666
    </xsd:annotation>
2667
    <xsd:simpleContent>
2668
      <xsd:extension base="xsd:positiveInteger">
2669
        <xsd:attribute name="id"
2670
                       type="xsd:ID"/>
2671
      </xsd:extension>
2672
    </xsd:simpleContent>
2673
  </xsd:complexType>
2674
2675
2676
<!-- **************************************************** -->
2677
2678
  <xsd:complexType name="xsdNonNegativeIntegerType">
2679
    <xsd:annotation>
2680
      <xsd:documentation>
2681
2682
        This type adds an "id" attribute to xsd:nonNegativeInteger.
2683
        
2684
      </xsd:documentation>
2685
    </xsd:annotation>
2686
    <xsd:simpleContent>
2687
      <xsd:extension base="xsd:nonNegativeInteger">
2688
        <xsd:attribute name="id"
2689
                       type="xsd:ID"/>
2690
      </xsd:extension>
2691
    </xsd:simpleContent>
2692
  </xsd:complexType>
2693
2694
2695
<!-- **************************************************** -->
2696
2697
  <xsd:complexType name="xsdStringType">
2698
    <xsd:annotation>
2699
      <xsd:documentation>
2700
2701
        This type adds an "id" attribute to xsd:string.
2702
        
2703
      </xsd:documentation>
2704
    </xsd:annotation>
2705
    <xsd:simpleContent>
2706
      <xsd:extension base="xsd:string">
2707
        <xsd:attribute name="id"
2708
                       type="xsd:ID"/>
2709
      </xsd:extension>
2710
    </xsd:simpleContent>
2711
  </xsd:complexType>
2712
2713
2714
<!-- **************************************************** -->
2715
2716
  <xsd:complexType name="string">
2717
    <xsd:annotation>
2718
      <xsd:documentation>
2719
2720
        This is a special string datatype that is defined by Java EE as
2721
        a base type for defining collapsed strings. When schemas
2722
        require trailing/leading space elimination as well as
2723
        collapsing the existing whitespace, this base type may be
2724
        used.
2725
        
2726
      </xsd:documentation>
2727
    </xsd:annotation>
2728
    <xsd:simpleContent>
2729
      <xsd:extension base="xsd:token">
2730
        <xsd:attribute name="id"
2731
                       type="xsd:ID"/>
2732
      </xsd:extension>
2733
    </xsd:simpleContent>
2734
  </xsd:complexType>
2735
2736
2737
<!-- **************************************************** -->
2738
2739
  <xsd:complexType name="true-falseType">
2740
    <xsd:annotation>
2741
      <xsd:documentation>
2742
2743
        This simple type designates a boolean with only two
2744
        permissible values
2745
        
2746
        - true
2747
        - false
2748
        
2749
      </xsd:documentation>
2750
    </xsd:annotation>
2751
    <xsd:simpleContent>
2752
      <xsd:restriction base="javaee:xsdBooleanType">
2753
        <xsd:pattern value="(true|false)"/>
2754
      </xsd:restriction>
2755
    </xsd:simpleContent>
2756
  </xsd:complexType>
2757
2758
2759
<!-- **************************************************** -->
2760
2761
  <xsd:complexType name="url-patternType">
2762
    <xsd:annotation>
2763
      <xsd:documentation>
2764
2765
        The url-patternType contains the url pattern of the mapping.
2766
        It must follow the rules specified in Section 11.2 of the
2767
        Servlet API Specification. This pattern is assumed to be in
2768
        URL-decoded form and must not contain CR(#xD) or LF(#xA).
2769
        If it contains those characters, the container must inform
2770
        the developer with a descriptive error message.
2771
        The container must preserve all characters including whitespaces.
2772
        
2773
      </xsd:documentation>
2774
    </xsd:annotation>
2775
    <xsd:simpleContent>
2776
      <xsd:extension base="xsd:string"/>
2777
    </xsd:simpleContent>
2778
  </xsd:complexType>
2779
2780
2781
<!-- **************************************************** -->
2782
2783
  <xsd:complexType name="message-destinationType">
2784
    <xsd:annotation>
2785
      <xsd:documentation>
2786
        <![CDATA[[
2787
        The message-destinationType specifies a message
2788
        destination. The logical destination described by this
2789
        element is mapped to a physical destination by the Deployer.
2790
        
2791
        The message destination element contains: 
2792
        
2793
        - an optional description
2794
        - an optional display-name
2795
        - an optional icon
2796
        - a message destination name which must be unique
2797
        among message destination names within the same 
2798
        Deployment File. 
2799
        - an optional mapped name
2800
        - an optional lookup name
2801
        
2802
        Example: 
2803
        
2804
        <message-destination>
2805
        <message-destination-name>CorporateStocks
2806
        </message-destination-name>
2807
        </message-destination>
2808
        
2809
        ]]>
2810
      </xsd:documentation>
2811
    </xsd:annotation>
2812
    <xsd:sequence>
2813
      <xsd:group ref="javaee:descriptionGroup"/>
2814
      <xsd:element name="message-destination-name"
2815
                   type="javaee:string">
2816
        <xsd:annotation>
2817
          <xsd:documentation>
2818
2819
            The message-destination-name element specifies a
2820
            name for a message destination.  This name must be
2821
            unique among the names of message destinations
2822
            within the Deployment File.
2823
            
2824
          </xsd:documentation>
2825
        </xsd:annotation>
2826
      </xsd:element>
2827
      <xsd:element name="mapped-name"
2828
                   type="javaee:xsdStringType"
2829
                   minOccurs="0">
2830
        <xsd:annotation>
2831
          <xsd:documentation>
2832
2833
            A product specific name that this message destination
2834
            should be mapped to.  Each message-destination-ref
2835
            element that references this message destination will
2836
            define a name in the namespace of the referencing
2837
            component or in one of the other predefined namespaces. 
2838
            Many application servers provide a way to map these
2839
            local names to names of resources known to the
2840
            application server.  This mapped name is often a global
2841
            JNDI name, but may be a name of any form.  Each of the
2842
            local names should be mapped to this same global name.
2843
            
2844
            Application servers are not required to support any
2845
            particular form or type of mapped name, nor the ability
2846
            to use mapped names.  The mapped name is
2847
            product-dependent and often installation-dependent.  No
2848
            use of a mapped name is portable.
2849
            
2850
          </xsd:documentation>
2851
        </xsd:annotation>
2852
      </xsd:element>
2853
      <xsd:element name="lookup-name"
2854
                   type="javaee:xsdStringType"
2855
                   minOccurs="0">
2856
        <xsd:annotation>
2857
          <xsd:documentation>
2858
2859
            The JNDI name to be looked up to resolve the message destination.
2860
            
2861
          </xsd:documentation>
2862
        </xsd:annotation>
2863
      </xsd:element>
2864
    </xsd:sequence>
2865
    <xsd:attribute name="id"
2866
                   type="xsd:ID"/>
2867
  </xsd:complexType>
2868
2869
2870
<!-- **************************************************** -->
2871
2872
  <xsd:complexType name="message-destination-refType">
2873
    <xsd:annotation>
2874
      <xsd:documentation>
2875
        <![CDATA[[
2876
        The message-destination-ref element contains a declaration
2877
        of Deployment Component's reference to a message destination
2878
        associated with a resource in Deployment Component's
2879
        environment. It consists of:
2880
        
2881
        - an optional description
2882
        - the message destination reference name
2883
        - an optional message destination type
2884
        - an optional specification as to whether
2885
        the destination is used for 
2886
        consuming or producing messages, or both.
2887
        if not specified, "both" is assumed.
2888
        - an optional link to the message destination
2889
        - optional injection targets
2890
        
2891
        The message destination type must be supplied unless an
2892
        injection target is specified, in which case the type
2893
        of the target is used.  If both are specified, the type
2894
        must be assignment compatible with the type of the injection
2895
        target.
2896
        
2897
        Examples:
2898
        
2899
        <message-destination-ref>
2900
        <message-destination-ref-name>jms/StockQueue
2901
        </message-destination-ref-name>
2902
        <message-destination-type>javax.jms.Queue
2903
        </message-destination-type>
2904
        <message-destination-usage>Consumes
2905
        </message-destination-usage>
2906
        <message-destination-link>CorporateStocks
2907
        </message-destination-link>
2908
        </message-destination-ref>
2909
        
2910
        ]]>
2911
      </xsd:documentation>
2912
    </xsd:annotation>
2913
    <xsd:sequence>
2914
      <xsd:element name="description"
2915
                   type="javaee:descriptionType"
2916
                   minOccurs="0"
2917
                   maxOccurs="unbounded"/>
2918
      <xsd:element name="message-destination-ref-name"
2919
                   type="javaee:jndi-nameType">
2920
        <xsd:annotation>
2921
          <xsd:documentation>
2922
2923
            The message-destination-ref-name element specifies
2924
            the name of a message destination reference; its
2925
            value is the environment entry name used in
2926
            Deployment Component code.
2927
            
2928
          </xsd:documentation>
2929
        </xsd:annotation>
2930
      </xsd:element>
2931
      <xsd:element name="message-destination-type"
2932
                   type="javaee:message-destination-typeType"
2933
                   minOccurs="0"/>
2934
      <xsd:element name="message-destination-usage"
2935
                   type="javaee:message-destination-usageType"
2936
                   minOccurs="0"/>
2937
      <xsd:element name="message-destination-link"
2938
                   type="javaee:message-destination-linkType"
2939
                   minOccurs="0"/>
2940
      <xsd:group ref="javaee:resourceGroup"/>
2941
    </xsd:sequence>
2942
    <xsd:attribute name="id"
2943
                   type="xsd:ID"/>
2944
  </xsd:complexType>
2945
2946
2947
<!-- **************************************************** -->
2948
2949
  <xsd:complexType name="message-destination-usageType">
2950
    <xsd:annotation>
2951
      <xsd:documentation>
2952
2953
        The message-destination-usageType specifies the use of the
2954
        message destination indicated by the reference.  The value
2955
        indicates whether messages are consumed from the message
2956
        destination, produced for the destination, or both.  The
2957
        Assembler makes use of this information in linking producers
2958
        of a destination with its consumers.
2959
        
2960
        The value of the message-destination-usage element must be
2961
        one of the following:
2962
        Consumes
2963
        Produces
2964
        ConsumesProduces
2965
        
2966
      </xsd:documentation>
2967
    </xsd:annotation>
2968
    <xsd:simpleContent>
2969
      <xsd:restriction base="javaee:string">
2970
        <xsd:enumeration value="Consumes"/>
2971
        <xsd:enumeration value="Produces"/>
2972
        <xsd:enumeration value="ConsumesProduces"/>
2973
      </xsd:restriction>
2974
    </xsd:simpleContent>
2975
  </xsd:complexType>
2976
2977
2978
<!-- **************************************************** -->
2979
2980
  <xsd:complexType name="message-destination-typeType">
2981
    <xsd:annotation>
2982
      <xsd:documentation>
2983
        <![CDATA[[
2984
        The message-destination-typeType specifies the type of
2985
        the destination. The type is specified by the Java interface
2986
        expected to be implemented by the destination.
2987
        
2988
        Example: 
2989
        
2990
        <message-destination-type>javax.jms.Queue
2991
        </message-destination-type>
2992
        
2993
        ]]>
2994
      </xsd:documentation>
2995
    </xsd:annotation>
2996
    <xsd:simpleContent>
2997
      <xsd:restriction base="javaee:fully-qualified-classType"/>
2998
    </xsd:simpleContent>
2999
  </xsd:complexType>
3000
3001
3002
<!-- **************************************************** -->
3003
3004
  <xsd:complexType name="message-destination-linkType">
3005
    <xsd:annotation>
3006
      <xsd:documentation>
3007
3008
        The message-destination-linkType is used to link a message
3009
        destination reference or message-driven bean to a message
3010
        destination.
3011
        
3012
        The Assembler sets the value to reflect the flow of messages
3013
        between producers and consumers in the application.
3014
        
3015
        The value must be the message-destination-name of a message
3016
        destination in the same Deployment File or in another
3017
        Deployment File in the same Java EE application unit.
3018
        
3019
        Alternatively, the value may be composed of a path name
3020
        specifying a Deployment File containing the referenced
3021
        message destination with the message-destination-name of the
3022
        destination appended and separated from the path name by
3023
        "#". The path name is relative to the Deployment File
3024
        containing Deployment Component that is referencing the
3025
        message destination.  This allows multiple message
3026
        destinations with the same name to be uniquely identified.
3027
        
3028
      </xsd:documentation>
3029
    </xsd:annotation>
3030
    <xsd:simpleContent>
3031
      <xsd:restriction base="javaee:string"/>
3032
    </xsd:simpleContent>
3033
  </xsd:complexType>
3034
3035
3036
<!-- **************************************************** -->
3037
3038
  <xsd:complexType name="transaction-supportType">
3039
    <xsd:annotation>
3040
      <xsd:documentation>
3041
3042
        The transaction-supportType specifies the level of
3043
        transaction support provided by the resource adapter. It is
3044
        used by transaction-support elements.
3045
        
3046
        The value must be one of the following:
3047
        
3048
        NoTransaction
3049
        LocalTransaction
3050
        XATransaction
3051
        
3052
      </xsd:documentation>
3053
    </xsd:annotation>
3054
    <xsd:simpleContent>
3055
      <xsd:restriction base="javaee:string">
3056
        <xsd:enumeration value="NoTransaction"/>
3057
        <xsd:enumeration value="LocalTransaction"/>
3058
        <xsd:enumeration value="XATransaction"/>
3059
      </xsd:restriction>
3060
    </xsd:simpleContent>
3061
  </xsd:complexType>
3062
3063
</xsd:schema>
(-)a/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/javaee_web_services_1_4.xsd (+572 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
3
            targetNamespace="http://xmlns.jcp.org/xml/ns/javaee"
4
            xmlns:javaee="http://xmlns.jcp.org/xml/ns/javaee"
5
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6
            elementFormDefault="qualified"
7
            attributeFormDefault="unqualified"
8
            version="1.4">
9
  <xsd:annotation>
10
    <xsd:documentation>
11
12
      DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
13
      
14
      Copyright (c) 2009-2013 Oracle and/or its affiliates. All rights reserved.
15
      
16
      The contents of this file are subject to the terms of either the GNU
17
      General Public License Version 2 only ("GPL") or the Common Development
18
      and Distribution License("CDDL") (collectively, the "License").  You
19
      may not use this file except in compliance with the License.  You can
20
      obtain a copy of the License at
21
      https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
22
      or packager/legal/LICENSE.txt.  See the License for the specific
23
      language governing permissions and limitations under the License.
24
      
25
      When distributing the software, include this License Header Notice in each
26
      file and include the License file at packager/legal/LICENSE.txt.
27
      
28
      GPL Classpath Exception:
29
      Oracle designates this particular file as subject to the "Classpath"
30
      exception as provided by Oracle in the GPL Version 2 section of the License
31
      file that accompanied this code.
32
      
33
      Modifications:
34
      If applicable, add the following below the License Header, with the fields
35
      enclosed by brackets [] replaced by your own identifying information:
36
      "Portions Copyright [year] [name of copyright owner]"
37
      
38
      Contributor(s):
39
      If you wish your version of this file to be governed by only the CDDL or
40
      only the GPL Version 2, indicate your decision by adding "[Contributor]
41
      elects to include this software in this distribution under the [CDDL or GPL
42
      Version 2] license."  If you don't indicate a single choice of license, a
43
      recipient has the option to distribute your version of this file under
44
      either the CDDL, the GPL Version 2 or to extend the choice of license to
45
      its licensees as provided above.  However, if you add GPL Version 2 code
46
      and therefore, elected the GPL Version 2 license, then the option applies
47
      only if the new code is made subject to such option by the copyright
48
      holder.
49
      
50
    </xsd:documentation>
51
  </xsd:annotation>
52
53
  <xsd:annotation>
54
    <xsd:documentation>
55
56
      (C) Copyright International Business Machines Corporation 2002
57
      
58
    </xsd:documentation>
59
  </xsd:annotation>
60
61
  <xsd:annotation>
62
    <xsd:documentation>
63
      <![CDATA[[
64
      The webservices element is the root element for the web services
65
      deployment descriptor.  It specifies the set of web service
66
      descriptions that are to be deployed into the Java EE Application
67
      Server and the dependencies they have on container resources and
68
      services.  The deployment descriptor must be named
69
      "META-INF/webservices.xml" in the web services' jar file.
70
      
71
      Used in: webservices.xml
72
      
73
      All webservices deployment descriptors must indicate the
74
      webservices schema by using the Java EE namespace:
75
      
76
      http://xmlns.jcp.org/xml/ns/javaee
77
      
78
      and by indicating the version of the schema by using the version
79
      element as shown below:
80
      
81
      <webservices xmlns="http://xmlns.jcp.org/xml/ns/javaee"
82
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
83
      xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
84
      	http://xmlns.jcp.org/xml/ns/javaee/javaee_web_services_1_4.xsd"
85
      version="1.4">
86
      ...
87
      </webservices>
88
      
89
      The instance documents may indicate the published version of the
90
      schema using the xsi:schemaLocation attribute for the Java EE
91
      namespace with the following location:
92
      
93
      http://xmlns.jcp.org/xml/ns/javaee/javaee_web_services_1_4.xsd
94
      
95
      ]]>
96
    </xsd:documentation>
97
  </xsd:annotation>
98
99
  <xsd:annotation>
100
    <xsd:documentation>
101
102
      The following conventions apply to all Java EE
103
      deployment descriptor elements unless indicated otherwise.
104
      
105
      - In elements that specify a pathname to a file within the
106
      same JAR file, relative filenames (i.e., those not
107
      starting with "/") are considered relative to the root of
108
      the JAR file's namespace.  Absolute filenames (i.e., those
109
      starting with "/") also specify names in the root of the
110
      JAR file's namespace.  In general, relative names are
111
      preferred.  The exception is .war files where absolute
112
      names are preferred for consistency with the Servlet API.
113
      
114
    </xsd:documentation>
115
  </xsd:annotation>
116
117
  <xsd:include schemaLocation="javaee_7.xsd"/>
118
119
120
<!-- **************************************************** -->
121
122
  <xsd:element name="webservices"
123
               type="javaee:webservicesType">
124
    <xsd:annotation>
125
      <xsd:documentation>
126
127
        The webservices element is the root element for the web services
128
        deployment descriptor.  It specifies the set of web service
129
        descriptions that are to be deployed into the Java EE Application Server
130
        and the dependencies they have on container resources and services.
131
        
132
        Used in: webservices.xml
133
        
134
      </xsd:documentation>
135
    </xsd:annotation>
136
    <xsd:key name="webservice-description-name-key">
137
      <xsd:annotation>
138
        <xsd:documentation>
139
140
          The webservice-description-name identifies the collection of
141
          port-components associated with a WSDL file and JAX-RPC mapping. The
142
          name must be unique within the deployment descriptor.
143
          
144
        </xsd:documentation>
145
      </xsd:annotation>
146
      <xsd:selector xpath="javaee:webservice-description"/>
147
      <xsd:field xpath="javaee:webservice-description-name"/>
148
    </xsd:key>
149
  </xsd:element>
150
151
152
<!-- **************************************************** -->
153
154
  <xsd:complexType name="port-componentType">
155
    <xsd:annotation>
156
      <xsd:documentation>
157
158
        The port-component element associates a WSDL port with a web service
159
        interface and implementation.  It defines the name of the port as a
160
        component, optional description, optional display name, optional iconic
161
        representations, WSDL port QName, Service Endpoint Interface, Service
162
        Implementation Bean.
163
        
164
        This element also associates a WSDL service with a JAX-WS Provider
165
        implementation.
166
        
167
      </xsd:documentation>
168
    </xsd:annotation>
169
    <xsd:sequence>
170
      <xsd:element name="description"
171
                   type="javaee:descriptionType"
172
                   minOccurs="0"
173
                   maxOccurs="1"/>
174
      <xsd:element name="display-name"
175
                   type="javaee:display-nameType"
176
                   minOccurs="0"
177
                   maxOccurs="1"/>
178
      <xsd:element name="icon"
179
                   type="javaee:iconType"
180
                   minOccurs="0"
181
                   maxOccurs="1"/>
182
      <xsd:element name="port-component-name"
183
                   type="javaee:string">
184
        <xsd:annotation>
185
          <xsd:documentation>
186
            <![CDATA[[
187
            The port-component-name element specifies a port component's
188
            name.  This name is assigned by the module producer to name
189
            the service implementation bean in the module's deployment
190
            descriptor. The name must be unique among the port component
191
            names defined in the same module.
192
            
193
            Used in: port-component
194
            
195
            Example:
196
            	      <port-component-name>EmployeeService
197
            	      </port-component-name>
198
            
199
            ]]>
200
          </xsd:documentation>
201
        </xsd:annotation>
202
      </xsd:element>
203
      <xsd:element name="wsdl-service"
204
                   type="javaee:xsdQNameType"
205
                   minOccurs="0"
206
                   maxOccurs="1">
207
        <xsd:annotation>
208
          <xsd:documentation>
209
210
            Defines the name space and local name part of the WSDL
211
            service QName. This is required to be specified for
212
            port components that are JAX-WS Provider implementations.
213
            
214
          </xsd:documentation>
215
        </xsd:annotation>
216
      </xsd:element>
217
      <xsd:element name="wsdl-port"
218
                   type="javaee:xsdQNameType"
219
                   minOccurs="0"
220
                   maxOccurs="1">
221
        <xsd:annotation>
222
          <xsd:documentation>
223
224
            Defines the name space and local name part of the WSDL
225
            port QName. This is not required to be specified for port
226
            components that are JAX-WS Provider implementations
227
            
228
          </xsd:documentation>
229
        </xsd:annotation>
230
      </xsd:element>
231
      <xsd:element name="enable-mtom"
232
                   type="javaee:true-falseType"
233
                   minOccurs="0"
234
                   maxOccurs="1">
235
        <xsd:annotation>
236
          <xsd:documentation>
237
238
            Used to enable or disable SOAP MTOM/XOP mechanism for an
239
            endpoint implementation.
240
            
241
            Not to be specified for JAX-RPC runtime
242
            
243
          </xsd:documentation>
244
        </xsd:annotation>
245
      </xsd:element>
246
      <xsd:element name="mtom-threshold"
247
                   type="javaee:xsdNonNegativeIntegerType"
248
                   minOccurs="0"
249
                   maxOccurs="1">
250
        <xsd:annotation>
251
          <xsd:documentation>
252
253
            When MTOM is enabled, binary data above this size in bytes
254
            will be XOP encoded or sent as attachment. Default value is 0.
255
            
256
            Not to be specified for JAX-RPC runtime
257
            
258
          </xsd:documentation>
259
        </xsd:annotation>
260
      </xsd:element>
261
      <xsd:element name="addressing"
262
                   type="javaee:addressingType"
263
                   minOccurs="0"
264
                   maxOccurs="1">
265
        <xsd:annotation>
266
          <xsd:documentation>
267
268
            This specifies the WS-Addressing requirements for a JAX-WS
269
            web service. It corresponds to javax.xml.ws.soap.Addressing
270
            annotation or its feature javax.xml.ws.soap.AddressingFeature.
271
            
272
            See the addressingType for more information.
273
            
274
            Not to be specified for JAX-RPC runtime
275
            
276
          </xsd:documentation>
277
        </xsd:annotation>
278
      </xsd:element>
279
      <xsd:element name="respect-binding"
280
                   type="javaee:respect-bindingType"
281
                   minOccurs="0"
282
                   maxOccurs="1">
283
        <xsd:annotation>
284
          <xsd:documentation>
285
286
            Corresponds to the javax.xml.ws.RespectBinding annotation
287
            or its corresponding javax.xml.ws.RespectBindingFeature web
288
            service feature. This is used to control whether a JAX-WS
289
            implementation must respect/honor the contents of the
290
            wsdl:binding in the WSDL that is associated with the service.
291
            
292
            Not to be specified for JAX-RPC runtime
293
            
294
          </xsd:documentation>
295
        </xsd:annotation>
296
      </xsd:element>
297
      <xsd:element name="protocol-binding"
298
                   type="javaee:protocol-bindingType"
299
                   minOccurs="0"
300
                   maxOccurs="1">
301
        <xsd:annotation>
302
          <xsd:documentation>
303
304
            Used to specify the protocol binding used by the port-component.
305
            If this element is not specified, then the default binding is
306
            used (SOAP 1.1 over HTTP)
307
            
308
          </xsd:documentation>
309
        </xsd:annotation>
310
      </xsd:element>
311
      <xsd:element name="service-endpoint-interface"
312
                   type="javaee:fully-qualified-classType"
313
                   minOccurs="0"
314
                   maxOccurs="1">
315
        <xsd:annotation>
316
          <xsd:documentation>
317
            <![CDATA[[
318
            The service-endpoint-interface element contains the
319
            fully-qualified name of the port component's Service Endpoint
320
            Interface.
321
            
322
            Used in: port-component
323
            
324
            Example:
325
            	      <remote>com.wombat.empl.EmployeeService</remote>
326
            
327
            This may not be specified in case there is no Service
328
            Enpoint Interface as is the case with directly using an
329
            implementation class with the @WebService annotation.
330
            
331
            When the port component is a Provider implementation
332
            this is not specified.
333
            
334
            ]]>
335
          </xsd:documentation>
336
        </xsd:annotation>
337
      </xsd:element>
338
      <xsd:element name="service-impl-bean"
339
                   type="javaee:service-impl-beanType"/>
340
      <xsd:choice>
341
        <xsd:element name="handler"
342
                     type="javaee:handlerType"
343
                     minOccurs="0"
344
                     maxOccurs="unbounded">
345
          <xsd:annotation>
346
            <xsd:documentation>
347
348
              	 To be used with JAX-RPC based runtime only.
349
              
350
            </xsd:documentation>
351
          </xsd:annotation>
352
        </xsd:element>
353
        <xsd:element name="handler-chains"
354
                     type="javaee:handler-chainsType"
355
                     minOccurs="0"
356
                     maxOccurs="1">
357
          <xsd:annotation>
358
            <xsd:documentation>
359
360
              	 To be used with JAX-WS based runtime only.
361
              
362
            </xsd:documentation>
363
          </xsd:annotation>
364
        </xsd:element>
365
      </xsd:choice>
366
    </xsd:sequence>
367
    <xsd:attribute name="id"
368
                   type="xsd:ID"/>
369
  </xsd:complexType>
370
371
372
<!-- **************************************************** -->
373
374
  <xsd:complexType name="service-impl-beanType">
375
    <xsd:annotation>
376
      <xsd:documentation>
377
378
        The service-impl-bean element defines the web service implementation.
379
        A service implementation can be an EJB bean class or JAX-RPC web
380
        component.  Existing EJB implementations are exposed as a web service
381
        using an ejb-link.
382
        
383
        Used in: port-component
384
        
385
      </xsd:documentation>
386
    </xsd:annotation>
387
    <xsd:choice>
388
      <xsd:element name="ejb-link"
389
                   type="javaee:ejb-linkType"/>
390
      <xsd:element name="servlet-link"
391
                   type="javaee:servlet-linkType"/>
392
    </xsd:choice>
393
    <xsd:attribute name="id"
394
                   type="xsd:ID"/>
395
  </xsd:complexType>
396
397
398
<!-- **************************************************** -->
399
400
  <xsd:complexType name="servlet-linkType">
401
    <xsd:annotation>
402
      <xsd:documentation>
403
        <![CDATA[[
404
        The servlet-link element is used in the service-impl-bean element
405
        to specify that a Service Implementation Bean is defined as a
406
        JAX-RPC Service Endpoint.
407
        
408
        The value of the servlet-link element must be the servlet-name of
409
        a JAX-RPC Service Endpoint in the same WAR file.
410
        
411
        Used in: service-impl-bean
412
        
413
        Example:
414
        	  <servlet-link>StockQuoteService</servlet-link>
415
        
416
        ]]>
417
      </xsd:documentation>
418
    </xsd:annotation>
419
    <xsd:simpleContent>
420
      <xsd:restriction base="javaee:string"/>
421
    </xsd:simpleContent>
422
  </xsd:complexType>
423
424
425
<!-- **************************************************** -->
426
427
  <xsd:complexType name="webservice-descriptionType">
428
    <xsd:annotation>
429
      <xsd:documentation>
430
431
        The webservice-description element defines a WSDL document file
432
        and the set of Port components associated with the WSDL ports
433
        defined in the WSDL document.  There may be multiple
434
        webservice-descriptions defined within a module.
435
        
436
        All WSDL file ports must have a corresponding port-component element
437
        defined.
438
        
439
        Used in: webservices
440
        
441
      </xsd:documentation>
442
    </xsd:annotation>
443
    <xsd:sequence>
444
      <xsd:element name="description"
445
                   type="javaee:descriptionType"
446
                   minOccurs="0"
447
                   maxOccurs="1"/>
448
      <xsd:element name="display-name"
449
                   type="javaee:display-nameType"
450
                   minOccurs="0"
451
                   maxOccurs="1"/>
452
      <xsd:element name="icon"
453
                   type="javaee:iconType"
454
                   minOccurs="0"
455
                   maxOccurs="1"/>
456
      <xsd:element name="webservice-description-name"
457
                   type="javaee:string">
458
        <xsd:annotation>
459
          <xsd:documentation>
460
461
            The webservice-description-name identifies the collection of
462
            port-components associated with a WSDL file and JAX-RPC
463
            mapping. The name must be unique within the deployment descriptor.
464
            
465
          </xsd:documentation>
466
        </xsd:annotation>
467
      </xsd:element>
468
      <xsd:element name="wsdl-file"
469
                   type="javaee:pathType"
470
                   minOccurs="0"
471
                   maxOccurs="1">
472
        <xsd:annotation>
473
          <xsd:documentation>
474
475
            The wsdl-file element contains the name of a WSDL file in the
476
            module.  The file name is a relative path within the module.
477
            
478
          </xsd:documentation>
479
        </xsd:annotation>
480
      </xsd:element>
481
      <xsd:element name="jaxrpc-mapping-file"
482
                   type="javaee:pathType"
483
                   minOccurs="0"
484
                   maxOccurs="1">
485
        <xsd:annotation>
486
          <xsd:documentation>
487
488
            The jaxrpc-mapping-file element contains the name of a file that
489
            describes the JAX-RPC mapping between the Java interaces used by
490
            the application and the WSDL description in the wsdl-file.  The
491
            file name is a relative path within the module.
492
            
493
            This is not required when JAX-WS based runtime is used.
494
            
495
          </xsd:documentation>
496
        </xsd:annotation>
497
      </xsd:element>
498
      <xsd:element name="port-component"
499
                   type="javaee:port-componentType"
500
                   minOccurs="1"
501
                   maxOccurs="unbounded">
502
        <xsd:key name="port-component_handler-name-key">
503
          <xsd:annotation>
504
            <xsd:documentation>
505
506
              Defines the name of the handler. The name must be unique
507
              within the module.
508
              
509
            </xsd:documentation>
510
          </xsd:annotation>
511
          <xsd:selector xpath="javaee:handler"/>
512
          <xsd:field xpath="javaee:handler-name"/>
513
        </xsd:key>
514
      </xsd:element>
515
    </xsd:sequence>
516
    <xsd:attribute name="id"
517
                   type="xsd:ID"/>
518
  </xsd:complexType>
519
520
521
<!-- **************************************************** -->
522
523
  <xsd:complexType name="webservicesType">
524
    <xsd:sequence>
525
      <xsd:group ref="javaee:descriptionGroup"/>
526
      <xsd:element name="webservice-description"
527
                   type="javaee:webservice-descriptionType"
528
                   minOccurs="1"
529
                   maxOccurs="unbounded">
530
        <xsd:key name="port-component-name-key">
531
          <xsd:annotation>
532
            <xsd:documentation>
533
              <![CDATA[[
534
              	The port-component-name element specifies a port
535
              	component's name.  This name is assigned by the module
536
              	producer to name the service implementation bean in the
537
              	module's deployment descriptor. The name must be unique
538
              	among the port component names defined in the same module.
539
              
540
              	Used in: port-component
541
              
542
              	Example:
543
              		<port-component-name>EmployeeService
544
              		</port-component-name>
545
              
546
              	
547
              
548
              ]]>
549
            </xsd:documentation>
550
          </xsd:annotation>
551
          <xsd:selector xpath="javaee:port-component"/>
552
          <xsd:field xpath="javaee:port-component-name"/>
553
        </xsd:key>
554
      </xsd:element>
555
    </xsd:sequence>
556
    <xsd:attribute name="version"
557
                   type="javaee:dewey-versionType"
558
                   fixed="1.4"
559
                   use="required">
560
      <xsd:annotation>
561
        <xsd:documentation>
562
563
          The required value for the version is 1.4.
564
          
565
        </xsd:documentation>
566
      </xsd:annotation>
567
    </xsd:attribute>
568
    <xsd:attribute name="id"
569
                   type="xsd:ID"/>
570
  </xsd:complexType>
571
572
</xsd:schema>
(-)a/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/javaee_web_services_client_1_4.xsd (+737 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
3
            targetNamespace="http://xmlns.jcp.org/xml/ns/javaee"
4
            xmlns:javaee="http://xmlns.jcp.org/xml/ns/javaee"
5
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6
            elementFormDefault="qualified"
7
            attributeFormDefault="unqualified"
8
            version="1.4">
9
  <xsd:annotation>
10
    <xsd:documentation>
11
12
      DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
13
      
14
      Copyright (c) 2009-2013 Oracle and/or its affiliates. All rights reserved.
15
      
16
      The contents of this file are subject to the terms of either the GNU
17
      General Public License Version 2 only ("GPL") or the Common Development
18
      and Distribution License("CDDL") (collectively, the "License").  You
19
      may not use this file except in compliance with the License.  You can
20
      obtain a copy of the License at
21
      https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
22
      or packager/legal/LICENSE.txt.  See the License for the specific
23
      language governing permissions and limitations under the License.
24
      
25
      When distributing the software, include this License Header Notice in each
26
      file and include the License file at packager/legal/LICENSE.txt.
27
      
28
      GPL Classpath Exception:
29
      Oracle designates this particular file as subject to the "Classpath"
30
      exception as provided by Oracle in the GPL Version 2 section of the License
31
      file that accompanied this code.
32
      
33
      Modifications:
34
      If applicable, add the following below the License Header, with the fields
35
      enclosed by brackets [] replaced by your own identifying information:
36
      "Portions Copyright [year] [name of copyright owner]"
37
      
38
      Contributor(s):
39
      If you wish your version of this file to be governed by only the CDDL or
40
      only the GPL Version 2, indicate your decision by adding "[Contributor]
41
      elects to include this software in this distribution under the [CDDL or GPL
42
      Version 2] license."  If you don't indicate a single choice of license, a
43
      recipient has the option to distribute your version of this file under
44
      either the CDDL, the GPL Version 2 or to extend the choice of license to
45
      its licensees as provided above.  However, if you add GPL Version 2 code
46
      and therefore, elected the GPL Version 2 license, then the option applies
47
      only if the new code is made subject to such option by the copyright
48
      holder.
49
      
50
    </xsd:documentation>
51
  </xsd:annotation>
52
53
  <xsd:annotation>
54
    <xsd:documentation>
55
56
      (C) Copyright International Business Machines Corporation 2002
57
      
58
    </xsd:documentation>
59
  </xsd:annotation>
60
61
62
<!-- **************************************************** -->
63
64
  <xsd:complexType name="service-refType">
65
    <xsd:annotation>
66
      <xsd:documentation>
67
68
        The service-ref element declares a reference to a Web
69
        service. It contains optional description, display name and
70
        icons, a declaration of the required Service interface,
71
        an optional WSDL document location, an optional set
72
        of JAX-RPC mappings, an optional QName for the service element,
73
        an optional set of Service Endpoint Interfaces to be resolved 
74
        by the container to a WSDL port, and an optional set of handlers.
75
        
76
      </xsd:documentation>
77
    </xsd:annotation>
78
    <xsd:sequence>
79
      <xsd:group ref="javaee:descriptionGroup"/>
80
      <xsd:element name="service-ref-name"
81
                   type="javaee:jndi-nameType">
82
        <xsd:annotation>
83
          <xsd:documentation>
84
85
            The service-ref-name element declares logical name that the
86
            components in the module use to look up the Web service. It 
87
            is recommended that all service reference names start with 
88
            "service/".
89
            
90
          </xsd:documentation>
91
        </xsd:annotation>
92
      </xsd:element>
93
      <xsd:element name="service-interface"
94
                   type="javaee:fully-qualified-classType">
95
        <xsd:annotation>
96
          <xsd:documentation>
97
98
            The service-interface element declares the fully qualified class
99
            name of the JAX-RPC Service interface the client depends on. 
100
            In most cases the value will be javax.xml.rpc.Service.  A JAX-RPC
101
            generated Service Interface class may also be specified.
102
            
103
          </xsd:documentation>
104
        </xsd:annotation>
105
      </xsd:element>
106
      <xsd:element name="service-ref-type"
107
                   type="javaee:fully-qualified-classType"
108
                   minOccurs="0"
109
                   maxOccurs="1">
110
        <xsd:annotation>
111
          <xsd:documentation>
112
113
            The service-ref-type element declares the type of the service-ref 
114
            element that is injected or returned when a JNDI lookup is done.
115
            This must be either a fully qualified name of Service class or 
116
            the fully qualified name of service endpoint interface class. 
117
            This is only used with JAX-WS runtime where the corresponding 
118
            @WebServiceRef annotation can be used to denote both a Service
119
            or a Port.
120
            
121
            If this is not specified, then the type of service-ref element 
122
            that is injected or returned when a JNDI lookup is done is 
123
            always a Service interface/class.
124
            
125
          </xsd:documentation>
126
        </xsd:annotation>
127
      </xsd:element>
128
      <xsd:element name="wsdl-file"
129
                   type="javaee:xsdAnyURIType"
130
                   minOccurs="0"
131
                   maxOccurs="1">
132
        <xsd:annotation>
133
          <xsd:documentation>
134
135
            The wsdl-file element contains the URI location of a WSDL
136
            file. The location is relative to the root of the module.
137
            
138
          </xsd:documentation>
139
        </xsd:annotation>
140
      </xsd:element>
141
      <xsd:element name="jaxrpc-mapping-file"
142
                   type="javaee:pathType"
143
                   minOccurs="0"
144
                   maxOccurs="1">
145
        <xsd:annotation>
146
          <xsd:documentation>
147
148
            The jaxrpc-mapping-file element contains the name of a file that
149
            describes the JAX-RPC mapping between the Java interaces used by
150
            the application and the WSDL description in the wsdl-file.  The 
151
            file name is a relative path within the module file.
152
            
153
            This is not required when JAX-WS based runtime is used.
154
            
155
          </xsd:documentation>
156
        </xsd:annotation>
157
      </xsd:element>
158
      <xsd:element name="service-qname"
159
                   type="javaee:xsdQNameType"
160
                   minOccurs="0"
161
                   maxOccurs="1">
162
        <xsd:annotation>
163
          <xsd:documentation>
164
165
            The service-qname element declares the specific WSDL service
166
            element that is being refered to.  It is not specified if no
167
            wsdl-file is declared.
168
            
169
          </xsd:documentation>
170
        </xsd:annotation>
171
      </xsd:element>
172
      <xsd:element name="port-component-ref"
173
                   type="javaee:port-component-refType"
174
                   minOccurs="0"
175
                   maxOccurs="unbounded">
176
        <xsd:annotation>
177
          <xsd:documentation>
178
179
            The port-component-ref element declares a client dependency
180
            on the container for resolving a Service Endpoint Interface
181
            to a WSDL port. It optionally associates the Service Endpoint
182
            Interface with a particular port-component. This is only used
183
            by the container for a Service.getPort(Class) method call.
184
            
185
          </xsd:documentation>
186
        </xsd:annotation>
187
      </xsd:element>
188
      <xsd:choice>
189
        <xsd:element name="handler"
190
                     type="javaee:handlerType"
191
                     minOccurs="0"
192
                     maxOccurs="unbounded">
193
          <xsd:annotation>
194
            <xsd:documentation>
195
196
              	Declares the handler for a port-component. Handlers can
197
              	access the init-param name/value pairs using the
198
              	HandlerInfo interface. If port-name is not specified, the
199
              	handler is assumed to be associated with all ports of the
200
              	service.
201
              
202
              	To be used with JAX-RPC based runtime only.
203
              
204
            </xsd:documentation>
205
          </xsd:annotation>
206
        </xsd:element>
207
        <xsd:element name="handler-chains"
208
                     type="javaee:handler-chainsType"
209
                     minOccurs="0"
210
                     maxOccurs="1">
211
          <xsd:annotation>
212
            <xsd:documentation>
213
214
              	 To be used with JAX-WS based runtime only.
215
              
216
            </xsd:documentation>
217
          </xsd:annotation>
218
        </xsd:element>
219
      </xsd:choice>
220
      <xsd:group ref="javaee:resourceGroup"/>
221
    </xsd:sequence>
222
    <xsd:attribute name="id"
223
                   type="xsd:ID"/>
224
  </xsd:complexType>
225
226
227
<!-- **************************************************** -->
228
229
  <xsd:complexType name="port-component-refType">
230
    <xsd:annotation>
231
      <xsd:documentation>
232
233
        The port-component-ref element declares a client dependency
234
        on the container for resolving a Service Endpoint Interface
235
        to a WSDL port. It optionally associates the Service Endpoint
236
        Interface with a particular port-component. This is only used
237
        by the container for a Service.getPort(Class) method call.
238
        
239
      </xsd:documentation>
240
    </xsd:annotation>
241
    <xsd:sequence>
242
      <xsd:element name="service-endpoint-interface"
243
                   type="javaee:fully-qualified-classType">
244
        <xsd:annotation>
245
          <xsd:documentation>
246
247
            The service-endpoint-interface element defines a fully qualified
248
            Java class that represents the Service Endpoint Interface of a
249
            WSDL port.
250
            
251
          </xsd:documentation>
252
        </xsd:annotation>
253
      </xsd:element>
254
      <xsd:element name="enable-mtom"
255
                   type="javaee:true-falseType"
256
                   minOccurs="0"
257
                   maxOccurs="1">
258
        <xsd:annotation>
259
          <xsd:documentation>
260
261
            Used to enable or disable SOAP MTOM/XOP mechanism on the client
262
            side for a port-component. 
263
            
264
            Not to be specified for JAX-RPC runtime
265
            
266
          </xsd:documentation>
267
        </xsd:annotation>
268
      </xsd:element>
269
      <xsd:element name="mtom-threshold"
270
                   type="javaee:xsdNonNegativeIntegerType"
271
                   minOccurs="0"
272
                   maxOccurs="1">
273
        <xsd:annotation>
274
          <xsd:documentation>
275
276
            When MTOM is enabled, binary data above this size in bytes
277
            should be XOP encoded or sent as attachment. Default value is 0.
278
            
279
            Not to be specified for JAX-RPC runtime
280
            
281
          </xsd:documentation>
282
        </xsd:annotation>
283
      </xsd:element>
284
      <xsd:element name="addressing"
285
                   type="javaee:addressingType"
286
                   minOccurs="0"
287
                   maxOccurs="1">
288
        <xsd:annotation>
289
          <xsd:documentation>
290
291
            This specifies the WS-Addressing requirements for a JAX-WS
292
            web service. It corresponds to javax.xml.ws.soap.Addressing
293
            annotation or its feature javax.xml.ws.soap.AddressingFeature.
294
            
295
            See the addressingType for more information.
296
            
297
            Not to be specified for JAX-RPC runtime
298
            
299
          </xsd:documentation>
300
        </xsd:annotation>
301
      </xsd:element>
302
      <xsd:element name="respect-binding"
303
                   type="javaee:respect-bindingType"
304
                   minOccurs="0"
305
                   maxOccurs="1">
306
        <xsd:annotation>
307
          <xsd:documentation>
308
309
            Corresponds to the javax.xml.ws.RespectBinding annotation
310
            or its corresponding javax.xml.ws.RespectBindingFeature web
311
            service feature. This is used to control whether a JAX-WS
312
            implementation must respect/honor the contents of the
313
            wsdl:binding in the WSDL that is associated with the service.
314
            
315
            Not to be specified for JAX-RPC runtime
316
            
317
          </xsd:documentation>
318
        </xsd:annotation>
319
      </xsd:element>
320
      <xsd:element name="port-component-link"
321
                   type="javaee:string"
322
                   minOccurs="0"
323
                   maxOccurs="1">
324
        <xsd:annotation>
325
          <xsd:documentation>
326
327
            The port-component-link element links a port-component-ref
328
            to a specific port-component required to be made available
329
            by a service reference.
330
            
331
            The value of a port-component-link must be the
332
            port-component-name of a port-component in the same module
333
            or another module in the same application unit. The syntax
334
            for specification follows the syntax defined for ejb-link
335
            in the EJB 2.0 specification.
336
            
337
          </xsd:documentation>
338
        </xsd:annotation>
339
      </xsd:element>
340
    </xsd:sequence>
341
    <xsd:attribute name="id"
342
                   type="xsd:ID"/>
343
  </xsd:complexType>
344
345
346
<!-- **************************************************** -->
347
348
  <xsd:complexType name="handler-chainsType">
349
    <xsd:annotation>
350
      <xsd:documentation>
351
352
        The handler-chains element defines the handlerchains associated with this
353
        service or service endpoint.
354
        
355
      </xsd:documentation>
356
    </xsd:annotation>
357
    <xsd:sequence>
358
      <xsd:element name="handler-chain"
359
                   type="javaee:handler-chainType"
360
                   minOccurs="0"
361
                   maxOccurs="unbounded"/>
362
    </xsd:sequence>
363
    <xsd:attribute name="id"
364
                   type="xsd:ID"/>
365
  </xsd:complexType>
366
367
368
<!-- **************************************************** -->
369
370
  <xsd:complexType name="handler-chainType">
371
    <xsd:annotation>
372
      <xsd:documentation>
373
374
        The handler-chain element defines the handlerchain. 
375
        Handlerchain can be defined such that the handlers in the
376
        handlerchain operate,all ports of a service, on a specific
377
        port or on a list of protocol-bindings. The choice of elements
378
        service-name-pattern, port-name-pattern and protocol-bindings
379
        are used to specify whether the handlers in handler-chain are
380
        for a service, port or protocol binding. If none of these 
381
        choices are specified with the handler-chain element then the
382
        handlers specified in the handler-chain will be applied on 
383
        everything.
384
        
385
      </xsd:documentation>
386
    </xsd:annotation>
387
    <xsd:sequence>
388
      <xsd:choice minOccurs="0"
389
                  maxOccurs="1">
390
        <xsd:element name="service-name-pattern"
391
                     type="javaee:qname-pattern"/>
392
        <xsd:element name="port-name-pattern"
393
                     type="javaee:qname-pattern"/>
394
        <xsd:element name="protocol-bindings"
395
                     type="javaee:protocol-bindingListType"/>
396
      </xsd:choice>
397
      <xsd:element name="handler"
398
                   type="javaee:handlerType"
399
                   minOccurs="1"
400
                   maxOccurs="unbounded"/>
401
    </xsd:sequence>
402
    <xsd:attribute name="id"
403
                   type="xsd:ID"/>
404
  </xsd:complexType>
405
406
  <xsd:simpleType name="protocol-bindingListType">
407
    <xsd:annotation>
408
      <xsd:documentation>
409
410
        Defines the type used for specifying a list of
411
        protocol-bindingType(s). For e.g.
412
        
413
        ##SOAP11_HTTP ##SOAP12_HTTP ##XML_HTTP
414
        
415
      </xsd:documentation>
416
    </xsd:annotation>
417
    <xsd:list itemType="javaee:protocol-bindingType"/>
418
  </xsd:simpleType>
419
420
  <xsd:simpleType name="protocol-bindingType">
421
    <xsd:annotation>
422
      <xsd:documentation>
423
424
        Defines the type used for specifying the URI for the
425
        protocol binding used by the port-component.  For
426
        portability one could use one of the following tokens that
427
        alias the standard binding types: 
428
        
429
        ##SOAP11_HTTP
430
        ##SOAP11_HTTP_MTOM
431
        ##SOAP12_HTTP
432
        ##SOAP12_HTTP_MTOM
433
        ##XML_HTTP
434
        
435
        Other specifications could define tokens that start with ##
436
        to alias new standard binding URIs that are introduced.
437
        
438
      </xsd:documentation>
439
    </xsd:annotation>
440
    <xsd:union memberTypes="xsd:anyURI javaee:protocol-URIAliasType"/>
441
  </xsd:simpleType>
442
443
  <xsd:simpleType name="protocol-URIAliasType">
444
    <xsd:annotation>
445
      <xsd:documentation>
446
447
        Defines the type that is used for specifying tokens that
448
        start with ## which are used to alias existing standard
449
        protocol bindings and support aliases for new standard
450
        binding URIs that are introduced in future specifications.
451
        
452
        The following tokens alias the standard protocol binding
453
        URIs:
454
        
455
        ##SOAP11_HTTP = "http://schemas.xmlsoap.org/wsdl/soap/http"
456
        ##SOAP11_HTTP_MTOM = 
457
        "http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true"
458
        ##SOAP12_HTTP = "http://www.w3.org/2003/05/soap/bindings/HTTP/"
459
        ##SOAP12_HTTP_MTOM = 
460
        "http://www.w3.org/2003/05/soap/bindings/HTTP/?mtom=true"
461
        ##XML_HTTP = "http://www.w3.org/2004/08/wsdl/http"
462
        
463
      </xsd:documentation>
464
    </xsd:annotation>
465
    <xsd:restriction base="xsd:token">
466
      <xsd:pattern value="##.+"/>
467
    </xsd:restriction>
468
  </xsd:simpleType>
469
470
  <xsd:simpleType name="qname-pattern">
471
    <xsd:annotation>
472
      <xsd:documentation>
473
474
        This is used to specify the QName pattern in the
475
        attribute service-name-pattern and port-name-pattern in
476
        the handler-chain element
477
        
478
        For example, the various forms acceptable here for
479
        service-name-pattern attribute in handler-chain element
480
        are :
481
        
482
        Exact Name: service-name-pattern="ns1:EchoService"
483
        
484
        	 In this case, handlers specified in this
485
        	 handler-chain element will apply to all ports with
486
        	 this exact service name. The namespace prefix must
487
        	 have been declared in a namespace declaration
488
        	 attribute in either the start-tag of the element
489
        	 where the prefix is used or in an an ancestor 
490
        	 element (i.e. an element in whose content the 
491
        	 prefixed markup occurs)
492
        	 
493
        
494
        Pattern : service-name-pattern="ns1:EchoService*"
495
        
496
        	 In this case, handlers specified in this
497
        	 handler-chain element will apply to all ports whose
498
        	 Service names are like EchoService1, EchoServiceFoo
499
        	 etc. The namespace prefix must have been declared in
500
        	 a namespace declaration attribute in either the
501
        	 start-tag of the element where the prefix is used or
502
        	 in an an ancestor element (i.e. an element in whose 
503
        	 content the prefixed markup occurs)
504
        
505
        Wild Card : service-name-pattern="*"
506
        
507
        	In this case, handlers specified in this handler-chain
508
        	element will apply to ports of all service names.
509
        
510
        The same can be applied to port-name attribute in
511
        handler-chain element.
512
        
513
      </xsd:documentation>
514
    </xsd:annotation>
515
    <xsd:restriction base="xsd:token">
516
      <xsd:pattern value="\*|([\i-[:]][\c-[:]]*:)?[\i-[:]][\c-[:]]*\*?"/>
517
    </xsd:restriction>
518
  </xsd:simpleType>
519
520
521
<!-- **************************************************** -->
522
523
  <xsd:complexType name="addressingType">
524
    <xsd:annotation>
525
      <xsd:documentation>
526
527
        This specifies the WS-Addressing requirements for a JAX-WS web service.
528
        It corresponds to javax.xml.ws.soap.Addressing annotation or its
529
        feature javax.xml.ws.soap.AddressingFeature.
530
        
531
        If the "enabled" element is "true", WS-Addressing is enabled.
532
        It means that the endpoint supports WS-Addressing but does not require
533
        its use. The default value for "enabled" is "true".
534
        
535
        If the WS-Addressing is enabled and the "required" element is "true",
536
        it means that the endpoint requires WS-Addressing. The default value
537
        for "required" is "false".
538
        
539
        If WS-Addressing is enabled, the "responses" element determines
540
        if an endpoint requires the use of only anonymous responses,
541
        or only non-anonymous responses, or all. The value of the "responses"
542
        element must be one of the following:
543
        
544
        ANONYMOUS
545
        NON_ANONYMOUS
546
        ALL
547
        
548
        The default value for the "responses" is ALL.
549
        
550
      </xsd:documentation>
551
    </xsd:annotation>
552
    <xsd:sequence>
553
      <xsd:element name="enabled"
554
                   type="javaee:true-falseType"
555
                   minOccurs="0"
556
                   maxOccurs="1"/>
557
      <xsd:element name="required"
558
                   type="javaee:true-falseType"
559
                   minOccurs="0"
560
                   maxOccurs="1"/>
561
      <xsd:element name="responses"
562
                   type="javaee:addressing-responsesType"
563
                   minOccurs="0"
564
                   maxOccurs="1"/>
565
    </xsd:sequence>
566
  </xsd:complexType>
567
568
569
<!-- **************************************************** -->
570
571
  <xsd:complexType name="addressing-responsesType">
572
    <xsd:annotation>
573
      <xsd:documentation>
574
575
        If WS-Addressing is enabled, this type determines if an endpoint
576
        requires the use of only anonymous responses, or only non-anonymous
577
        responses, or all.
578
        
579
      </xsd:documentation>
580
    </xsd:annotation>
581
    <xsd:simpleContent>
582
      <xsd:restriction base="javaee:string">
583
        <xsd:enumeration value="ANONYMOUS"/>
584
        <xsd:enumeration value="NON_ANONYMOUS"/>
585
        <xsd:enumeration value="ALL"/>
586
      </xsd:restriction>
587
    </xsd:simpleContent>
588
  </xsd:complexType>
589
590
591
<!-- **************************************************** -->
592
593
  <xsd:complexType name="respect-bindingType">
594
    <xsd:annotation>
595
      <xsd:documentation>
596
597
        Corresponds to the javax.xml.ws.RespectBinding annotation
598
        or its corresponding javax.xml.ws.RespectBindingFeature web
599
        service feature. This is used to control whether a JAX-WS
600
        implementation must respect/honor the contents of the
601
        wsdl:binding in the WSDL that is associated with the service.
602
        
603
        If the "enabled" element is "true", wsdl:binding in the
604
        associated WSDL, if any, must be respected/honored.
605
        
606
      </xsd:documentation>
607
    </xsd:annotation>
608
    <xsd:sequence>
609
      <xsd:element name="enabled"
610
                   type="javaee:true-falseType"
611
                   minOccurs="0"
612
                   maxOccurs="1"/>
613
    </xsd:sequence>
614
  </xsd:complexType>
615
616
617
<!-- **************************************************** -->
618
619
  <xsd:complexType name="handlerType">
620
    <xsd:annotation>
621
      <xsd:documentation>
622
623
        Declares the handler for a port-component, service-ref. Handlers can
624
        access the init-param name/value pairs using the HandlerInfo interface.
625
        
626
        Used in: port-component, service-ref
627
        
628
      </xsd:documentation>
629
    </xsd:annotation>
630
    <xsd:sequence>
631
      <xsd:group ref="javaee:descriptionGroup"/>
632
      <xsd:element name="handler-name"
633
                   type="javaee:string">
634
        <xsd:annotation>
635
          <xsd:documentation>
636
637
            Defines the name of the handler. The name must be unique within the
638
            module.
639
            
640
          </xsd:documentation>
641
        </xsd:annotation>
642
      </xsd:element>
643
      <xsd:element name="handler-class"
644
                   type="javaee:fully-qualified-classType">
645
        <xsd:annotation>
646
          <xsd:documentation>
647
648
            Defines a fully qualified class name for the handler implementation.
649
            
650
          </xsd:documentation>
651
        </xsd:annotation>
652
      </xsd:element>
653
      <xsd:element name="init-param"
654
                   type="javaee:param-valueType"
655
                   minOccurs="0"
656
                   maxOccurs="unbounded">
657
        <xsd:annotation>
658
          <xsd:documentation>
659
660
            Not to be specified for JAX-WS runtime
661
            
662
          </xsd:documentation>
663
        </xsd:annotation>
664
      </xsd:element>
665
      <xsd:element name="soap-header"
666
                   type="javaee:xsdQNameType"
667
                   minOccurs="0"
668
                   maxOccurs="unbounded">
669
        <xsd:annotation>
670
          <xsd:documentation>
671
672
            Defines the QName of a SOAP header that will be processed by the
673
            handler.
674
            
675
            Not to be specified for JAX-WS runtime
676
            
677
          </xsd:documentation>
678
        </xsd:annotation>
679
      </xsd:element>
680
      <xsd:element name="soap-role"
681
                   type="javaee:string"
682
                   minOccurs="0"
683
                   maxOccurs="unbounded">
684
        <xsd:annotation>
685
          <xsd:documentation>
686
687
            The soap-role element contains a SOAP actor definition that the
688
            Handler will play as a role.
689
            
690
          </xsd:documentation>
691
        </xsd:annotation>
692
      </xsd:element>
693
      <xsd:element name="port-name"
694
                   type="javaee:string"
695
                   minOccurs="0"
696
                   maxOccurs="unbounded">
697
        <xsd:annotation>
698
          <xsd:documentation>
699
700
            The port-name element defines the WSDL port-name that a
701
            handler should be associated with. If port-name is not
702
            specified, the handler is assumed to be associated with
703
            all ports of the service.
704
            
705
            Not to be specified for JAX-WS runtime
706
            
707
          </xsd:documentation>
708
        </xsd:annotation>
709
      </xsd:element>
710
    </xsd:sequence>
711
    <xsd:attribute name="id"
712
                   type="xsd:ID"/>
713
  </xsd:complexType>
714
715
  <xsd:group name="service-refGroup">
716
    <xsd:sequence>
717
      <xsd:element name="service-ref"
718
                   type="javaee:service-refType"
719
                   minOccurs="0"
720
                   maxOccurs="unbounded">
721
        <xsd:key name="service-ref_handler-name-key">
722
          <xsd:annotation>
723
            <xsd:documentation>
724
725
              Defines the name of the handler. The name must be unique
726
              within the module.
727
              
728
            </xsd:documentation>
729
          </xsd:annotation>
730
          <xsd:selector xpath="javaee:handler"/>
731
          <xsd:field xpath="javaee:handler-name"/>
732
        </xsd:key>
733
      </xsd:element>
734
    </xsd:sequence>
735
  </xsd:group>
736
737
</xsd:schema>
(-)a/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/jsp_2_3.xsd (+389 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
3
            targetNamespace="http://xmlns.jcp.org/xml/ns/javaee"
4
            xmlns:javaee="http://xmlns.jcp.org/xml/ns/javaee"
5
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6
            elementFormDefault="qualified"
7
            attributeFormDefault="unqualified"
8
            version="2.3">
9
  <xsd:annotation>
10
    <xsd:documentation>
11
12
      DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
13
      
14
      Copyright (c) 2009-2013 Oracle and/or its affiliates. All rights reserved.
15
      
16
      The contents of this file are subject to the terms of either the GNU
17
      General Public License Version 2 only ("GPL") or the Common Development
18
      and Distribution License("CDDL") (collectively, the "License").  You
19
      may not use this file except in compliance with the License.  You can
20
      obtain a copy of the License at
21
      https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
22
      or packager/legal/LICENSE.txt.  See the License for the specific
23
      language governing permissions and limitations under the License.
24
      
25
      When distributing the software, include this License Header Notice in each
26
      file and include the License file at packager/legal/LICENSE.txt.
27
      
28
      GPL Classpath Exception:
29
      Oracle designates this particular file as subject to the "Classpath"
30
      exception as provided by Oracle in the GPL Version 2 section of the License
31
      file that accompanied this code.
32
      
33
      Modifications:
34
      If applicable, add the following below the License Header, with the fields
35
      enclosed by brackets [] replaced by your own identifying information:
36
      "Portions Copyright [year] [name of copyright owner]"
37
      
38
      Contributor(s):
39
      If you wish your version of this file to be governed by only the CDDL or
40
      only the GPL Version 2, indicate your decision by adding "[Contributor]
41
      elects to include this software in this distribution under the [CDDL or GPL
42
      Version 2] license."  If you don't indicate a single choice of license, a
43
      recipient has the option to distribute your version of this file under
44
      either the CDDL, the GPL Version 2 or to extend the choice of license to
45
      its licensees as provided above.  However, if you add GPL Version 2 code
46
      and therefore, elected the GPL Version 2 license, then the option applies
47
      only if the new code is made subject to such option by the copyright
48
      holder.
49
      
50
    </xsd:documentation>
51
  </xsd:annotation>
52
53
  <xsd:annotation>
54
    <xsd:documentation>
55
56
      This is the XML Schema for the JSP 2.3 deployment descriptor
57
      types.  The JSP 2.3 schema contains all the special
58
      structures and datatypes that are necessary to use JSP files
59
      from a web application. 
60
      
61
      The contents of this schema is used by the web-common_3_1.xsd 
62
      file to define JSP specific content. 
63
      
64
    </xsd:documentation>
65
  </xsd:annotation>
66
67
  <xsd:annotation>
68
    <xsd:documentation>
69
70
      The following conventions apply to all Java EE
71
      deployment descriptor elements unless indicated otherwise.
72
      
73
      - In elements that specify a pathname to a file within the
74
      same JAR file, relative filenames (i.e., those not
75
      starting with "/") are considered relative to the root of
76
      the JAR file's namespace.  Absolute filenames (i.e., those
77
      starting with "/") also specify names in the root of the
78
      JAR file's namespace.  In general, relative names are
79
      preferred.  The exception is .war files where absolute
80
      names are preferred for consistency with the Servlet API.
81
      
82
    </xsd:documentation>
83
  </xsd:annotation>
84
85
  <xsd:include schemaLocation="javaee_7.xsd"/>
86
87
88
<!-- **************************************************** -->
89
90
  <xsd:complexType name="jsp-configType">
91
    <xsd:annotation>
92
      <xsd:documentation>
93
94
        The jsp-configType is used to provide global configuration
95
        information for the JSP files in a web application. It has
96
        two subelements, taglib and jsp-property-group.
97
        
98
      </xsd:documentation>
99
    </xsd:annotation>
100
    <xsd:sequence>
101
      <xsd:element name="taglib"
102
                   type="javaee:taglibType"
103
                   minOccurs="0"
104
                   maxOccurs="unbounded"/>
105
      <xsd:element name="jsp-property-group"
106
                   type="javaee:jsp-property-groupType"
107
                   minOccurs="0"
108
                   maxOccurs="unbounded"/>
109
    </xsd:sequence>
110
    <xsd:attribute name="id"
111
                   type="xsd:ID"/>
112
  </xsd:complexType>
113
114
115
<!-- **************************************************** -->
116
117
  <xsd:complexType name="jsp-fileType">
118
    <xsd:annotation>
119
      <xsd:documentation>
120
121
        The jsp-file element contains the full path to a JSP file
122
        within the web application beginning with a `/'.
123
        
124
      </xsd:documentation>
125
    </xsd:annotation>
126
    <xsd:simpleContent>
127
      <xsd:restriction base="javaee:pathType"/>
128
    </xsd:simpleContent>
129
  </xsd:complexType>
130
131
132
<!-- **************************************************** -->
133
134
  <xsd:complexType name="jsp-property-groupType">
135
    <xsd:annotation>
136
      <xsd:documentation>
137
138
        The jsp-property-groupType is used to group a number of
139
        files so they can be given global property information.
140
        All files so described are deemed to be JSP files.  The
141
        following additional properties can be described:
142
        
143
        - Control whether EL is ignored.
144
        - Control whether scripting elements are invalid.
145
        - Indicate pageEncoding information.
146
        - Indicate that a resource is a JSP document (XML).
147
        - Prelude and Coda automatic includes.
148
        - Control whether the character sequence #{ is allowed
149
        when used as a String literal.
150
        - Control whether template text containing only
151
        whitespaces must be removed from the response output.
152
        - Indicate the default contentType information.
153
        - Indicate the default buffering model for JspWriter
154
        - Control whether error should be raised for the use of
155
        undeclared namespaces in a JSP page.
156
        
157
      </xsd:documentation>
158
    </xsd:annotation>
159
    <xsd:sequence>
160
      <xsd:group ref="javaee:descriptionGroup"/>
161
      <xsd:element name="url-pattern"
162
                   type="javaee:url-patternType"
163
                   maxOccurs="unbounded"/>
164
      <xsd:element name="el-ignored"
165
                   type="javaee:true-falseType"
166
                   minOccurs="0">
167
        <xsd:annotation>
168
          <xsd:documentation>
169
170
            Can be used to easily set the isELIgnored
171
            property of a group of JSP pages.  By default, the
172
            EL evaluation is enabled for Web Applications using
173
            a Servlet 2.4 or greater web.xml, and disabled
174
            otherwise.
175
            
176
          </xsd:documentation>
177
        </xsd:annotation>
178
      </xsd:element>
179
      <xsd:element name="page-encoding"
180
                   type="javaee:string"
181
                   minOccurs="0">
182
        <xsd:annotation>
183
          <xsd:documentation>
184
185
            The valid values of page-encoding are those of the
186
            pageEncoding page directive.  It is a
187
            translation-time error to name different encodings
188
            in the pageEncoding attribute of the page directive
189
            of a JSP page and in a JSP configuration element
190
            matching the page.  It is also a translation-time
191
            error to name different encodings in the prolog
192
            or text declaration of a document in XML syntax and
193
            in a JSP configuration element matching the document.
194
            It is legal to name the same encoding through
195
            mulitple mechanisms.
196
            
197
          </xsd:documentation>
198
        </xsd:annotation>
199
      </xsd:element>
200
      <xsd:element name="scripting-invalid"
201
                   type="javaee:true-falseType"
202
                   minOccurs="0">
203
        <xsd:annotation>
204
          <xsd:documentation>
205
206
            Can be used to easily disable scripting in a
207
            group of JSP pages.  By default, scripting is
208
            enabled.
209
            
210
          </xsd:documentation>
211
        </xsd:annotation>
212
      </xsd:element>
213
      <xsd:element name="is-xml"
214
                   type="javaee:true-falseType"
215
                   minOccurs="0">
216
        <xsd:annotation>
217
          <xsd:documentation>
218
219
            If true, denotes that the group of resources
220
            that match the URL pattern are JSP documents,
221
            and thus must be interpreted as XML documents.
222
            If false, the resources are assumed to not
223
            be JSP documents, unless there is another
224
            property group that indicates otherwise.
225
            
226
          </xsd:documentation>
227
        </xsd:annotation>
228
      </xsd:element>
229
      <xsd:element name="include-prelude"
230
                   type="javaee:pathType"
231
                   minOccurs="0"
232
                   maxOccurs="unbounded">
233
        <xsd:annotation>
234
          <xsd:documentation>
235
236
            The include-prelude element is a context-relative
237
            path that must correspond to an element in the
238
            Web Application.  When the element is present,
239
            the given path will be automatically included (as
240
            in an include directive) at the beginning of each
241
            JSP page in this jsp-property-group.
242
            
243
          </xsd:documentation>
244
        </xsd:annotation>
245
      </xsd:element>
246
      <xsd:element name="include-coda"
247
                   type="javaee:pathType"
248
                   minOccurs="0"
249
                   maxOccurs="unbounded">
250
        <xsd:annotation>
251
          <xsd:documentation>
252
253
            The include-coda element is a context-relative
254
            path that must correspond to an element in the
255
            Web Application.  When the element is present,
256
            the given path will be automatically included (as
257
            in an include directive) at the end of each
258
            JSP page in this jsp-property-group.
259
            
260
          </xsd:documentation>
261
        </xsd:annotation>
262
      </xsd:element>
263
      <xsd:element name="deferred-syntax-allowed-as-literal"
264
                   type="javaee:true-falseType"
265
                   minOccurs="0">
266
        <xsd:annotation>
267
          <xsd:documentation>
268
269
            The character sequence #{ is reserved for EL expressions.
270
            Consequently, a translation error occurs if the #{
271
            character sequence is used as a String literal, unless
272
            this element is enabled (true). Disabled (false) by
273
            default.
274
            
275
          </xsd:documentation>
276
        </xsd:annotation>
277
      </xsd:element>
278
      <xsd:element name="trim-directive-whitespaces"
279
                   type="javaee:true-falseType"
280
                   minOccurs="0">
281
        <xsd:annotation>
282
          <xsd:documentation>
283
284
            Indicates that template text containing only whitespaces
285
            must be removed from the response output. It has no
286
            effect on JSP documents (XML syntax). Disabled (false)
287
            by default.
288
            
289
          </xsd:documentation>
290
        </xsd:annotation>
291
      </xsd:element>
292
      <xsd:element name="default-content-type"
293
                   type="javaee:string"
294
                   minOccurs="0">
295
        <xsd:annotation>
296
          <xsd:documentation>
297
298
            The valid values of default-content-type are those of the
299
            contentType page directive.  It specifies the default
300
            response contentType if the page directive does not include
301
            a contentType attribute.
302
            
303
          </xsd:documentation>
304
        </xsd:annotation>
305
      </xsd:element>
306
      <xsd:element name="buffer"
307
                   type="javaee:string"
308
                   minOccurs="0">
309
        <xsd:annotation>
310
          <xsd:documentation>
311
312
            The valid values of buffer are those of the
313
            buffer page directive.  It specifies if buffering should be
314
            used for the output to response, and if so, the size of the
315
            buffer to use.
316
            
317
          </xsd:documentation>
318
        </xsd:annotation>
319
      </xsd:element>
320
      <xsd:element name="error-on-undeclared-namespace"
321
                   type="javaee:true-falseType"
322
                   minOccurs="0">
323
        <xsd:annotation>
324
          <xsd:documentation>
325
326
            The default behavior when a tag with unknown namespace is used
327
            in a JSP page (regular syntax) is to silently ignore it.  If
328
            set to true, then an error must be raised during the translation
329
            time when an undeclared tag is used in a JSP page.  Disabled
330
            (false) by default.
331
            
332
          </xsd:documentation>
333
        </xsd:annotation>
334
      </xsd:element>
335
    </xsd:sequence>
336
    <xsd:attribute name="id"
337
                   type="xsd:ID"/>
338
  </xsd:complexType>
339
340
341
<!-- **************************************************** -->
342
343
  <xsd:complexType name="taglibType">
344
    <xsd:annotation>
345
      <xsd:documentation>
346
347
        The taglibType defines the syntax for declaring in
348
        the deployment descriptor that a tag library is
349
        available to the application.  This can be done
350
        to override implicit map entries from TLD files and
351
        from the container.
352
        
353
      </xsd:documentation>
354
    </xsd:annotation>
355
    <xsd:sequence>
356
      <xsd:element name="taglib-uri"
357
                   type="javaee:string">
358
        <xsd:annotation>
359
          <xsd:documentation>
360
361
            A taglib-uri element describes a URI identifying a
362
            tag library used in the web application.  The body
363
            of the taglib-uri element may be either an
364
            absolute URI specification, or a relative URI.
365
            There should be no entries in web.xml with the
366
            same taglib-uri value.
367
            
368
          </xsd:documentation>
369
        </xsd:annotation>
370
      </xsd:element>
371
      <xsd:element name="taglib-location"
372
                   type="javaee:pathType">
373
        <xsd:annotation>
374
          <xsd:documentation>
375
376
            the taglib-location element contains the location
377
            (as a resource relative to the root of the web
378
            application) where to find the Tag Library
379
            Description file for the tag library.
380
            
381
          </xsd:documentation>
382
        </xsd:annotation>
383
      </xsd:element>
384
    </xsd:sequence>
385
    <xsd:attribute name="id"
386
                   type="xsd:ID"/>
387
  </xsd:complexType>
388
389
</xsd:schema>
(-)a/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/web-app_3_1.xsd (+272 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
3
            targetNamespace="http://xmlns.jcp.org/xml/ns/javaee"
4
            xmlns:javaee="http://xmlns.jcp.org/xml/ns/javaee"
5
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6
            elementFormDefault="qualified"
7
            attributeFormDefault="unqualified"
8
            version="3.1">
9
  <xsd:annotation>
10
    <xsd:documentation>
11
12
      DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
13
      
14
      Copyright (c) 2009-2013 Oracle and/or its affiliates. All rights reserved.
15
      
16
      The contents of this file are subject to the terms of either the GNU
17
      General Public License Version 2 only ("GPL") or the Common Development
18
      and Distribution License("CDDL") (collectively, the "License").  You
19
      may not use this file except in compliance with the License.  You can
20
      obtain a copy of the License at
21
      https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
22
      or packager/legal/LICENSE.txt.  See the License for the specific
23
      language governing permissions and limitations under the License.
24
      
25
      When distributing the software, include this License Header Notice in each
26
      file and include the License file at packager/legal/LICENSE.txt.
27
      
28
      GPL Classpath Exception:
29
      Oracle designates this particular file as subject to the "Classpath"
30
      exception as provided by Oracle in the GPL Version 2 section of the License
31
      file that accompanied this code.
32
      
33
      Modifications:
34
      If applicable, add the following below the License Header, with the fields
35
      enclosed by brackets [] replaced by your own identifying information:
36
      "Portions Copyright [year] [name of copyright owner]"
37
      
38
      Contributor(s):
39
      If you wish your version of this file to be governed by only the CDDL or
40
      only the GPL Version 2, indicate your decision by adding "[Contributor]
41
      elects to include this software in this distribution under the [CDDL or GPL
42
      Version 2] license."  If you don't indicate a single choice of license, a
43
      recipient has the option to distribute your version of this file under
44
      either the CDDL, the GPL Version 2 or to extend the choice of license to
45
      its licensees as provided above.  However, if you add GPL Version 2 code
46
      and therefore, elected the GPL Version 2 license, then the option applies
47
      only if the new code is made subject to such option by the copyright
48
      holder.
49
      
50
    </xsd:documentation>
51
  </xsd:annotation>
52
53
  <xsd:annotation>
54
    <xsd:documentation>
55
      <![CDATA[[
56
      This is the XML Schema for the Servlet 3.1 deployment descriptor.
57
      The deployment descriptor must be named "WEB-INF/web.xml" in the
58
      web application's war file.  All Servlet deployment descriptors
59
      must indicate the web application schema by using the Java EE
60
      namespace:
61
      
62
      http://xmlns.jcp.org/xml/ns/javaee 
63
      
64
      and by indicating the version of the schema by 
65
      using the version element as shown below: 
66
      
67
      <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
68
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
69
      xsi:schemaLocation="..."
70
      version="3.1"> 
71
      ...
72
      </web-app>
73
      
74
      The instance documents may indicate the published version of
75
      the schema using the xsi:schemaLocation attribute for Java EE
76
      namespace with the following location:
77
      
78
      http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd
79
      
80
      ]]>
81
    </xsd:documentation>
82
  </xsd:annotation>
83
84
  <xsd:annotation>
85
    <xsd:documentation>
86
87
      The following conventions apply to all Java EE
88
      deployment descriptor elements unless indicated otherwise.
89
      
90
      - In elements that specify a pathname to a file within the
91
      same JAR file, relative filenames (i.e., those not
92
      starting with "/") are considered relative to the root of
93
      the JAR file's namespace.  Absolute filenames (i.e., those
94
      starting with "/") also specify names in the root of the
95
      JAR file's namespace.  In general, relative names are
96
      preferred.  The exception is .war files where absolute
97
      names are preferred for consistency with the Servlet API.
98
      
99
    </xsd:documentation>
100
  </xsd:annotation>
101
102
  <xsd:include schemaLocation="web-common_3_1.xsd"/>
103
104
105
<!-- **************************************************** -->
106
107
  <xsd:element name="web-app"
108
               type="javaee:web-appType">
109
    <xsd:annotation>
110
      <xsd:documentation>
111
112
        The web-app element is the root of the deployment
113
        descriptor for a web application.  Note that the sub-elements
114
        of this element can be in the arbitrary order. Because of
115
        that, the multiplicity of the elements of distributable,
116
        session-config, welcome-file-list, jsp-config, login-config,
117
        and locale-encoding-mapping-list was changed from "?" to "*"
118
        in this schema.  However, the deployment descriptor instance
119
        file must not contain multiple elements of session-config,
120
        jsp-config, and login-config. When there are multiple elements of
121
        welcome-file-list or locale-encoding-mapping-list, the container
122
        must concatenate the element contents.  The multiple occurence
123
        of the element distributable is redundant and the container
124
        treats that case exactly in the same way when there is only
125
        one distributable. 
126
        
127
      </xsd:documentation>
128
    </xsd:annotation>
129
    <xsd:unique name="web-common-servlet-name-uniqueness">
130
      <xsd:annotation>
131
        <xsd:documentation>
132
133
          The servlet element contains the name of a servlet.
134
          The name must be unique within the web application.
135
          
136
        </xsd:documentation>
137
      </xsd:annotation>
138
      <xsd:selector xpath="javaee:servlet"/>
139
      <xsd:field xpath="javaee:servlet-name"/>
140
    </xsd:unique>
141
    <xsd:unique name="web-common-filter-name-uniqueness">
142
      <xsd:annotation>
143
        <xsd:documentation>
144
145
          The filter element contains the name of a filter.
146
          The name must be unique within the web application.
147
          
148
        </xsd:documentation>
149
      </xsd:annotation>
150
      <xsd:selector xpath="javaee:filter"/>
151
      <xsd:field xpath="javaee:filter-name"/>
152
    </xsd:unique>
153
    <xsd:unique name="web-common-ejb-local-ref-name-uniqueness">
154
      <xsd:annotation>
155
        <xsd:documentation>
156
157
          The ejb-local-ref-name element contains the name of an EJB
158
          reference. The EJB reference is an entry in the web
159
          application's environment and is relative to the
160
          java:comp/env context.  The name must be unique within
161
          the web application.
162
          
163
          It is recommended that name is prefixed with "ejb/".
164
          
165
        </xsd:documentation>
166
      </xsd:annotation>
167
      <xsd:selector xpath="javaee:ejb-local-ref"/>
168
      <xsd:field xpath="javaee:ejb-ref-name"/>
169
    </xsd:unique>
170
    <xsd:unique name="web-common-ejb-ref-name-uniqueness">
171
      <xsd:annotation>
172
        <xsd:documentation>
173
174
          The ejb-ref-name element contains the name of an EJB
175
          reference. The EJB reference is an entry in the web
176
          application's environment and is relative to the
177
          java:comp/env context.  The name must be unique within
178
          the web application.
179
          
180
          It is recommended that name is prefixed with "ejb/".
181
          
182
        </xsd:documentation>
183
      </xsd:annotation>
184
      <xsd:selector xpath="javaee:ejb-ref"/>
185
      <xsd:field xpath="javaee:ejb-ref-name"/>
186
    </xsd:unique>
187
    <xsd:unique name="web-common-resource-env-ref-uniqueness">
188
      <xsd:annotation>
189
        <xsd:documentation>
190
191
          The resource-env-ref-name element specifies the name of
192
          a resource environment reference; its value is the
193
          environment entry name used in the web application code.
194
          The name is a JNDI name relative to the java:comp/env
195
          context and must be unique within a web application.
196
          
197
        </xsd:documentation>
198
      </xsd:annotation>
199
      <xsd:selector xpath="javaee:resource-env-ref"/>
200
      <xsd:field xpath="javaee:resource-env-ref-name"/>
201
    </xsd:unique>
202
    <xsd:unique name="web-common-message-destination-ref-uniqueness">
203
      <xsd:annotation>
204
        <xsd:documentation>
205
206
          The message-destination-ref-name element specifies the name of
207
          a message destination reference; its value is the
208
          environment entry name used in the web application code.
209
          The name is a JNDI name relative to the java:comp/env
210
          context and must be unique within a web application.
211
          
212
        </xsd:documentation>
213
      </xsd:annotation>
214
      <xsd:selector xpath="javaee:message-destination-ref"/>
215
      <xsd:field xpath="javaee:message-destination-ref-name"/>
216
    </xsd:unique>
217
    <xsd:unique name="web-common-res-ref-name-uniqueness">
218
      <xsd:annotation>
219
        <xsd:documentation>
220
221
          The res-ref-name element specifies the name of a
222
          resource manager connection factory reference.  The name
223
          is a JNDI name relative to the java:comp/env context.
224
          The name must be unique within a web application.
225
          
226
        </xsd:documentation>
227
      </xsd:annotation>
228
      <xsd:selector xpath="javaee:resource-ref"/>
229
      <xsd:field xpath="javaee:res-ref-name"/>
230
    </xsd:unique>
231
    <xsd:unique name="web-common-env-entry-name-uniqueness">
232
      <xsd:annotation>
233
        <xsd:documentation>
234
235
          The env-entry-name element contains the name of a web
236
          application's environment entry.  The name is a JNDI
237
          name relative to the java:comp/env context.  The name
238
          must be unique within a web application.
239
          
240
        </xsd:documentation>
241
      </xsd:annotation>
242
      <xsd:selector xpath="javaee:env-entry"/>
243
      <xsd:field xpath="javaee:env-entry-name"/>
244
    </xsd:unique>
245
    <xsd:key name="web-common-role-name-key">
246
      <xsd:annotation>
247
        <xsd:documentation>
248
249
          A role-name-key is specified to allow the references
250
          from the security-role-refs.
251
          
252
        </xsd:documentation>
253
      </xsd:annotation>
254
      <xsd:selector xpath="javaee:security-role"/>
255
      <xsd:field xpath="javaee:role-name"/>
256
    </xsd:key>
257
    <xsd:keyref name="web-common-role-name-references"
258
                refer="javaee:web-common-role-name-key">
259
      <xsd:annotation>
260
        <xsd:documentation>
261
262
          The keyref indicates the references from
263
          security-role-ref to a specified role-name.
264
          
265
        </xsd:documentation>
266
      </xsd:annotation>
267
      <xsd:selector xpath="javaee:servlet/javaee:security-role-ref"/>
268
      <xsd:field xpath="javaee:role-link"/>
269
    </xsd:keyref>
270
  </xsd:element>
271
272
</xsd:schema>
(-)a/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/web-common_3_1.xsd (+1579 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
3
            targetNamespace="http://xmlns.jcp.org/xml/ns/javaee"
4
            xmlns:javaee="http://xmlns.jcp.org/xml/ns/javaee"
5
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6
            elementFormDefault="qualified"
7
            attributeFormDefault="unqualified"
8
            version="3.1">
9
  <xsd:annotation>
10
    <xsd:documentation>
11
12
      DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
13
      
14
      Copyright (c) 2009-2013 Oracle and/or its affiliates. All rights reserved.
15
      
16
      The contents of this file are subject to the terms of either the GNU
17
      General Public License Version 2 only ("GPL") or the Common Development
18
      and Distribution License("CDDL") (collectively, the "License").  You
19
      may not use this file except in compliance with the License.  You can
20
      obtain a copy of the License at
21
      https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
22
      or packager/legal/LICENSE.txt.  See the License for the specific
23
      language governing permissions and limitations under the License.
24
      
25
      When distributing the software, include this License Header Notice in each
26
      file and include the License file at packager/legal/LICENSE.txt.
27
      
28
      GPL Classpath Exception:
29
      Oracle designates this particular file as subject to the "Classpath"
30
      exception as provided by Oracle in the GPL Version 2 section of the License
31
      file that accompanied this code.
32
      
33
      Modifications:
34
      If applicable, add the following below the License Header, with the fields
35
      enclosed by brackets [] replaced by your own identifying information:
36
      "Portions Copyright [year] [name of copyright owner]"
37
      
38
      Contributor(s):
39
      If you wish your version of this file to be governed by only the CDDL or
40
      only the GPL Version 2, indicate your decision by adding "[Contributor]
41
      elects to include this software in this distribution under the [CDDL or GPL
42
      Version 2] license."  If you don't indicate a single choice of license, a
43
      recipient has the option to distribute your version of this file under
44
      either the CDDL, the GPL Version 2 or to extend the choice of license to
45
      its licensees as provided above.  However, if you add GPL Version 2 code
46
      and therefore, elected the GPL Version 2 license, then the option applies
47
      only if the new code is made subject to such option by the copyright
48
      holder.
49
      
50
    </xsd:documentation>
51
  </xsd:annotation>
52
53
  <xsd:annotation>
54
    <xsd:documentation>
55
      <![CDATA[[
56
      This is the common XML Schema for the Servlet 3.1 deployment descriptor.
57
      This file is in turn used by web.xml and web-fragment.xml
58
      web application's war file.  All Servlet deployment descriptors
59
      must indicate the web common schema by using the Java EE
60
      namespace:
61
      
62
      http://xmlns.jcp.org/xml/ns/javaee 
63
      
64
      and by indicating the version of the schema by 
65
      using the version element as shown below: 
66
      
67
      <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
68
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
69
      xsi:schemaLocation="..."
70
      version="3.1"> 
71
      ...
72
      </web-app>
73
      
74
      The instance documents may indicate the published version of
75
      the schema using the xsi:schemaLocation attribute for Java EE
76
      namespace with the following location:
77
      
78
      http://xmlns.jcp.org/xml/ns/javaee/web-common_3_1.xsd
79
      
80
      ]]>
81
    </xsd:documentation>
82
  </xsd:annotation>
83
84
  <xsd:annotation>
85
    <xsd:documentation>
86
87
      The following conventions apply to all Java EE
88
      deployment descriptor elements unless indicated otherwise.
89
      
90
      - In elements that specify a pathname to a file within the
91
      same JAR file, relative filenames (i.e., those not
92
      starting with "/") are considered relative to the root of
93
      the JAR file's namespace.  Absolute filenames (i.e., those
94
      starting with "/") also specify names in the root of the
95
      JAR file's namespace.  In general, relative names are
96
      preferred.  The exception is .war files where absolute
97
      names are preferred for consistency with the Servlet API.
98
      
99
    </xsd:documentation>
100
  </xsd:annotation>
101
102
  <xsd:include schemaLocation="javaee_7.xsd"/>
103
104
  <xsd:include schemaLocation="jsp_2_3.xsd"/>
105
106
  <xsd:group name="web-commonType">
107
    <xsd:choice>
108
      <xsd:group ref="javaee:descriptionGroup"/>
109
      <xsd:element name="distributable"
110
                   type="javaee:emptyType"/>
111
      <xsd:element name="context-param"
112
                   type="javaee:param-valueType">
113
        <xsd:annotation>
114
          <xsd:documentation>
115
116
            The context-param element contains the declaration
117
            of a web application's servlet context
118
            initialization parameters.
119
            
120
          </xsd:documentation>
121
        </xsd:annotation>
122
      </xsd:element>
123
      <xsd:element name="filter"
124
                   type="javaee:filterType"/>
125
      <xsd:element name="filter-mapping"
126
                   type="javaee:filter-mappingType"/>
127
      <xsd:element name="listener"
128
                   type="javaee:listenerType"/>
129
      <xsd:element name="servlet"
130
                   type="javaee:servletType"/>
131
      <xsd:element name="servlet-mapping"
132
                   type="javaee:servlet-mappingType"/>
133
      <xsd:element name="session-config"
134
                   type="javaee:session-configType"/>
135
      <xsd:element name="mime-mapping"
136
                   type="javaee:mime-mappingType"/>
137
      <xsd:element name="welcome-file-list"
138
                   type="javaee:welcome-file-listType"/>
139
      <xsd:element name="error-page"
140
                   type="javaee:error-pageType"/>
141
      <xsd:element name="jsp-config"
142
                   type="javaee:jsp-configType"/>
143
      <xsd:element name="security-constraint"
144
                   type="javaee:security-constraintType"/>
145
      <xsd:element name="login-config"
146
                   type="javaee:login-configType"/>
147
      <xsd:element name="security-role"
148
                   type="javaee:security-roleType"/>
149
      <xsd:group ref="javaee:jndiEnvironmentRefsGroup"/>
150
      <xsd:element name="message-destination"
151
                   type="javaee:message-destinationType"/>
152
      <xsd:element name="locale-encoding-mapping-list"
153
                   type="javaee:locale-encoding-mapping-listType"/>
154
    </xsd:choice>
155
  </xsd:group>
156
157
  <xsd:attributeGroup name="web-common-attributes">
158
    <xsd:attribute name="version"
159
                   type="javaee:web-app-versionType"
160
                   use="required"/>
161
    <xsd:attribute name="id"
162
                   type="xsd:ID"/>
163
    <xsd:attribute name="metadata-complete"
164
                   type="xsd:boolean">
165
      <xsd:annotation>
166
        <xsd:documentation>
167
168
          The metadata-complete attribute defines whether this
169
          deployment descriptor and other related deployment
170
          descriptors for this module (e.g., web service
171
          descriptors) are complete, or whether the class
172
          files available to this module and packaged with
173
          this application should be examined for annotations
174
          that specify deployment information.
175
          
176
          If metadata-complete is set to "true", the deployment
177
          tool must ignore any annotations that specify deployment
178
          information, which might be present in the class files
179
          of the application.
180
          
181
          If metadata-complete is not specified or is set to
182
          "false", the deployment tool must examine the class
183
          files of the application for annotations, as
184
          specified by the specifications.
185
          
186
        </xsd:documentation>
187
      </xsd:annotation>
188
    </xsd:attribute>
189
  </xsd:attributeGroup>
190
191
192
<!-- **************************************************** -->
193
194
  <xsd:complexType name="web-appType">
195
    <xsd:choice minOccurs="0"
196
                maxOccurs="unbounded">
197
      <xsd:element name="module-name"
198
                   type="javaee:string"
199
                   minOccurs="0"/>
200
      <xsd:group ref="javaee:web-commonType"/>
201
      <xsd:element name="absolute-ordering"
202
                   type="javaee:absoluteOrderingType"/>
203
    </xsd:choice>
204
    <xsd:attributeGroup ref="javaee:web-common-attributes"/>
205
  </xsd:complexType>
206
207
208
<!-- **************************************************** -->
209
210
  <xsd:complexType name="web-fragmentType">
211
    <xsd:choice minOccurs="0"
212
                maxOccurs="unbounded">
213
      <xsd:element name="name"
214
                   type="javaee:java-identifierType"/>
215
      <xsd:group ref="javaee:web-commonType"/>
216
      <xsd:element name="ordering"
217
                   type="javaee:orderingType"/>
218
    </xsd:choice>
219
    <xsd:attributeGroup ref="javaee:web-common-attributes"/>
220
  </xsd:complexType>
221
222
223
<!-- **************************************************** -->
224
225
  <xsd:complexType name="auth-constraintType">
226
    <xsd:annotation>
227
      <xsd:documentation>
228
229
        The auth-constraintType indicates the user roles that
230
        should be permitted access to this resource
231
        collection. The role-name used here must either correspond
232
        to the role-name of one of the security-role elements
233
        defined for this web application, or be the specially
234
        reserved role-name "*" that is a compact syntax for
235
        indicating all roles in the web application. If both "*"
236
        and rolenames appear, the container interprets this as all
237
        roles.  If no roles are defined, no user is allowed access
238
        to the portion of the web application described by the
239
        containing security-constraint.  The container matches
240
        role names case sensitively when determining access.
241
        
242
      </xsd:documentation>
243
    </xsd:annotation>
244
    <xsd:sequence>
245
      <xsd:element name="description"
246
                   type="javaee:descriptionType"
247
                   minOccurs="0"
248
                   maxOccurs="unbounded"/>
249
      <xsd:element name="role-name"
250
                   type="javaee:role-nameType"
251
                   minOccurs="0"
252
                   maxOccurs="unbounded"/>
253
    </xsd:sequence>
254
    <xsd:attribute name="id"
255
                   type="xsd:ID"/>
256
  </xsd:complexType>
257
258
259
<!-- **************************************************** -->
260
261
  <xsd:complexType name="auth-methodType">
262
    <xsd:annotation>
263
      <xsd:documentation>
264
265
        The auth-methodType is used to configure the authentication
266
        mechanism for the web application. As a prerequisite to
267
        gaining access to any web resources which are protected by
268
        an authorization constraint, a user must have authenticated
269
        using the configured mechanism. Legal values are "BASIC",
270
        "DIGEST", "FORM", "CLIENT-CERT", or a vendor-specific
271
        authentication scheme.
272
        
273
        Used in: login-config
274
        
275
      </xsd:documentation>
276
    </xsd:annotation>
277
    <xsd:simpleContent>
278
      <xsd:restriction base="javaee:string"/>
279
    </xsd:simpleContent>
280
  </xsd:complexType>
281
282
283
<!-- **************************************************** -->
284
285
  <xsd:complexType name="dispatcherType">
286
    <xsd:annotation>
287
      <xsd:documentation>
288
289
        The dispatcher has five legal values: FORWARD, REQUEST,
290
        INCLUDE, ASYNC, and ERROR.
291
        
292
        A value of FORWARD means the Filter will be applied under
293
        RequestDispatcher.forward() calls.
294
        A value of REQUEST means the Filter will be applied under
295
        ordinary client calls to the path or servlet.
296
        A value of INCLUDE means the Filter will be applied under
297
        RequestDispatcher.include() calls.
298
        A value of ASYNC means the Filter will be applied under
299
        calls dispatched from an AsyncContext.
300
        A value of ERROR means the Filter will be applied under the
301
        error page mechanism.
302
        
303
        The absence of any dispatcher elements in a filter-mapping
304
        indicates a default of applying filters only under ordinary
305
        client calls to the path or servlet.
306
        
307
      </xsd:documentation>
308
    </xsd:annotation>
309
    <xsd:simpleContent>
310
      <xsd:restriction base="javaee:string">
311
        <xsd:enumeration value="FORWARD"/>
312
        <xsd:enumeration value="INCLUDE"/>
313
        <xsd:enumeration value="REQUEST"/>
314
        <xsd:enumeration value="ASYNC"/>
315
        <xsd:enumeration value="ERROR"/>
316
      </xsd:restriction>
317
    </xsd:simpleContent>
318
  </xsd:complexType>
319
320
321
<!-- **************************************************** -->
322
323
  <xsd:complexType name="error-codeType">
324
    <xsd:annotation>
325
      <xsd:documentation>
326
327
        The error-code contains an HTTP error code, ex: 404
328
        
329
        Used in: error-page
330
        
331
      </xsd:documentation>
332
    </xsd:annotation>
333
    <xsd:simpleContent>
334
      <xsd:restriction base="javaee:xsdPositiveIntegerType">
335
        <xsd:pattern value="\d{3}"/>
336
        <xsd:attribute name="id"
337
                       type="xsd:ID"/>
338
      </xsd:restriction>
339
    </xsd:simpleContent>
340
  </xsd:complexType>
341
342
343
<!-- **************************************************** -->
344
345
  <xsd:complexType name="error-pageType">
346
    <xsd:annotation>
347
      <xsd:documentation>
348
349
        The error-pageType contains a mapping between an error code
350
        or exception type to the path of a resource in the web
351
        application.
352
        
353
        Error-page declarations using the exception-type element in
354
        the deployment descriptor must be unique up to the class name of
355
        the exception-type. Similarly, error-page declarations using the
356
        error-code element must be unique in the deployment descriptor
357
        up to the status code.
358
        
359
        If an error-page element in the deployment descriptor does not
360
        contain an exception-type or an error-code element, the error
361
        page is a default error page. 
362
        
363
        Used in: web-app
364
        
365
      </xsd:documentation>
366
    </xsd:annotation>
367
    <xsd:sequence>
368
      <xsd:choice minOccurs="0"
369
                  maxOccurs="1">
370
        <xsd:element name="error-code"
371
                     type="javaee:error-codeType"/>
372
        <xsd:element name="exception-type"
373
                     type="javaee:fully-qualified-classType">
374
          <xsd:annotation>
375
            <xsd:documentation>
376
377
              The exception-type contains a fully qualified class
378
              name of a Java exception type.
379
              
380
            </xsd:documentation>
381
          </xsd:annotation>
382
        </xsd:element>
383
      </xsd:choice>
384
      <xsd:element name="location"
385
                   type="javaee:war-pathType">
386
        <xsd:annotation>
387
          <xsd:documentation>
388
389
            The location element contains the location of the
390
            resource in the web application relative to the root of
391
            the web application. The value of the location must have
392
            a leading `/'.
393
            
394
          </xsd:documentation>
395
        </xsd:annotation>
396
      </xsd:element>
397
    </xsd:sequence>
398
    <xsd:attribute name="id"
399
                   type="xsd:ID"/>
400
  </xsd:complexType>
401
402
403
<!-- **************************************************** -->
404
405
  <xsd:complexType name="filterType">
406
    <xsd:annotation>
407
      <xsd:documentation>
408
409
        The filterType is used to declare a filter in the web
410
        application. The filter is mapped to either a servlet or a
411
        URL pattern in the filter-mapping element, using the
412
        filter-name value to reference. Filters can access the
413
        initialization parameters declared in the deployment
414
        descriptor at runtime via the FilterConfig interface.
415
        
416
        Used in: web-app
417
        
418
      </xsd:documentation>
419
    </xsd:annotation>
420
    <xsd:sequence>
421
      <xsd:group ref="javaee:descriptionGroup"/>
422
      <xsd:element name="filter-name"
423
                   type="javaee:filter-nameType"/>
424
      <xsd:element name="filter-class"
425
                   type="javaee:fully-qualified-classType"
426
                   minOccurs="0"
427
                   maxOccurs="1">
428
        <xsd:annotation>
429
          <xsd:documentation>
430
431
            The fully qualified classname of the filter.
432
            
433
          </xsd:documentation>
434
        </xsd:annotation>
435
      </xsd:element>
436
      <xsd:element name="async-supported"
437
                   type="javaee:true-falseType"
438
                   minOccurs="0"/>
439
      <xsd:element name="init-param"
440
                   type="javaee:param-valueType"
441
                   minOccurs="0"
442
                   maxOccurs="unbounded">
443
        <xsd:annotation>
444
          <xsd:documentation>
445
446
            The init-param element contains a name/value pair as
447
            an initialization param of a servlet filter
448
            
449
          </xsd:documentation>
450
        </xsd:annotation>
451
      </xsd:element>
452
    </xsd:sequence>
453
    <xsd:attribute name="id"
454
                   type="xsd:ID"/>
455
  </xsd:complexType>
456
457
458
<!-- **************************************************** -->
459
460
  <xsd:complexType name="filter-mappingType">
461
    <xsd:annotation>
462
      <xsd:documentation>
463
464
        Declaration of the filter mappings in this web
465
        application is done by using filter-mappingType. 
466
        The container uses the filter-mapping
467
        declarations to decide which filters to apply to a request,
468
        and in what order. The container matches the request URI to
469
        a Servlet in the normal way. To determine which filters to
470
        apply it matches filter-mapping declarations either on
471
        servlet-name, or on url-pattern for each filter-mapping
472
        element, depending on which style is used. The order in
473
        which filters are invoked is the order in which
474
        filter-mapping declarations that match a request URI for a
475
        servlet appear in the list of filter-mapping elements.The
476
        filter-name value must be the value of the filter-name
477
        sub-elements of one of the filter declarations in the
478
        deployment descriptor.
479
        
480
      </xsd:documentation>
481
    </xsd:annotation>
482
    <xsd:sequence>
483
      <xsd:element name="filter-name"
484
                   type="javaee:filter-nameType"/>
485
      <xsd:choice minOccurs="1"
486
                  maxOccurs="unbounded">
487
        <xsd:element name="url-pattern"
488
                     type="javaee:url-patternType"/>
489
        <xsd:element name="servlet-name"
490
                     type="javaee:servlet-nameType"/>
491
      </xsd:choice>
492
      <xsd:element name="dispatcher"
493
                   type="javaee:dispatcherType"
494
                   minOccurs="0"
495
                   maxOccurs="5"/>
496
    </xsd:sequence>
497
    <xsd:attribute name="id"
498
                   type="xsd:ID"/>
499
  </xsd:complexType>
500
501
502
<!-- **************************************************** -->
503
504
  <xsd:complexType name="nonEmptyStringType">
505
    <xsd:annotation>
506
      <xsd:documentation>
507
508
        This type defines a string which contains at least one
509
        character.
510
        
511
      </xsd:documentation>
512
    </xsd:annotation>
513
    <xsd:simpleContent>
514
      <xsd:restriction base="javaee:string">
515
        <xsd:minLength value="1"/>
516
      </xsd:restriction>
517
    </xsd:simpleContent>
518
  </xsd:complexType>
519
520
521
<!-- **************************************************** -->
522
523
  <xsd:complexType name="filter-nameType">
524
    <xsd:annotation>
525
      <xsd:documentation>
526
527
        The logical name of the filter is declare
528
        by using filter-nameType. This name is used to map the
529
        filter.  Each filter name is unique within the web
530
        application.
531
        
532
        Used in: filter, filter-mapping
533
        
534
      </xsd:documentation>
535
    </xsd:annotation>
536
    <xsd:simpleContent>
537
      <xsd:extension base="javaee:nonEmptyStringType"/>
538
    </xsd:simpleContent>
539
  </xsd:complexType>
540
541
542
<!-- **************************************************** -->
543
544
  <xsd:complexType name="form-login-configType">
545
    <xsd:annotation>
546
      <xsd:documentation>
547
548
        The form-login-configType specifies the login and error
549
        pages that should be used in form based login. If form based
550
        authentication is not used, these elements are ignored.
551
        
552
        Used in: login-config
553
        
554
      </xsd:documentation>
555
    </xsd:annotation>
556
    <xsd:sequence>
557
      <xsd:element name="form-login-page"
558
                   type="javaee:war-pathType">
559
        <xsd:annotation>
560
          <xsd:documentation>
561
562
            The form-login-page element defines the location in the web
563
            app where the page that can be used for login can be
564
            found.  The path begins with a leading / and is interpreted
565
            relative to the root of the WAR.
566
            
567
          </xsd:documentation>
568
        </xsd:annotation>
569
      </xsd:element>
570
      <xsd:element name="form-error-page"
571
                   type="javaee:war-pathType">
572
        <xsd:annotation>
573
          <xsd:documentation>
574
575
            The form-error-page element defines the location in
576
            the web app where the error page that is displayed
577
            when login is not successful can be found. 
578
            The path begins with a leading / and is interpreted
579
            relative to the root of the WAR.
580
            
581
          </xsd:documentation>
582
        </xsd:annotation>
583
      </xsd:element>
584
    </xsd:sequence>
585
    <xsd:attribute name="id"
586
                   type="xsd:ID"/>
587
  </xsd:complexType>
588
589
  <xsd:simpleType name="http-methodType">
590
    <xsd:annotation>
591
      <xsd:documentation>
592
593
        A HTTP method type as defined in HTTP 1.1 section 2.2.
594
        
595
      </xsd:documentation>
596
    </xsd:annotation>
597
    <xsd:restriction base="xsd:token">
598
      <xsd:pattern value="[!-~-[\(\)&#60;&#62;@,;:&#34;/\[\]?=\{\}\\\p{Z}]]+"/>
599
    </xsd:restriction>
600
  </xsd:simpleType>
601
602
  <xsd:simpleType name="load-on-startupType">
603
    <xsd:union memberTypes="javaee:null-charType xsd:integer"/>
604
  </xsd:simpleType>
605
606
  <xsd:simpleType name="null-charType">
607
    <xsd:restriction base="xsd:string">
608
      <xsd:enumeration value=""/>
609
    </xsd:restriction>
610
  </xsd:simpleType>
611
612
613
<!-- **************************************************** -->
614
615
  <xsd:complexType name="login-configType">
616
    <xsd:annotation>
617
      <xsd:documentation>
618
619
        The login-configType is used to configure the authentication
620
        method that should be used, the realm name that should be
621
        used for this application, and the attributes that are
622
        needed by the form login mechanism.
623
        
624
        Used in: web-app
625
        
626
      </xsd:documentation>
627
    </xsd:annotation>
628
    <xsd:sequence>
629
      <xsd:element name="auth-method"
630
                   type="javaee:auth-methodType"
631
                   minOccurs="0"/>
632
      <xsd:element name="realm-name"
633
                   type="javaee:string"
634
                   minOccurs="0">
635
        <xsd:annotation>
636
          <xsd:documentation>
637
638
            The realm name element specifies the realm name to
639
            use in HTTP Basic authorization.
640
            
641
          </xsd:documentation>
642
        </xsd:annotation>
643
      </xsd:element>
644
      <xsd:element name="form-login-config"
645
                   type="javaee:form-login-configType"
646
                   minOccurs="0"/>
647
    </xsd:sequence>
648
    <xsd:attribute name="id"
649
                   type="xsd:ID"/>
650
  </xsd:complexType>
651
652
653
<!-- **************************************************** -->
654
655
  <xsd:complexType name="mime-mappingType">
656
    <xsd:annotation>
657
      <xsd:documentation>
658
659
        The mime-mappingType defines a mapping between an extension
660
        and a mime type.
661
        
662
        Used in: web-app
663
        
664
      </xsd:documentation>
665
    </xsd:annotation>
666
    <xsd:sequence>
667
      <xsd:annotation>
668
        <xsd:documentation>
669
670
          The extension element contains a string describing an
671
          extension. example: "txt"
672
          
673
        </xsd:documentation>
674
      </xsd:annotation>
675
      <xsd:element name="extension"
676
                   type="javaee:string"/>
677
      <xsd:element name="mime-type"
678
                   type="javaee:mime-typeType"/>
679
    </xsd:sequence>
680
    <xsd:attribute name="id"
681
                   type="xsd:ID"/>
682
  </xsd:complexType>
683
684
685
<!-- **************************************************** -->
686
687
  <xsd:complexType name="mime-typeType">
688
    <xsd:annotation>
689
      <xsd:documentation>
690
691
        The mime-typeType is used to indicate a defined mime type.
692
        
693
        Example:
694
        "text/plain"
695
        
696
        Used in: mime-mapping
697
        
698
      </xsd:documentation>
699
    </xsd:annotation>
700
    <xsd:simpleContent>
701
      <xsd:restriction base="javaee:string">
702
        <xsd:pattern value="[^\p{Cc}^\s]+/[^\p{Cc}^\s]+"/>
703
      </xsd:restriction>
704
    </xsd:simpleContent>
705
  </xsd:complexType>
706
707
708
<!-- **************************************************** -->
709
710
  <xsd:complexType name="security-constraintType">
711
    <xsd:annotation>
712
      <xsd:documentation>
713
714
        The security-constraintType is used to associate
715
        security constraints with one or more web resource
716
        collections
717
        
718
        Used in: web-app
719
        
720
      </xsd:documentation>
721
    </xsd:annotation>
722
    <xsd:sequence>
723
      <xsd:element name="display-name"
724
                   type="javaee:display-nameType"
725
                   minOccurs="0"
726
                   maxOccurs="unbounded"/>
727
      <xsd:element name="web-resource-collection"
728
                   type="javaee:web-resource-collectionType"
729
                   maxOccurs="unbounded"/>
730
      <xsd:element name="auth-constraint"
731
                   type="javaee:auth-constraintType"
732
                   minOccurs="0"/>
733
      <xsd:element name="user-data-constraint"
734
                   type="javaee:user-data-constraintType"
735
                   minOccurs="0"/>
736
    </xsd:sequence>
737
    <xsd:attribute name="id"
738
                   type="xsd:ID"/>
739
  </xsd:complexType>
740
741
742
<!-- **************************************************** -->
743
744
  <xsd:complexType name="servletType">
745
    <xsd:annotation>
746
      <xsd:documentation>
747
748
        The servletType is used to declare a servlet.
749
        It contains the declarative data of a
750
        servlet. If a jsp-file is specified and the load-on-startup
751
        element is present, then the JSP should be precompiled and
752
        loaded.
753
        
754
        Used in: web-app
755
        
756
      </xsd:documentation>
757
    </xsd:annotation>
758
    <xsd:sequence>
759
      <xsd:group ref="javaee:descriptionGroup"/>
760
      <xsd:element name="servlet-name"
761
                   type="javaee:servlet-nameType"/>
762
      <xsd:choice minOccurs="0"
763
                  maxOccurs="1">
764
        <xsd:element name="servlet-class"
765
                     type="javaee:fully-qualified-classType">
766
          <xsd:annotation>
767
            <xsd:documentation>
768
769
              The servlet-class element contains the fully
770
              qualified class name of the servlet.
771
              
772
            </xsd:documentation>
773
          </xsd:annotation>
774
        </xsd:element>
775
        <xsd:element name="jsp-file"
776
                     type="javaee:jsp-fileType"/>
777
      </xsd:choice>
778
      <xsd:element name="init-param"
779
                   type="javaee:param-valueType"
780
                   minOccurs="0"
781
                   maxOccurs="unbounded"/>
782
      <xsd:element name="load-on-startup"
783
                   type="javaee:load-on-startupType"
784
                   minOccurs="0">
785
        <xsd:annotation>
786
          <xsd:documentation>
787
788
            The load-on-startup element indicates that this
789
            servlet should be loaded (instantiated and have
790
            its init() called) on the startup of the web
791
            application. The optional contents of these
792
            element must be an integer indicating the order in
793
            which the servlet should be loaded. If the value
794
            is a negative integer, or the element is not
795
            present, the container is free to load the servlet
796
            whenever it chooses. If the value is a positive
797
            integer or 0, the container must load and
798
            initialize the servlet as the application is
799
            deployed. The container must guarantee that
800
            servlets marked with lower integers are loaded
801
            before servlets marked with higher integers. The
802
            container may choose the order of loading of
803
            servlets with the same load-on-start-up value.
804
            
805
          </xsd:documentation>
806
        </xsd:annotation>
807
      </xsd:element>
808
      <xsd:element name="enabled"
809
                   type="javaee:true-falseType"
810
                   minOccurs="0"/>
811
      <xsd:element name="async-supported"
812
                   type="javaee:true-falseType"
813
                   minOccurs="0"/>
814
      <xsd:element name="run-as"
815
                   type="javaee:run-asType"
816
                   minOccurs="0"/>
817
      <xsd:element name="security-role-ref"
818
                   type="javaee:security-role-refType"
819
                   minOccurs="0"
820
                   maxOccurs="unbounded"/>
821
      <xsd:element name="multipart-config"
822
                   type="javaee:multipart-configType"
823
                   minOccurs="0"
824
                   maxOccurs="1"/>
825
    </xsd:sequence>
826
    <xsd:attribute name="id"
827
                   type="xsd:ID"/>
828
  </xsd:complexType>
829
830
831
<!-- **************************************************** -->
832
833
  <xsd:complexType name="servlet-mappingType">
834
    <xsd:annotation>
835
      <xsd:documentation>
836
837
        The servlet-mappingType defines a mapping between a
838
        servlet and a url pattern. 
839
        
840
        Used in: web-app
841
        
842
      </xsd:documentation>
843
    </xsd:annotation>
844
    <xsd:sequence>
845
      <xsd:element name="servlet-name"
846
                   type="javaee:servlet-nameType"/>
847
      <xsd:element name="url-pattern"
848
                   type="javaee:url-patternType"
849
                   minOccurs="1"
850
                   maxOccurs="unbounded"/>
851
    </xsd:sequence>
852
    <xsd:attribute name="id"
853
                   type="xsd:ID"/>
854
  </xsd:complexType>
855
856
857
<!-- **************************************************** -->
858
859
  <xsd:complexType name="servlet-nameType">
860
    <xsd:annotation>
861
      <xsd:documentation>
862
863
        The servlet-name element contains the canonical name of the
864
        servlet. Each servlet name is unique within the web
865
        application.
866
        
867
      </xsd:documentation>
868
    </xsd:annotation>
869
    <xsd:simpleContent>
870
      <xsd:extension base="javaee:nonEmptyStringType"/>
871
    </xsd:simpleContent>
872
  </xsd:complexType>
873
874
875
<!-- **************************************************** -->
876
877
  <xsd:complexType name="session-configType">
878
    <xsd:annotation>
879
      <xsd:documentation>
880
881
        The session-configType defines the session parameters
882
        for this web application.
883
        
884
        Used in: web-app
885
        
886
      </xsd:documentation>
887
    </xsd:annotation>
888
    <xsd:sequence>
889
      <xsd:element name="session-timeout"
890
                   type="javaee:xsdIntegerType"
891
                   minOccurs="0">
892
        <xsd:annotation>
893
          <xsd:documentation>
894
895
            The session-timeout element defines the default
896
            session timeout interval for all sessions created
897
            in this web application. The specified timeout
898
            must be expressed in a whole number of minutes.
899
            If the timeout is 0 or less, the container ensures
900
            the default behaviour of sessions is never to time
901
            out. If this element is not specified, the container
902
            must set its default timeout period.
903
            
904
          </xsd:documentation>
905
        </xsd:annotation>
906
      </xsd:element>
907
      <xsd:element name="cookie-config"
908
                   type="javaee:cookie-configType"
909
                   minOccurs="0">
910
        <xsd:annotation>
911
          <xsd:documentation>
912
913
            The cookie-config element defines the configuration of the
914
            session tracking cookies created by this web application.
915
            
916
          </xsd:documentation>
917
        </xsd:annotation>
918
      </xsd:element>
919
      <xsd:element name="tracking-mode"
920
                   type="javaee:tracking-modeType"
921
                   minOccurs="0"
922
                   maxOccurs="3">
923
        <xsd:annotation>
924
          <xsd:documentation>
925
926
            The tracking-mode element defines the tracking modes
927
            for sessions created by this web application
928
            
929
          </xsd:documentation>
930
        </xsd:annotation>
931
      </xsd:element>
932
    </xsd:sequence>
933
    <xsd:attribute name="id"
934
                   type="xsd:ID"/>
935
  </xsd:complexType>
936
937
938
<!-- **************************************************** -->
939
940
  <xsd:complexType name="cookie-configType">
941
    <xsd:annotation>
942
      <xsd:documentation>
943
944
        The cookie-configType defines the configuration for the
945
        session tracking cookies of this web application.
946
        
947
        Used in: session-config
948
        
949
      </xsd:documentation>
950
    </xsd:annotation>
951
    <xsd:sequence>
952
      <xsd:element name="name"
953
                   type="javaee:cookie-nameType"
954
                   minOccurs="0">
955
        <xsd:annotation>
956
          <xsd:documentation>
957
958
            The name that will be assigned to any session tracking
959
            cookies created by this web application.
960
            The default is JSESSIONID
961
            
962
          </xsd:documentation>
963
        </xsd:annotation>
964
      </xsd:element>
965
      <xsd:element name="domain"
966
                   type="javaee:cookie-domainType"
967
                   minOccurs="0">
968
        <xsd:annotation>
969
          <xsd:documentation>
970
971
            The domain name that will be assigned to any session tracking
972
            cookies created by this web application.
973
            
974
          </xsd:documentation>
975
        </xsd:annotation>
976
      </xsd:element>
977
      <xsd:element name="path"
978
                   type="javaee:cookie-pathType"
979
                   minOccurs="0">
980
        <xsd:annotation>
981
          <xsd:documentation>
982
983
            The path that will be assigned to any session tracking
984
            cookies created by this web application.
985
            
986
          </xsd:documentation>
987
        </xsd:annotation>
988
      </xsd:element>
989
      <xsd:element name="comment"
990
                   type="javaee:cookie-commentType"
991
                   minOccurs="0">
992
        <xsd:annotation>
993
          <xsd:documentation>
994
995
            The comment that will be assigned to any session tracking
996
            cookies created by this web application.
997
            
998
          </xsd:documentation>
999
        </xsd:annotation>
1000
      </xsd:element>
1001
      <xsd:element name="http-only"
1002
                   type="javaee:true-falseType"
1003
                   minOccurs="0">
1004
        <xsd:annotation>
1005
          <xsd:documentation>
1006
1007
            Specifies whether any session tracking cookies created 
1008
            by this web application will be marked as HttpOnly
1009
            
1010
          </xsd:documentation>
1011
        </xsd:annotation>
1012
      </xsd:element>
1013
      <xsd:element name="secure"
1014
                   type="javaee:true-falseType"
1015
                   minOccurs="0">
1016
        <xsd:annotation>
1017
          <xsd:documentation>
1018
1019
            Specifies whether any session tracking cookies created 
1020
            by this web application will be marked as secure
1021
            even if the request that initiated the corresponding session
1022
            is using plain HTTP instead of HTTPS
1023
            
1024
          </xsd:documentation>
1025
        </xsd:annotation>
1026
      </xsd:element>
1027
      <xsd:element name="max-age"
1028
                   type="javaee:xsdIntegerType"
1029
                   minOccurs="0">
1030
        <xsd:annotation>
1031
          <xsd:documentation>
1032
1033
            The lifetime (in seconds) that will be assigned to any
1034
            session tracking cookies created by this web application.
1035
            Default is -1
1036
            
1037
          </xsd:documentation>
1038
        </xsd:annotation>
1039
      </xsd:element>
1040
    </xsd:sequence>
1041
    <xsd:attribute name="id"
1042
                   type="xsd:ID"/>
1043
  </xsd:complexType>
1044
1045
1046
<!-- **************************************************** -->
1047
1048
  <xsd:complexType name="cookie-nameType">
1049
    <xsd:annotation>
1050
      <xsd:documentation>
1051
1052
        The name that will be assigned to any session tracking
1053
        cookies created by this web application.
1054
        The default is JSESSIONID
1055
        
1056
        Used in: cookie-config
1057
        
1058
      </xsd:documentation>
1059
    </xsd:annotation>
1060
    <xsd:simpleContent>
1061
      <xsd:extension base="javaee:nonEmptyStringType"/>
1062
    </xsd:simpleContent>
1063
  </xsd:complexType>
1064
1065
1066
<!-- **************************************************** -->
1067
1068
  <xsd:complexType name="cookie-domainType">
1069
    <xsd:annotation>
1070
      <xsd:documentation>
1071
1072
        The domain name that will be assigned to any session tracking
1073
        cookies created by this web application.
1074
        
1075
        Used in: cookie-config
1076
        
1077
      </xsd:documentation>
1078
    </xsd:annotation>
1079
    <xsd:simpleContent>
1080
      <xsd:extension base="javaee:nonEmptyStringType"/>
1081
    </xsd:simpleContent>
1082
  </xsd:complexType>
1083
1084
1085
<!-- **************************************************** -->
1086
1087
  <xsd:complexType name="cookie-pathType">
1088
    <xsd:annotation>
1089
      <xsd:documentation>
1090
1091
        The path that will be assigned to any session tracking
1092
        cookies created by this web application.
1093
        
1094
        Used in: cookie-config
1095
        
1096
      </xsd:documentation>
1097
    </xsd:annotation>
1098
    <xsd:simpleContent>
1099
      <xsd:extension base="javaee:nonEmptyStringType"/>
1100
    </xsd:simpleContent>
1101
  </xsd:complexType>
1102
1103
1104
<!-- **************************************************** -->
1105
1106
  <xsd:complexType name="cookie-commentType">
1107
    <xsd:annotation>
1108
      <xsd:documentation>
1109
1110
        The comment that will be assigned to any session tracking
1111
        cookies created by this web application.
1112
        
1113
        Used in: cookie-config
1114
        
1115
      </xsd:documentation>
1116
    </xsd:annotation>
1117
    <xsd:simpleContent>
1118
      <xsd:extension base="javaee:nonEmptyStringType"/>
1119
    </xsd:simpleContent>
1120
  </xsd:complexType>
1121
1122
1123
<!-- **************************************************** -->
1124
1125
  <xsd:complexType name="tracking-modeType">
1126
    <xsd:annotation>
1127
      <xsd:documentation>
1128
1129
        The tracking modes for sessions created by this web
1130
        application
1131
        
1132
        Used in: session-config
1133
        
1134
      </xsd:documentation>
1135
    </xsd:annotation>
1136
    <xsd:simpleContent>
1137
      <xsd:restriction base="javaee:string">
1138
        <xsd:enumeration value="COOKIE"/>
1139
        <xsd:enumeration value="URL"/>
1140
        <xsd:enumeration value="SSL"/>
1141
      </xsd:restriction>
1142
    </xsd:simpleContent>
1143
  </xsd:complexType>
1144
1145
1146
<!-- **************************************************** -->
1147
1148
  <xsd:complexType name="transport-guaranteeType">
1149
    <xsd:annotation>
1150
      <xsd:documentation>
1151
1152
        The transport-guaranteeType specifies that the communication
1153
        between client and server should be NONE, INTEGRAL, or
1154
        CONFIDENTIAL. NONE means that the application does not
1155
        require any transport guarantees. A value of INTEGRAL means
1156
        that the application requires that the data sent between the
1157
        client and server be sent in such a way that it can't be
1158
        changed in transit. CONFIDENTIAL means that the application
1159
        requires that the data be transmitted in a fashion that
1160
        prevents other entities from observing the contents of the
1161
        transmission. In most cases, the presence of the INTEGRAL or
1162
        CONFIDENTIAL flag will indicate that the use of SSL is
1163
        required.
1164
        
1165
        Used in: user-data-constraint
1166
        
1167
      </xsd:documentation>
1168
    </xsd:annotation>
1169
    <xsd:simpleContent>
1170
      <xsd:restriction base="javaee:string">
1171
        <xsd:enumeration value="NONE"/>
1172
        <xsd:enumeration value="INTEGRAL"/>
1173
        <xsd:enumeration value="CONFIDENTIAL"/>
1174
      </xsd:restriction>
1175
    </xsd:simpleContent>
1176
  </xsd:complexType>
1177
1178
1179
<!-- **************************************************** -->
1180
1181
  <xsd:complexType name="user-data-constraintType">
1182
    <xsd:annotation>
1183
      <xsd:documentation>
1184
1185
        The user-data-constraintType is used to indicate how
1186
        data communicated between the client and container should be
1187
        protected.
1188
        
1189
        Used in: security-constraint
1190
        
1191
      </xsd:documentation>
1192
    </xsd:annotation>
1193
    <xsd:sequence>
1194
      <xsd:element name="description"
1195
                   type="javaee:descriptionType"
1196
                   minOccurs="0"
1197
                   maxOccurs="unbounded"/>
1198
      <xsd:element name="transport-guarantee"
1199
                   type="javaee:transport-guaranteeType"/>
1200
    </xsd:sequence>
1201
    <xsd:attribute name="id"
1202
                   type="xsd:ID"/>
1203
  </xsd:complexType>
1204
1205
1206
<!-- **************************************************** -->
1207
1208
  <xsd:complexType name="war-pathType">
1209
    <xsd:annotation>
1210
      <xsd:documentation>
1211
1212
        The elements that use this type designate a path starting
1213
        with a "/" and interpreted relative to the root of a WAR
1214
        file.
1215
        
1216
      </xsd:documentation>
1217
    </xsd:annotation>
1218
    <xsd:simpleContent>
1219
      <xsd:restriction base="javaee:string">
1220
        <xsd:pattern value="/.*"/>
1221
      </xsd:restriction>
1222
    </xsd:simpleContent>
1223
  </xsd:complexType>
1224
1225
  <xsd:simpleType name="web-app-versionType">
1226
    <xsd:annotation>
1227
      <xsd:documentation>
1228
1229
        This type contains the recognized versions of
1230
        web-application supported. It is used to designate the
1231
        version of the web application.
1232
        
1233
      </xsd:documentation>
1234
    </xsd:annotation>
1235
    <xsd:restriction base="xsd:token">
1236
      <xsd:enumeration value="3.1"/>
1237
    </xsd:restriction>
1238
  </xsd:simpleType>
1239
1240
1241
<!-- **************************************************** -->
1242
1243
  <xsd:complexType name="web-resource-collectionType">
1244
    <xsd:annotation>
1245
      <xsd:documentation>
1246
1247
        The web-resource-collectionType is used to identify the
1248
        resources and HTTP methods on those resources to which a
1249
        security constraint applies. If no HTTP methods are specified,
1250
        then the security constraint applies to all HTTP methods.
1251
        If HTTP methods are specified by http-method-omission
1252
        elements, the security constraint applies to all methods
1253
        except those identified in the collection.
1254
        http-method-omission and http-method elements are never
1255
        mixed in the same collection. 
1256
        
1257
        Used in: security-constraint
1258
        
1259
      </xsd:documentation>
1260
    </xsd:annotation>
1261
    <xsd:sequence>
1262
      <xsd:element name="web-resource-name"
1263
                   type="javaee:string">
1264
        <xsd:annotation>
1265
          <xsd:documentation>
1266
1267
            The web-resource-name contains the name of this web
1268
            resource collection.
1269
            
1270
          </xsd:documentation>
1271
        </xsd:annotation>
1272
      </xsd:element>
1273
      <xsd:element name="description"
1274
                   type="javaee:descriptionType"
1275
                   minOccurs="0"
1276
                   maxOccurs="unbounded"/>
1277
      <xsd:element name="url-pattern"
1278
                   type="javaee:url-patternType"
1279
                   maxOccurs="unbounded"/>
1280
      <xsd:choice minOccurs="0"
1281
                  maxOccurs="1">
1282
        <xsd:element name="http-method"
1283
                     type="javaee:http-methodType"
1284
                     minOccurs="1"
1285
                     maxOccurs="unbounded">
1286
          <xsd:annotation>
1287
            <xsd:documentation>
1288
1289
              Each http-method names an HTTP method to which the
1290
              constraint applies.
1291
              
1292
            </xsd:documentation>
1293
          </xsd:annotation>
1294
        </xsd:element>
1295
        <xsd:element name="http-method-omission"
1296
                     type="javaee:http-methodType"
1297
                     minOccurs="1"
1298
                     maxOccurs="unbounded">
1299
          <xsd:annotation>
1300
            <xsd:documentation>
1301
1302
              Each http-method-omission names an HTTP method to
1303
              which the constraint does not apply.
1304
              
1305
            </xsd:documentation>
1306
          </xsd:annotation>
1307
        </xsd:element>
1308
      </xsd:choice>
1309
    </xsd:sequence>
1310
    <xsd:attribute name="id"
1311
                   type="xsd:ID"/>
1312
  </xsd:complexType>
1313
1314
1315
<!-- **************************************************** -->
1316
1317
  <xsd:complexType name="welcome-file-listType">
1318
    <xsd:annotation>
1319
      <xsd:documentation>
1320
1321
        The welcome-file-list contains an ordered list of welcome
1322
        files elements.
1323
        
1324
        Used in: web-app
1325
        
1326
      </xsd:documentation>
1327
    </xsd:annotation>
1328
    <xsd:sequence>
1329
      <xsd:element name="welcome-file"
1330
                   type="xsd:string"
1331
                   maxOccurs="unbounded">
1332
        <xsd:annotation>
1333
          <xsd:documentation>
1334
1335
            The welcome-file element contains file name to use
1336
            as a default welcome file, such as index.html
1337
            
1338
          </xsd:documentation>
1339
        </xsd:annotation>
1340
      </xsd:element>
1341
    </xsd:sequence>
1342
    <xsd:attribute name="id"
1343
                   type="xsd:ID"/>
1344
  </xsd:complexType>
1345
1346
  <xsd:simpleType name="localeType">
1347
    <xsd:annotation>
1348
      <xsd:documentation>
1349
1350
        The localeType defines valid locale defined by ISO-639-1
1351
        and ISO-3166.
1352
        
1353
      </xsd:documentation>
1354
    </xsd:annotation>
1355
    <xsd:restriction base="xsd:string">
1356
      <xsd:pattern value="[a-z]{2}(_|-)?([\p{L}\-\p{Nd}]{2})?"/>
1357
    </xsd:restriction>
1358
  </xsd:simpleType>
1359
1360
  <xsd:simpleType name="encodingType">
1361
    <xsd:annotation>
1362
      <xsd:documentation>
1363
1364
        The encodingType defines IANA character sets.
1365
        
1366
      </xsd:documentation>
1367
    </xsd:annotation>
1368
    <xsd:restriction base="xsd:string">
1369
      <xsd:pattern value="[^\s]+"/>
1370
    </xsd:restriction>
1371
  </xsd:simpleType>
1372
1373
1374
<!-- **************************************************** -->
1375
1376
  <xsd:complexType name="locale-encoding-mapping-listType">
1377
    <xsd:annotation>
1378
      <xsd:documentation>
1379
1380
        The locale-encoding-mapping-list contains one or more
1381
        locale-encoding-mapping(s).
1382
        
1383
      </xsd:documentation>
1384
    </xsd:annotation>
1385
    <xsd:sequence>
1386
      <xsd:element name="locale-encoding-mapping"
1387
                   type="javaee:locale-encoding-mappingType"
1388
                   maxOccurs="unbounded"/>
1389
    </xsd:sequence>
1390
    <xsd:attribute name="id"
1391
                   type="xsd:ID"/>
1392
  </xsd:complexType>
1393
1394
1395
<!-- **************************************************** -->
1396
1397
  <xsd:complexType name="locale-encoding-mappingType">
1398
    <xsd:annotation>
1399
      <xsd:documentation>
1400
1401
        The locale-encoding-mapping contains locale name and
1402
        encoding name. The locale name must be either "Language-code",
1403
        such as "ja", defined by ISO-639 or "Language-code_Country-code",
1404
        such as "ja_JP".  "Country code" is defined by ISO-3166.
1405
        
1406
      </xsd:documentation>
1407
    </xsd:annotation>
1408
    <xsd:sequence>
1409
      <xsd:element name="locale"
1410
                   type="javaee:localeType"/>
1411
      <xsd:element name="encoding"
1412
                   type="javaee:encodingType"/>
1413
    </xsd:sequence>
1414
    <xsd:attribute name="id"
1415
                   type="xsd:ID"/>
1416
  </xsd:complexType>
1417
1418
1419
<!-- **************************************************** -->
1420
1421
  <xsd:complexType name="ordering-othersType">
1422
    <xsd:annotation>
1423
      <xsd:documentation>
1424
1425
        This element indicates that the ordering sub-element in which
1426
        it was placed should take special action regarding the ordering
1427
        of this application resource relative to other application
1428
        configuration resources.
1429
        See section 8.2.2 of the specification for details.
1430
        
1431
      </xsd:documentation>
1432
    </xsd:annotation>
1433
    <xsd:attribute name="id"
1434
                   type="xsd:ID"/>
1435
  </xsd:complexType>
1436
1437
1438
<!-- **************************************************** -->
1439
1440
  <xsd:complexType name="absoluteOrderingType">
1441
    <xsd:annotation>
1442
      <xsd:documentation>
1443
1444
        Please see section 8.2.2 of the specification for details.
1445
        
1446
      </xsd:documentation>
1447
    </xsd:annotation>
1448
    <xsd:choice minOccurs="0"
1449
                maxOccurs="unbounded">
1450
      <xsd:element name="name"
1451
                   type="javaee:java-identifierType"
1452
                   minOccurs="0"
1453
                   maxOccurs="unbounded"/>
1454
      <xsd:element name="others"
1455
                   type="javaee:ordering-othersType"
1456
                   minOccurs="0"
1457
                   maxOccurs="1"/>
1458
    </xsd:choice>
1459
  </xsd:complexType>
1460
1461
1462
<!-- **************************************************** -->
1463
1464
  <xsd:complexType name="orderingType">
1465
    <xsd:annotation>
1466
      <xsd:documentation>
1467
1468
        Please see section 8.2.2 of the specification for details.
1469
        
1470
      </xsd:documentation>
1471
    </xsd:annotation>
1472
    <xsd:sequence>
1473
      <xsd:element name="after"
1474
                   type="javaee:ordering-orderingType"
1475
                   minOccurs="0"
1476
                   maxOccurs="1"/>
1477
      <xsd:element name="before"
1478
                   type="javaee:ordering-orderingType"
1479
                   minOccurs="0"
1480
                   maxOccurs="1"/>
1481
    </xsd:sequence>
1482
  </xsd:complexType>
1483
1484
1485
<!-- **************************************************** -->
1486
1487
  <xsd:complexType name="ordering-orderingType">
1488
    <xsd:annotation>
1489
      <xsd:documentation>
1490
1491
        This element contains a sequence of "name" elements, each of
1492
        which
1493
        refers to an application configuration resource by the "name"
1494
        declared on its web.xml fragment.  This element can also contain
1495
        a single "others" element which specifies that this document
1496
        comes
1497
        before or after other documents within the application.
1498
        See section 8.2.2 of the specification for details.
1499
        
1500
      </xsd:documentation>
1501
    </xsd:annotation>
1502
    <xsd:sequence>
1503
      <xsd:element name="name"
1504
                   type="javaee:java-identifierType"
1505
                   minOccurs="0"
1506
                   maxOccurs="unbounded"/>
1507
      <xsd:element name="others"
1508
                   type="javaee:ordering-othersType"
1509
                   minOccurs="0"
1510
                   maxOccurs="1"/>
1511
    </xsd:sequence>
1512
  </xsd:complexType>
1513
1514
1515
<!-- **************************************************** -->
1516
1517
  <xsd:complexType name="multipart-configType">
1518
    <xsd:annotation>
1519
      <xsd:documentation>
1520
1521
        This element specifies configuration information related to the
1522
        handling of multipart/form-data requests.
1523
        
1524
      </xsd:documentation>
1525
    </xsd:annotation>
1526
    <xsd:sequence>
1527
      <xsd:element name="location"
1528
                   type="javaee:string"
1529
                   minOccurs="0"
1530
                   maxOccurs="1">
1531
        <xsd:annotation>
1532
          <xsd:documentation>
1533
1534
            The directory location where uploaded files will be stored
1535
            
1536
          </xsd:documentation>
1537
        </xsd:annotation>
1538
      </xsd:element>
1539
      <xsd:element name="max-file-size"
1540
                   type="xsd:long"
1541
                   minOccurs="0"
1542
                   maxOccurs="1">
1543
        <xsd:annotation>
1544
          <xsd:documentation>
1545
1546
            The maximum size limit of uploaded files
1547
            
1548
          </xsd:documentation>
1549
        </xsd:annotation>
1550
      </xsd:element>
1551
      <xsd:element name="max-request-size"
1552
                   type="xsd:long"
1553
                   minOccurs="0"
1554
                   maxOccurs="1">
1555
        <xsd:annotation>
1556
          <xsd:documentation>
1557
1558
            The maximum size limit of multipart/form-data requests
1559
            
1560
          </xsd:documentation>
1561
        </xsd:annotation>
1562
      </xsd:element>
1563
      <xsd:element name="file-size-threshold"
1564
                   type="xsd:integer"
1565
                   minOccurs="0"
1566
                   maxOccurs="1">
1567
        <xsd:annotation>
1568
          <xsd:documentation>
1569
1570
            The size threshold after which an uploaded file will be
1571
            written to disk
1572
            
1573
          </xsd:documentation>
1574
        </xsd:annotation>
1575
      </xsd:element>
1576
    </xsd:sequence>
1577
  </xsd:complexType>
1578
1579
</xsd:schema>
(-)a/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/web-facelettaglibrary_2_2.xsd (+611 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsd:schema targetNamespace="http://xmlns.jcp.org/xml/ns/javaee"
3
            xmlns:javaee="http://xmlns.jcp.org/xml/ns/javaee"
4
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5
            xmlns:xml="http://www.w3.org/XML/1998/namespace"
6
            elementFormDefault="qualified"
7
            attributeFormDefault="unqualified"
8
            version="2.2">
9
  <xsd:include schemaLocation="javaee_7.xsd"/>
10
11
  <xsd:annotation>
12
    <xsd:documentation>
13
14
      DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
15
      
16
      Copyright (c) 2011-2013 Oracle and/or its affiliates. All rights reserved.
17
      
18
      The contents of this file are subject to the terms of either the GNU
19
      General Public License Version 2 only ("GPL") or the Common Development
20
      and Distribution License("CDDL") (collectively, the "License").  You
21
      may not use this file except in compliance with the License.  You can
22
      obtain a copy of the License at
23
      https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
24
      or packager/legal/LICENSE.txt.  See the License for the specific
25
      language governing permissions and limitations under the License.
26
      
27
      When distributing the software, include this License Header Notice in each
28
      file and include the License file at packager/legal/LICENSE.txt.
29
      
30
      GPL Classpath Exception:
31
      Oracle designates this particular file as subject to the "Classpath"
32
      exception as provided by Oracle in the GPL Version 2 section of the License
33
      file that accompanied this code.
34
      
35
      Modifications:
36
      If applicable, add the following below the License Header, with the fields
37
      enclosed by brackets [] replaced by your own identifying information:
38
      "Portions Copyright [year] [name of copyright owner]"
39
      
40
      Contributor(s):
41
      If you wish your version of this file to be governed by only the CDDL or
42
      only the GPL Version 2, indicate your decision by adding "[Contributor]
43
      elects to include this software in this distribution under the [CDDL or GPL
44
      Version 2] license."  If you don't indicate a single choice of license, a
45
      recipient has the option to distribute your version of this file under
46
      either the CDDL, the GPL Version 2 or to extend the choice of license to
47
      its licensees as provided above.  However, if you add GPL Version 2 code
48
      and therefore, elected the GPL Version 2 license, then the option applies
49
      only if the new code is made subject to such option by the copyright
50
      holder.
51
      
52
    </xsd:documentation>
53
  </xsd:annotation>
54
55
  <xsd:annotation>
56
    <xsd:documentation>
57
      <![CDATA[[
58
      [
59
      The XML Schema for the Tag Libraries in the JavaServer Faces
60
      Standard Facelets View Declaration Language (Facelets VDL)
61
      (Version 2.2).
62
      
63
      JSF 2.2 Facelet Tag Libraries that wish to conform to this
64
      schema must declare it in the following manner.
65
      
66
      <facelet-taglib xmlns="http://xmlns.jcp.org/xml/ns/javaee"
67
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
68
      xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facelettaglibary_2_2.xsd"
69
      version="2.2">
70
      
71
      ...
72
      
73
      </facelet-taglib>
74
      
75
      The instance documents may indicate the published
76
      version of the schema using xsi:schemaLocation attribute
77
      for javaee namespace with the following location:
78
      
79
      http://xmlns.jcp.org/xml/ns/javaee/web-facelettaglibary_2_2.xsd
80
      
81
      ]]>
82
    </xsd:documentation>
83
  </xsd:annotation>
84
85
86
<!-- **************************************************** -->
87
88
  <xsd:element name="facelet-taglib"
89
               type="javaee:facelet-taglibType">
90
    <xsd:unique name="facelet-taglib-tagname-uniqueness">
91
      <xsd:annotation>
92
        <xsd:documentation>
93
94
          tag-names must be unique within a document.
95
          
96
        </xsd:documentation>
97
      </xsd:annotation>
98
      <xsd:selector xpath="javaee:tag"/>
99
      <xsd:field xpath="javaee:tag-name"/>
100
    </xsd:unique>
101
    <xsd:unique name="faces-config-behavior-ID-uniqueness">
102
      <xsd:annotation>
103
        <xsd:documentation>
104
105
          Behavior IDs must be unique within a document.
106
          
107
        </xsd:documentation>
108
      </xsd:annotation>
109
      <xsd:selector xpath="javaee:behavior"/>
110
      <xsd:field xpath="javaee:behavior-id"/>
111
    </xsd:unique>
112
    <xsd:unique name="faces-config-converter-ID-uniqueness">
113
      <xsd:annotation>
114
        <xsd:documentation>
115
116
          Converter IDs must be unique within a document.
117
          
118
        </xsd:documentation>
119
      </xsd:annotation>
120
      <xsd:selector xpath="javaee:converter"/>
121
      <xsd:field xpath="javaee:converter-id"/>
122
    </xsd:unique>
123
    <xsd:unique name="faces-config-validator-ID-uniqueness">
124
      <xsd:annotation>
125
        <xsd:documentation>
126
127
          Validator IDs must be unique within a document.
128
          
129
        </xsd:documentation>
130
      </xsd:annotation>
131
      <xsd:selector xpath="javaee:validator"/>
132
      <xsd:field xpath="javaee:validator-id"/>
133
    </xsd:unique>
134
  </xsd:element>
135
136
137
<!-- **************************************************** -->
138
139
  <xsd:complexType name="facelet-taglibType">
140
    <xsd:annotation>
141
      <xsd:documentation>
142
143
        The top level XML element in a facelet tag library XML file.
144
        
145
      </xsd:documentation>
146
    </xsd:annotation>
147
    <xsd:sequence>
148
      <xsd:group ref="javaee:descriptionGroup"/>
149
      <xsd:choice>
150
        <xsd:element name="library-class"
151
                     type="javaee:fully-qualified-classType"/>
152
        <xsd:sequence>
153
          <xsd:element name="namespace"
154
                       type="javaee:string"/>
155
          <xsd:element minOccurs="0"
156
                       maxOccurs="1"
157
                       name="composite-library-name"
158
                       type="javaee:string"/>
159
          <xsd:choice minOccurs="0"
160
                      maxOccurs="unbounded">
161
            <xsd:element name="tag"
162
                         type="javaee:facelet-taglib-tagType"/>
163
            <xsd:element name="function"
164
                         type="javaee:facelet-taglib-functionType"/>
165
          </xsd:choice>
166
        </xsd:sequence>
167
      </xsd:choice>
168
      <xsd:element name="taglib-extension"
169
                   type="javaee:facelet-taglib-extensionType"
170
                   minOccurs="0"
171
                   maxOccurs="unbounded"/>
172
    </xsd:sequence>
173
    <xsd:attribute name="id"
174
                   type="xsd:ID"/>
175
    <xsd:attribute name="version"
176
                   type="javaee:facelet-taglib-versionType"
177
                   use="required"/>
178
  </xsd:complexType>
179
180
181
<!-- **************************************************** -->
182
183
  <xsd:complexType name="facelet-taglib-extensionType">
184
    <xsd:annotation>
185
      <xsd:documentation>
186
187
        Extension element for facelet-taglib. It may contain
188
        implementation specific content.
189
        
190
      </xsd:documentation>
191
    </xsd:annotation>
192
    <xsd:sequence>
193
      <xsd:any namespace="##any"
194
               processContents="lax"
195
               minOccurs="0"
196
               maxOccurs="unbounded"/>
197
    </xsd:sequence>
198
    <xsd:attribute name="id"
199
                   type="xsd:ID"/>
200
  </xsd:complexType>
201
202
203
<!-- **************************************************** -->
204
205
  <xsd:complexType name="facelet-taglib-tagType">
206
    <xsd:annotation>
207
      <xsd:documentation>
208
209
        If the tag library XML file contains individual tag
210
        declarations rather than pointing to a library-class or a
211
        declaring a composite-library name, the individual tags are
212
        enclosed in tag elements.
213
        
214
      </xsd:documentation>
215
    </xsd:annotation>
216
    <xsd:sequence>
217
      <xsd:group ref="javaee:descriptionGroup"/>
218
      <xsd:element name="tag-name"
219
                   type="javaee:facelet-taglib-canonical-nameType"/>
220
      <xsd:choice>
221
        <xsd:element name="handler-class"
222
                     type="javaee:fully-qualified-classType"/>
223
        <xsd:element name="behavior"
224
                     type="javaee:facelet-taglib-tag-behaviorType"/>
225
        <xsd:element name="component"
226
                     type="javaee:facelet-taglib-tag-componentType"/>
227
        <xsd:element name="converter"
228
                     type="javaee:facelet-taglib-tag-converterType"/>
229
        <xsd:element name="validator"
230
                     type="javaee:facelet-taglib-tag-validatorType"/>
231
        <xsd:element name="source"
232
                     type="javaee:string"/>
233
      </xsd:choice>
234
      <xsd:element name="attribute"
235
                   type="javaee:facelet-taglib-tag-attributeType"
236
                   minOccurs="0"
237
                   maxOccurs="unbounded"/>
238
      <xsd:element name="tag-extension"
239
                   type="javaee:facelet-taglib-tag-extensionType"
240
                   minOccurs="0"
241
                   maxOccurs="unbounded"/>
242
    </xsd:sequence>
243
  </xsd:complexType>
244
245
246
<!-- **************************************************** -->
247
248
  <xsd:complexType name="facelet-taglib-tag-attributeType">
249
    <xsd:annotation>
250
      <xsd:documentation>
251
252
        The attribute element defines an attribute for the nesting
253
        tag. The attribute element may have several subelements
254
        defining:
255
        
256
        description a description of the attribute
257
        
258
        name the name of the attribute
259
        
260
        required whether the attribute is required or
261
        optional
262
        
263
        type the type of the attribute
264
        
265
      </xsd:documentation>
266
    </xsd:annotation>
267
    <xsd:sequence>
268
      <xsd:group ref="javaee:descriptionGroup"/>
269
      <xsd:element name="name"
270
                   type="javaee:xsdNMTOKENType"/>
271
      <xsd:element name="required"
272
                   type="javaee:generic-booleanType"
273
                   minOccurs="0">
274
        <xsd:annotation>
275
          <xsd:documentation>
276
277
            Defines if the nesting attribute is required or
278
            optional.
279
            
280
            If not present then the default is "false", i.e
281
            the attribute is optional.
282
            
283
          </xsd:documentation>
284
        </xsd:annotation>
285
      </xsd:element>
286
      <xsd:choice>
287
        <xsd:element name="type"
288
                     type="javaee:fully-qualified-classType"
289
                     minOccurs="0">
290
          <xsd:annotation>
291
            <xsd:documentation>
292
293
              Defines the Java type of the attributes
294
              value. If this element is omitted, the
295
              expected type is assumed to be
296
              "java.lang.Object".
297
              
298
            </xsd:documentation>
299
          </xsd:annotation>
300
        </xsd:element>
301
        <xsd:element name="method-signature"
302
                     type="javaee:string"
303
                     minOccurs="0">
304
          <xsd:annotation>
305
            <xsd:documentation>
306
307
              Defines the method signature for a MethodExpression-
308
              enabled attribute.
309
              
310
            </xsd:documentation>
311
          </xsd:annotation>
312
        </xsd:element>
313
      </xsd:choice>
314
    </xsd:sequence>
315
    <xsd:attribute name="id"
316
                   type="xsd:ID"/>
317
  </xsd:complexType>
318
319
320
<!-- **************************************************** -->
321
322
  <xsd:complexType name="facelet-taglib-tag-extensionType">
323
    <xsd:annotation>
324
      <xsd:documentation>
325
326
        Extension element for tag It may contain
327
        implementation specific content.
328
        
329
      </xsd:documentation>
330
    </xsd:annotation>
331
    <xsd:sequence>
332
      <xsd:any namespace="##any"
333
               processContents="lax"
334
               minOccurs="0"
335
               maxOccurs="unbounded"/>
336
    </xsd:sequence>
337
    <xsd:attribute name="id"
338
                   type="xsd:ID"/>
339
  </xsd:complexType>
340
341
342
<!-- **************************************************** -->
343
344
  <xsd:complexType name="facelet-taglib-functionType">
345
    <xsd:annotation>
346
      <xsd:documentation>
347
348
        If the tag library XML file contains individual function
349
        declarations rather than pointing to a library-class or a
350
        declaring a composite-library name, the individual functions are
351
        enclosed in function elements.
352
        
353
      </xsd:documentation>
354
    </xsd:annotation>
355
    <xsd:sequence>
356
      <xsd:group ref="javaee:descriptionGroup"/>
357
      <xsd:element name="function-name"
358
                   type="javaee:string"/>
359
      <xsd:element name="function-class"
360
                   type="javaee:fully-qualified-classType"/>
361
      <xsd:element name="function-signature"
362
                   type="javaee:string"/>
363
    </xsd:sequence>
364
  </xsd:complexType>
365
366
367
<!-- **************************************************** -->
368
369
  <xsd:complexType name="facelet-taglib-tag-behaviorType">
370
    <xsd:annotation>
371
      <xsd:documentation>
372
373
        Within a tag element, the behavior element encapsulates
374
        information specific to a JSF Behavior.
375
        
376
      </xsd:documentation>
377
    </xsd:annotation>
378
    <xsd:sequence>
379
      <xsd:group ref="javaee:descriptionGroup"/>
380
      <xsd:element minOccurs="1"
381
                   maxOccurs="1"
382
                   name="behavior-id"
383
                   type="javaee:string"/>
384
      <xsd:element minOccurs="0"
385
                   maxOccurs="1"
386
                   name="handler-class"
387
                   type="javaee:fully-qualified-classType"/>
388
      <xsd:element name="behavior-extension"
389
                   type="javaee:facelet-taglib-tag-behavior-extensionType"
390
                   minOccurs="0"
391
                   maxOccurs="unbounded"/>
392
    </xsd:sequence>
393
  </xsd:complexType>
394
395
396
<!-- **************************************************** -->
397
398
  <xsd:complexType name="facelet-taglib-tag-behavior-extensionType">
399
    <xsd:annotation>
400
      <xsd:documentation>
401
402
        Extension element for behavior. It may contain
403
        implementation specific content.
404
        
405
      </xsd:documentation>
406
    </xsd:annotation>
407
    <xsd:sequence>
408
      <xsd:any namespace="##any"
409
               processContents="lax"
410
               minOccurs="0"
411
               maxOccurs="unbounded"/>
412
    </xsd:sequence>
413
    <xsd:attribute name="id"
414
                   type="xsd:ID"/>
415
  </xsd:complexType>
416
417
418
<!-- **************************************************** -->
419
420
  <xsd:complexType name="facelet-taglib-tag-componentType">
421
    <xsd:annotation>
422
      <xsd:documentation>
423
424
        Within a tag element, the component element encapsulates
425
        information specific to a JSF UIComponent.
426
        
427
      </xsd:documentation>
428
    </xsd:annotation>
429
    <xsd:sequence>
430
      <xsd:group ref="javaee:descriptionGroup"/>
431
      <xsd:choice minOccurs="0"
432
                  maxOccurs="unbounded">
433
        <xsd:element name="component-type"
434
                     type="javaee:string"/>
435
        <xsd:element name="resource-id"
436
                     type="javaee:string"/>
437
        <xsd:element name="handler-class"
438
                     type="javaee:fully-qualified-classType"/>
439
      </xsd:choice>
440
      <xsd:element minOccurs="0"
441
                   maxOccurs="1"
442
                   name="renderer-type"
443
                   type="javaee:string"/>
444
      <xsd:element name="component-extension"
445
                   type="javaee:facelet-taglib-tag-component-extensionType"
446
                   minOccurs="0"
447
                   maxOccurs="unbounded"/>
448
    </xsd:sequence>
449
  </xsd:complexType>
450
451
452
<!-- **************************************************** -->
453
454
  <xsd:complexType name="facelet-taglib-tag-component-extensionType">
455
    <xsd:annotation>
456
      <xsd:documentation>
457
458
        Extension element for component It may contain
459
        implementation specific content.
460
        
461
      </xsd:documentation>
462
    </xsd:annotation>
463
    <xsd:sequence>
464
      <xsd:any namespace="##any"
465
               processContents="lax"
466
               minOccurs="0"
467
               maxOccurs="unbounded"/>
468
    </xsd:sequence>
469
    <xsd:attribute name="id"
470
                   type="xsd:ID"/>
471
  </xsd:complexType>
472
473
474
<!-- **************************************************** -->
475
476
  <xsd:complexType name="facelet-taglib-tag-converterType">
477
    <xsd:annotation>
478
      <xsd:documentation>
479
480
        Within a tag element, the converter element encapsulates
481
        information specific to a JSF Converter.
482
        
483
      </xsd:documentation>
484
    </xsd:annotation>
485
    <xsd:sequence>
486
      <xsd:group ref="javaee:descriptionGroup"/>
487
      <xsd:element minOccurs="1"
488
                   maxOccurs="1"
489
                   name="converter-id"
490
                   type="javaee:string"/>
491
      <xsd:element minOccurs="0"
492
                   maxOccurs="1"
493
                   name="handler-class"
494
                   type="javaee:fully-qualified-classType"/>
495
      <xsd:element name="converter-extension"
496
                   type="javaee:facelet-taglib-tag-converter-extensionType"
497
                   minOccurs="0"
498
                   maxOccurs="unbounded"/>
499
    </xsd:sequence>
500
  </xsd:complexType>
501
502
503
<!-- **************************************************** -->
504
505
  <xsd:complexType name="facelet-taglib-tag-converter-extensionType">
506
    <xsd:annotation>
507
      <xsd:documentation>
508
509
        Extension element for converter It may contain
510
        implementation specific content.
511
        
512
      </xsd:documentation>
513
    </xsd:annotation>
514
    <xsd:sequence>
515
      <xsd:any namespace="##any"
516
               processContents="lax"
517
               minOccurs="0"
518
               maxOccurs="unbounded"/>
519
    </xsd:sequence>
520
    <xsd:attribute name="id"
521
                   type="xsd:ID"/>
522
  </xsd:complexType>
523
524
525
<!-- **************************************************** -->
526
527
  <xsd:complexType name="facelet-taglib-tag-validatorType">
528
    <xsd:annotation>
529
      <xsd:documentation>
530
531
        Within a tag element, the validator element encapsulates
532
        information specific to a JSF Validator.
533
        
534
      </xsd:documentation>
535
    </xsd:annotation>
536
    <xsd:sequence>
537
      <xsd:group ref="javaee:descriptionGroup"/>
538
      <xsd:element minOccurs="1"
539
                   maxOccurs="1"
540
                   name="validator-id"
541
                   type="javaee:string"/>
542
      <xsd:element minOccurs="0"
543
                   maxOccurs="1"
544
                   name="handler-class"
545
                   type="javaee:fully-qualified-classType"/>
546
      <xsd:element name="validator-extension"
547
                   type="javaee:facelet-taglib-tag-validator-extensionType"
548
                   minOccurs="0"
549
                   maxOccurs="unbounded"/>
550
    </xsd:sequence>
551
  </xsd:complexType>
552
553
554
<!-- **************************************************** -->
555
556
  <xsd:complexType name="facelet-taglib-tag-validator-extensionType">
557
    <xsd:annotation>
558
      <xsd:documentation>
559
560
        Extension element for validator It may contain
561
        implementation specific content.
562
        
563
      </xsd:documentation>
564
    </xsd:annotation>
565
    <xsd:sequence>
566
      <xsd:any namespace="##any"
567
               processContents="lax"
568
               minOccurs="0"
569
               maxOccurs="unbounded"/>
570
    </xsd:sequence>
571
    <xsd:attribute name="id"
572
                   type="xsd:ID"/>
573
  </xsd:complexType>
574
575
  <xsd:simpleType name="facelet-taglib-versionType">
576
    <xsd:annotation>
577
      <xsd:documentation>
578
579
        This type contains the recognized versions of
580
        facelet-taglib supported.
581
        
582
      </xsd:documentation>
583
    </xsd:annotation>
584
    <xsd:restriction base="xsd:token">
585
      <xsd:enumeration value="2.2"/>
586
    </xsd:restriction>
587
  </xsd:simpleType>
588
589
590
<!-- **************************************************** -->
591
592
  <xsd:complexType name="facelet-taglib-canonical-nameType">
593
    <xsd:annotation>
594
      <xsd:documentation>
595
596
        Defines the canonical name of a tag or attribute being
597
        defined.
598
        
599
        The name must conform to the lexical rules for an NCName
600
        
601
      </xsd:documentation>
602
    </xsd:annotation>
603
    <xsd:simpleContent>
604
      <xsd:extension base="xsd:NCName">
605
        <xsd:attribute name="id"
606
                       type="xsd:ID"/>
607
      </xsd:extension>
608
    </xsd:simpleContent>
609
  </xsd:complexType>
610
611
</xsd:schema>
(-)a/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/web-facesconfig_2_2.xsd (+3781 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsd:schema xmlns:javaee="http://xmlns.jcp.org/xml/ns/javaee"
3
            attributeFormDefault="unqualified"
4
            elementFormDefault="qualified"
5
            targetNamespace="http://xmlns.jcp.org/xml/ns/javaee"
6
            version="2.2"
7
            xmlns:xsd="http://www.w3.org/2001/XMLSchema">
8
  <xsd:include schemaLocation="javaee_7.xsd"/>
9
10
  <xsd:annotation>
11
    <xsd:documentation>
12
13
      DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
14
      
15
      Copyright (c) 2011 - 2013 Oracle and/or its affiliates. All rights reserved.
16
      
17
      The contents of this file are subject to the terms of either the GNU
18
      General Public License Version 2 only ("GPL") or the Common Development
19
      and Distribution License("CDDL") (collectively, the "License").  You
20
      may not use this file except in compliance with the License.  You can
21
      obtain a copy of the License at
22
      https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
23
      or packager/legal/LICENSE.txt.  See the License for the specific
24
      language governing permissions and limitations under the License.
25
      
26
      When distributing the software, include this License Header Notice in each
27
      file and include the License file at packager/legal/LICENSE.txt.
28
      
29
      GPL Classpath Exception:
30
      Oracle designates this particular file as subject to the "Classpath"
31
      exception as provided by Oracle in the GPL Version 2 section of the License
32
      file that accompanied this code.
33
      
34
      Modifications:
35
      If applicable, add the following below the License Header, with the fields
36
      enclosed by brackets [] replaced by your own identifying information:
37
      "Portions Copyright [year] [name of copyright owner]"
38
      
39
      Contributor(s):
40
      If you wish your version of this file to be governed by only the CDDL or
41
      only the GPL Version 2, indicate your decision by adding "[Contributor]
42
      elects to include this software in this distribution under the [CDDL or GPL
43
      Version 2] license."  If you don't indicate a single choice of license, a
44
      recipient has the option to distribute your version of this file under
45
      either the CDDL, the GPL Version 2 or to extend the choice of license to
46
      its licensees as provided above.  However, if you add GPL Version 2 code
47
      and therefore, elected the GPL Version 2 license, then the option applies
48
      only if the new code is made subject to such option by the copyright
49
      holder.
50
      
51
    </xsd:documentation>
52
  </xsd:annotation>
53
54
  <xsd:annotation>
55
    <xsd:documentation>
56
      <![CDATA[[
57
      <p>The XML Schema for the JavaServer Faces Application
58
      Configuration File (Version 2.2).</p>
59
      
60
      <p>All JavaServer Faces configuration files must indicate
61
      the JavaServer Faces schema by indicating the JavaServer
62
      Faces namespace:</p>
63
      
64
      <p>http://xmlns.jcp.org/xml/ns/javaee</p>
65
      
66
      <p>and by indicating the version of the schema by
67
      using the version element as shown below:</p>
68
      
69
      <pre>&lt;faces-config xmlns="http://xmlns.jcp.org/xml/ns/javaee"
70
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
71
      xsi:schemaLocation="..."
72
      version="2.2"&gt;
73
      ...
74
      &lt;/faces-config&gt;</pre>
75
      
76
      <p>The instance documents may indicate the published
77
      version of the schema using xsi:schemaLocation attribute
78
      for javaee namespace with the following location:</p>
79
      
80
      <p>http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd</p>
81
      
82
      ]]>
83
    </xsd:documentation>
84
  </xsd:annotation>
85
86
87
<!-- **************************************************** -->
88
89
  <xsd:element name="faces-config"
90
               type="javaee:faces-configType">
91
    <xsd:annotation>
92
      <xsd:documentation>
93
        <![CDATA[[
94
        <p>The "faces-config" element is the root of the configuration
95
        information hierarchy, and contains nested elements for all
96
        of the other configuration settings.</p>
97
        
98
        ]]>
99
      </xsd:documentation>
100
    </xsd:annotation>
101
    <xsd:unique name="faces-config-behavior-ID-uniqueness">
102
      <xsd:annotation>
103
        <xsd:documentation>
104
          <![CDATA[[
105
          <p>Behavior IDs must be unique within a document.</p>
106
          
107
          ]]>
108
        </xsd:documentation>
109
      </xsd:annotation>
110
      <xsd:selector xpath="javaee:behavior"/>
111
      <xsd:field xpath="javaee:behavior-id"/>
112
    </xsd:unique>
113
    <xsd:unique name="faces-config-converter-ID-uniqueness">
114
      <xsd:annotation>
115
        <xsd:documentation>
116
          <![CDATA[[
117
          <p>Converter IDs must be unique within a document.</p>
118
          
119
          ]]>
120
        </xsd:documentation>
121
      </xsd:annotation>
122
      <xsd:selector xpath="javaee:converter"/>
123
      <xsd:field xpath="javaee:converter-id"/>
124
    </xsd:unique>
125
    <xsd:unique name="faces-config-converter-for-class-uniqueness">
126
      <xsd:annotation>
127
        <xsd:documentation>
128
          <![CDATA[[
129
          <p>'converter-for-class' element values must be unique
130
          within a document.</p>
131
          
132
          ]]>
133
        </xsd:documentation>
134
      </xsd:annotation>
135
      <xsd:selector xpath="javaee:converter"/>
136
      <xsd:field xpath="javaee:converter-for-class"/>
137
    </xsd:unique>
138
    <xsd:unique name="faces-config-validator-ID-uniqueness">
139
      <xsd:annotation>
140
        <xsd:documentation>
141
          <![CDATA[[
142
          <p> Validator IDs must be unique within a document.</p>
143
          
144
          ]]>
145
        </xsd:documentation>
146
      </xsd:annotation>
147
      <xsd:selector xpath="javaee:validator"/>
148
      <xsd:field xpath="javaee:validator-id"/>
149
    </xsd:unique>
150
    <xsd:unique name="faces-config-managed-bean-name-uniqueness">
151
      <xsd:annotation>
152
        <xsd:documentation>
153
          <![CDATA[[
154
          <p> Managed bean names must be unique within a document.</p>
155
          
156
          ]]>
157
        </xsd:documentation>
158
      </xsd:annotation>
159
      <xsd:selector xpath="javaee:managed-bean"/>
160
      <xsd:field xpath="javaee:managed-bean-name"/>
161
    </xsd:unique>
162
  </xsd:element>
163
164
165
<!-- **************************************************** -->
166
167
  <xsd:complexType name="faces-configType">
168
    <xsd:annotation>
169
      <xsd:documentation>
170
        <![CDATA[[
171
        <p> The "faces-config" element is the root of the configuration
172
        information hierarchy, and contains nested elements for all
173
        of the other configuration settings.</p>
174
        
175
        ]]>
176
      </xsd:documentation>
177
    </xsd:annotation>
178
    <xsd:choice minOccurs="0"
179
                maxOccurs="unbounded">
180
      <xsd:element name="application"
181
                   type="javaee:faces-config-applicationType"/>
182
      <xsd:element name="ordering"
183
                   type="javaee:faces-config-orderingType"/>
184
      <xsd:element name="absolute-ordering"
185
                   type="javaee:faces-config-absoluteOrderingType"
186
                   minOccurs="0"/>
187
      <xsd:element name="factory"
188
                   type="javaee:faces-config-factoryType"/>
189
      <xsd:element name="component"
190
                   type="javaee:faces-config-componentType"/>
191
      <xsd:element name="converter"
192
                   type="javaee:faces-config-converterType"/>
193
      <xsd:element name="managed-bean"
194
                   type="javaee:faces-config-managed-beanType"/>
195
      <xsd:element name="flow-definition"
196
                   type="javaee:faces-config-flow-definitionType"/>
197
      <xsd:element name="name"
198
                   type="javaee:java-identifierType"
199
                   minOccurs="0">
200
        <xsd:annotation>
201
          <xsd:documentation>
202
            <![CDATA[[
203
            <p> <span class="changed_modified_2_2">The</span> "name" element 
204
            within the top level "faces-config"
205
            element declares the name of this application
206
            configuration resource.  Such names are used
207
            in the document ordering scheme specified in section
208
            JSF.11.4.6.</p>
209
            
210
            <p class="changed_added_2_2">This value is taken to be the 
211
            defining document id of any &lt;flow-definition&gt; elements 
212
            defined in this Application Configuration Resource file.  If this
213
            element is not specified, the runtime must take the empty string 
214
            as its value.</p>
215
            
216
            ]]>
217
          </xsd:documentation>
218
        </xsd:annotation>
219
      </xsd:element>
220
      <xsd:element name="navigation-rule"
221
                   type="javaee:faces-config-navigation-ruleType"/>
222
      <xsd:element name="protected-views"
223
                   type="javaee:faces-config-protected-viewsType"
224
                   minOccurs="0"
225
                   maxOccurs="unbounded"/>
226
      <xsd:element name="referenced-bean"
227
                   type="javaee:faces-config-referenced-beanType"/>
228
      <xsd:element name="render-kit"
229
                   type="javaee:faces-config-render-kitType"/>
230
      <xsd:element name="lifecycle"
231
                   type="javaee:faces-config-lifecycleType"/>
232
      <xsd:element name="validator"
233
                   type="javaee:faces-config-validatorType"/>
234
      <xsd:element name="behavior"
235
                   type="javaee:faces-config-behaviorType"/>
236
      <xsd:element name="faces-config-extension"
237
                   type="javaee:faces-config-extensionType"
238
                   minOccurs="0"
239
                   maxOccurs="unbounded"/>
240
    </xsd:choice>
241
    <xsd:attribute name="metadata-complete"
242
                   type="xsd:boolean"
243
                   use="optional">
244
      <xsd:annotation>
245
        <xsd:documentation>
246
247
          The metadata-complete attribute defines whether this
248
          JavaServer Faces application is complete, or whether
249
          the class files available to this module and packaged with
250
          this application should be examined for annotations
251
          that specify configuration information.
252
          
253
          This attribute is only inspected on the application 
254
          configuration resource file located at "WEB-INF/faces-config.xml".
255
          The presence of this attribute on any application configuration
256
          resource other than the one located at "WEB-INF/faces-config.xml",
257
          including any files named using the javax.faces.CONFIG_FILES
258
          attribute, must be ignored.
259
          
260
          If metadata-complete is set to "true", the JavaServer Faces
261
          runtime must ignore any annotations that specify configuration
262
          information, which might be present in the class files
263
          of the application.
264
          
265
          If metadata-complete is not specified or is set to
266
          "false", the JavaServer Faces runtime must examine the class
267
          files of the application for annotations, as specified by
268
          the specification.
269
          
270
          If "WEB-INF/faces-config.xml" is not present, the JavaServer
271
          Faces runtime will assume metadata-complete to be "false".
272
          
273
          The value of this attribute will have no impact on
274
          runtime annotations such as @ResourceDependency or
275
          @ListenerFor.
276
          
277
        </xsd:documentation>
278
      </xsd:annotation>
279
    </xsd:attribute>
280
    <xsd:attribute name="id"
281
                   type="xsd:ID"/>
282
    <xsd:attribute name="version"
283
                   type="javaee:faces-config-versionType"
284
                   use="required"/>
285
  </xsd:complexType>
286
287
288
<!-- **************************************************** -->
289
290
  <xsd:complexType name="faces-config-extensionType">
291
    <xsd:annotation>
292
      <xsd:documentation>
293
        <![CDATA[[
294
        <p> Extension element for faces-config.  It may contain
295
        implementation specific content.</p>
296
        
297
        ]]>
298
      </xsd:documentation>
299
    </xsd:annotation>
300
    <xsd:sequence>
301
      <xsd:any minOccurs="0"
302
               maxOccurs="unbounded"
303
               namespace="##any"
304
               processContents="lax"/>
305
    </xsd:sequence>
306
    <xsd:attribute name="id"
307
                   type="xsd:ID"/>
308
  </xsd:complexType>
309
310
311
<!-- **************************************************** -->
312
313
  <xsd:complexType name="faces-config-orderingType">
314
    <xsd:annotation>
315
      <xsd:documentation>
316
        <![CDATA[[
317
        <p> Please see section JSF.11.4.6 for the specification of this element.</p>
318
        
319
        ]]>
320
      </xsd:documentation>
321
    </xsd:annotation>
322
    <xsd:sequence>
323
      <xsd:element name="after"
324
                   type="javaee:faces-config-ordering-orderingType"
325
                   minOccurs="0"/>
326
      <xsd:element name="before"
327
                   type="javaee:faces-config-ordering-orderingType"
328
                   minOccurs="0"/>
329
    </xsd:sequence>
330
    <xsd:attribute name="id"
331
                   type="xsd:ID"/>
332
  </xsd:complexType>
333
334
335
<!-- **************************************************** -->
336
337
  <xsd:complexType name="faces-config-ordering-orderingType">
338
    <xsd:annotation>
339
      <xsd:documentation>
340
        <![CDATA[[
341
        <p> This element contains a sequence of "id" elements, each of which
342
        refers to an application configuration resource by the "id"
343
        declared on its faces-config element.  This element can also contain
344
        a single "others" element which specifies that this document comes
345
        before or after other documents within the application.</p>
346
        
347
        ]]>
348
      </xsd:documentation>
349
    </xsd:annotation>
350
    <xsd:sequence>
351
      <xsd:element name="name"
352
                   type="javaee:java-identifierType"
353
                   minOccurs="0"
354
                   maxOccurs="unbounded"/>
355
      <xsd:element name="others"
356
                   type="javaee:faces-config-ordering-othersType"
357
                   minOccurs="0"/>
358
    </xsd:sequence>
359
    <xsd:attribute name="id"
360
                   type="xsd:ID"/>
361
  </xsd:complexType>
362
363
364
<!-- **************************************************** -->
365
366
  <xsd:complexType name="faces-config-ordering-othersType">
367
    <xsd:annotation>
368
      <xsd:documentation>
369
        <![CDATA[[
370
        <p> This element indicates that the ordering sub-element in which
371
        it was placed should take special action regarding the ordering
372
        of this application resource relative to other
373
        application configuration resources.  See section JSF.11.4.6
374
        for the complete specification.</p>
375
        
376
        ]]>
377
      </xsd:documentation>
378
    </xsd:annotation>
379
    <xsd:attribute name="id"
380
                   type="xsd:ID"/>
381
  </xsd:complexType>
382
383
384
<!-- **************************************************** -->
385
386
  <xsd:complexType name="faces-config-absoluteOrderingType">
387
    <xsd:annotation>
388
      <xsd:documentation>
389
        <![CDATA[[
390
        <p> Only relevant if this is placed within the /WEB-INF/faces-config.xml.
391
        Please see section JSF.11.4.6 for the specification for details.</p>
392
        
393
        ]]>
394
      </xsd:documentation>
395
    </xsd:annotation>
396
    <xsd:choice minOccurs="0"
397
                maxOccurs="unbounded">
398
      <xsd:element name="name"
399
                   type="javaee:java-identifierType"
400
                   minOccurs="0"
401
                   maxOccurs="unbounded"/>
402
      <xsd:element name="others"
403
                   type="javaee:faces-config-ordering-othersType"
404
                   minOccurs="0"/>
405
    </xsd:choice>
406
    <xsd:attribute name="id"
407
                   type="xsd:ID"/>
408
  </xsd:complexType>
409
410
411
<!-- **************************************************** -->
412
413
  <xsd:complexType name="faces-config-applicationType">
414
    <xsd:annotation>
415
      <xsd:documentation>
416
        <![CDATA[[
417
        <p> The "application" element provides a mechanism to define the
418
        various per-application-singleton implementation artifacts for
419
        a particular web application that is utilizing
420
        JavaServer Faces.  For nested elements that are not specified,
421
        the JSF implementation must provide a suitable default.</p>
422
        
423
        ]]>
424
      </xsd:documentation>
425
    </xsd:annotation>
426
    <xsd:choice minOccurs="0"
427
                maxOccurs="unbounded">
428
      <xsd:element name="action-listener"
429
                   type="javaee:fully-qualified-classType">
430
        <xsd:annotation>
431
          <xsd:documentation>
432
            <![CDATA[[
433
            <p> The "action-listener" element contains the fully
434
            qualified class name of the concrete
435
            ActionListener implementation class that will be
436
            called during the Invoke Application phase of the
437
            request processing lifecycle.</p>
438
            
439
            ]]>
440
          </xsd:documentation>
441
        </xsd:annotation>
442
      </xsd:element>
443
      <xsd:element name="default-render-kit-id"
444
                   type="javaee:string">
445
        <xsd:annotation>
446
          <xsd:documentation>
447
            <![CDATA[[
448
            <p> The "default-render-kit-id" element allows the
449
            application to define a renderkit to be used other
450
            than the standard one.</p>
451
            
452
            ]]>
453
          </xsd:documentation>
454
        </xsd:annotation>
455
      </xsd:element>
456
      <xsd:element name="message-bundle"
457
                   type="javaee:string">
458
        <xsd:annotation>
459
          <xsd:documentation>
460
            <![CDATA[[
461
            <p> The base name of a resource bundle representing
462
            the message resources for this application.  See
463
            the JavaDocs for the "java.util.ResourceBundle"
464
            class for more information on the syntax of
465
            resource bundle names.</p>
466
            
467
            ]]>
468
          </xsd:documentation>
469
        </xsd:annotation>
470
      </xsd:element>
471
      <xsd:element name="navigation-handler"
472
                   type="javaee:fully-qualified-classType">
473
        <xsd:annotation>
474
          <xsd:documentation>
475
            <![CDATA[[
476
            <p> The "navigation-handler" element contains the
477
            fully qualified class name of the concrete
478
            NavigationHandler implementation class that will
479
            be called during the Invoke Application phase
480
            of the request processing lifecycle, if the
481
            default ActionListener (provided by the JSF
482
            implementation) is used.</p>
483
            
484
            ]]>
485
          </xsd:documentation>
486
        </xsd:annotation>
487
      </xsd:element>
488
      <xsd:element name="view-handler"
489
                   type="javaee:fully-qualified-classType">
490
        <xsd:annotation>
491
          <xsd:documentation>
492
            <![CDATA[[
493
            <p> The "view-handler" element contains the fully
494
            qualified class name of the concrete ViewHandler
495
            implementation class that will be called during
496
            the Restore View and Render Response phases of the
497
            request processing lifecycle.  The faces
498
            implementation must provide a default
499
            implementation of this class.</p>
500
            
501
            ]]>
502
          </xsd:documentation>
503
        </xsd:annotation>
504
      </xsd:element>
505
      <xsd:element name="state-manager"
506
                   type="javaee:fully-qualified-classType">
507
        <xsd:annotation>
508
          <xsd:documentation>
509
            <![CDATA[[
510
            <p> The "state-manager" element contains the fully
511
            qualified class name of the concrete StateManager
512
            implementation class that will be called during
513
            the Restore View and Render Response phases of the
514
            request processing lifecycle.  The faces
515
            implementation must provide a default
516
            implementation of this class.</p>
517
            
518
            ]]>
519
          </xsd:documentation>
520
        </xsd:annotation>
521
      </xsd:element>
522
      <xsd:element name="el-resolver"
523
                   type="javaee:fully-qualified-classType">
524
        <xsd:annotation>
525
          <xsd:documentation>
526
            <![CDATA[[
527
            <p> The "el-resolver" element contains the fully
528
            qualified class name of the concrete
529
            javax.el.ELResolver implementation class
530
            that will be used during the processing of
531
            EL expressions.</p>
532
            
533
            ]]>
534
          </xsd:documentation>
535
        </xsd:annotation>
536
      </xsd:element>
537
      <xsd:element name="property-resolver"
538
                   type="javaee:fully-qualified-classType">
539
        <xsd:annotation>
540
          <xsd:documentation>
541
            <![CDATA[[
542
            <p> The "property-resolver" element contains the fully
543
            qualified class name of the concrete
544
            PropertyResolver implementation class that will
545
            be used during the processing of value binding
546
            expressions.</p>
547
            
548
            ]]>
549
          </xsd:documentation>
550
        </xsd:annotation>
551
      </xsd:element>
552
      <xsd:element name="variable-resolver"
553
                   type="javaee:fully-qualified-classType">
554
        <xsd:annotation>
555
          <xsd:documentation>
556
            <![CDATA[[
557
            <p> The "variable-resolver" element contains the fully
558
            qualified class name of the concrete
559
            VariableResolver implementation class that will
560
            be used during the processing of value binding
561
            expressions.</p>
562
            
563
            ]]>
564
          </xsd:documentation>
565
        </xsd:annotation>
566
      </xsd:element>
567
      <xsd:element name="resource-handler"
568
                   type="javaee:fully-qualified-classType">
569
        <xsd:annotation>
570
          <xsd:documentation>
571
            <![CDATA[[
572
            <p> The "resource-handler" element contains the
573
            fully qualified class name of the concrete
574
            ResourceHandler implementation class that
575
            will be used during rendering and decoding
576
            of resource requests The standard
577
            constructor based decorator pattern used for
578
            other application singletons will be
579
            honored.</p>
580
            
581
            ]]>
582
          </xsd:documentation>
583
        </xsd:annotation>
584
      </xsd:element>
585
      <xsd:element name="resource-library-contracts"
586
                   type="javaee:faces-config-application-resource-library-contractsType">
587
        <xsd:annotation>
588
          <xsd:documentation>
589
            <![CDATA[[
590
            <p class="changed_added_2_2">The "resource-library-contracts" element
591
            specifies the mappings between views in the application and resource
592
            library contracts that, if present in the application, must be made
593
            available for use as templates of the specified views.
594
            </p>
595
            
596
            ]]>
597
          </xsd:documentation>
598
        </xsd:annotation>
599
      </xsd:element>
600
      <xsd:element name="system-event-listener"
601
                   type="javaee:faces-config-system-event-listenerType"
602
                   minOccurs="0"
603
                   maxOccurs="unbounded"/>
604
      <xsd:element name="locale-config"
605
                   type="javaee:faces-config-locale-configType"/>
606
      <xsd:element name="resource-bundle"
607
                   type="javaee:faces-config-application-resource-bundleType"/>
608
      <xsd:element name="application-extension"
609
                   type="javaee:faces-config-application-extensionType"
610
                   minOccurs="0"
611
                   maxOccurs="unbounded"/>
612
      <xsd:element name="default-validators"
613
                   type="javaee:faces-config-default-validatorsType"/>
614
    </xsd:choice>
615
    <xsd:attribute name="id"
616
                   type="xsd:ID"/>
617
  </xsd:complexType>
618
619
620
<!-- **************************************************** -->
621
622
  <xsd:complexType name="faces-config-application-resource-bundleType">
623
    <xsd:annotation>
624
      <xsd:documentation>
625
        <![CDATA[[
626
        <p> The resource-bundle element inside the application element
627
        references a java.util.ResourceBundle instance by name
628
        using the var element.  ResourceBundles referenced in this
629
        manner may be returned by a call to
630
        Application.getResourceBundle() passing the current
631
        FacesContext for this request and the value of the var
632
        element below.</p>
633
        
634
        ]]>
635
      </xsd:documentation>
636
    </xsd:annotation>
637
    <xsd:sequence>
638
      <xsd:group ref="javaee:descriptionGroup"/>
639
      <xsd:element name="base-name"
640
                   type="javaee:fully-qualified-classType">
641
        <xsd:annotation>
642
          <xsd:documentation>
643
            <![CDATA[[
644
            <p> The fully qualified class name of the
645
            java.util.ResourceBundle instance.</p>
646
            
647
            ]]>
648
          </xsd:documentation>
649
        </xsd:annotation>
650
      </xsd:element>
651
      <xsd:element name="var"
652
                   type="javaee:string">
653
        <xsd:annotation>
654
          <xsd:documentation>
655
            <![CDATA[[
656
            <p> The name by which this ResourceBundle instance
657
            is retrieved by a call to
658
            Application.getResourceBundle().</p>
659
            
660
            ]]>
661
          </xsd:documentation>
662
        </xsd:annotation>
663
      </xsd:element>
664
    </xsd:sequence>
665
    <xsd:attribute name="id"
666
                   type="xsd:ID"/>
667
  </xsd:complexType>
668
669
670
<!-- **************************************************** -->
671
672
  <xsd:complexType name="faces-config-application-resource-library-contractsType">
673
    <xsd:annotation>
674
      <xsd:documentation>
675
        <![CDATA[[
676
        <p class="changed_added_2_2">The "resource-library-contracts" element
677
        specifies the mappings between views in the application and resource
678
        library contracts that, if present in the application, must be made
679
        available for use as templates of the specified views.
680
        </p>
681
        
682
        ]]>
683
      </xsd:documentation>
684
    </xsd:annotation>
685
    <xsd:sequence>
686
      <xsd:group ref="javaee:descriptionGroup"/>
687
      <xsd:element name="contract-mapping"
688
                   type="javaee:faces-config-application-resource-library-contracts-contract-mappingType"
689
                   maxOccurs="unbounded">
690
        <xsd:annotation>
691
          <xsd:documentation>
692
            <![CDATA[[
693
            <p classes="changed_added_2_2">Declare a mapping between a collection
694
            of views in the application and the list of contracts (if present in the application)
695
            that may be used as a source for templates and resources for those views.</p>
696
            
697
            ]]>
698
          </xsd:documentation>
699
        </xsd:annotation>
700
      </xsd:element>
701
    </xsd:sequence>
702
    <xsd:attribute name="id"
703
                   type="xsd:ID"/>
704
  </xsd:complexType>
705
706
707
<!-- **************************************************** -->
708
709
  <xsd:complexType name="faces-config-application-resource-library-contracts-contract-mappingType">
710
    <xsd:annotation>
711
      <xsd:documentation>
712
        <![CDATA[[
713
        <p class="changed_added_2_2">The "contract-mapping" element
714
        specifies the mappings between a collection of views in the application and resource
715
        library contracts that, if present in the application, must be made
716
        available for use as templates of the specified views.
717
        </p>
718
        
719
        ]]>
720
      </xsd:documentation>
721
    </xsd:annotation>
722
    <xsd:sequence>
723
      <xsd:group ref="javaee:descriptionGroup"/>
724
      <xsd:element name="url-pattern"
725
                   type="javaee:url-patternType"
726
                   maxOccurs="unbounded">
727
        <xsd:annotation>
728
          <xsd:documentation>
729
            <![CDATA[[
730
            <p class="changed_added_2_2">The "url-pattern" element
731
            specifies the collection of views in this application that 
732
            are allowed to use the corresponding contracts.
733
            </p>
734
            
735
            ]]>
736
          </xsd:documentation>
737
        </xsd:annotation>
738
      </xsd:element>
739
      <xsd:element name="contracts"
740
                   type="javaee:string"
741
                   maxOccurs="unbounded">
742
        <xsd:annotation>
743
          <xsd:documentation>
744
            <![CDATA[[
745
            <p class="changed_added_2_2">The "contracts" element
746
            is a comma separated list of resource library contracts that,
747
            if available to the application, may be used by the views
748
            matched by the corresponding "url-pattern"
749
            </p>
750
            
751
            ]]>
752
          </xsd:documentation>
753
        </xsd:annotation>
754
      </xsd:element>
755
    </xsd:sequence>
756
    <xsd:attribute name="id"
757
                   type="xsd:ID"/>
758
  </xsd:complexType>
759
760
761
<!-- **************************************************** -->
762
763
  <xsd:complexType name="faces-config-application-extensionType">
764
    <xsd:annotation>
765
      <xsd:documentation>
766
        <![CDATA[[
767
        <p> Extension element for application.  It may contain
768
        implementation specific content.</p>
769
        
770
        ]]>
771
      </xsd:documentation>
772
    </xsd:annotation>
773
    <xsd:sequence>
774
      <xsd:any minOccurs="0"
775
               maxOccurs="unbounded"
776
               namespace="##any"
777
               processContents="lax"/>
778
    </xsd:sequence>
779
    <xsd:attribute name="id"
780
                   type="xsd:ID"/>
781
  </xsd:complexType>
782
783
784
<!-- **************************************************** -->
785
786
  <xsd:complexType name="faces-config-factoryType">
787
    <xsd:annotation>
788
      <xsd:documentation>
789
        <![CDATA[[
790
        <p> The "factory" element provides a mechanism to define the
791
        various Factories that comprise parts of the implementation
792
        of JavaServer Faces.  For nested elements that are not
793
        specified, the JSF implementation must provide a suitable
794
        default.</p>
795
        
796
        ]]>
797
      </xsd:documentation>
798
    </xsd:annotation>
799
    <xsd:choice minOccurs="0"
800
                maxOccurs="unbounded">
801
      <xsd:element name="application-factory"
802
                   type="javaee:fully-qualified-classType">
803
        <xsd:annotation>
804
          <xsd:documentation>
805
            <![CDATA[[
806
            <p> The "application-factory" element contains the
807
            fully qualified class name of the concrete
808
            ApplicationFactory implementation class that will
809
            be called when
810
            FactoryFinder.getFactory(APPLICATION_FACTORY) is
811
            called.</p>
812
            
813
            ]]>
814
          </xsd:documentation>
815
        </xsd:annotation>
816
      </xsd:element>
817
      <xsd:element name="exception-handler-factory"
818
                   type="javaee:fully-qualified-classType">
819
        <xsd:annotation>
820
          <xsd:documentation>
821
            <![CDATA[[
822
            <p> The "exception-handler-factory" element contains the
823
            fully qualified class name of the concrete
824
            ExceptionHandlerFactory implementation class that will
825
            be called when
826
            FactoryFinder.getFactory(EXCEPTION_HANDLER_FACTORY)
827
            is called.</p>
828
            
829
            ]]>
830
          </xsd:documentation>
831
        </xsd:annotation>
832
      </xsd:element>
833
      <xsd:element name="external-context-factory"
834
                   type="javaee:fully-qualified-classType">
835
        <xsd:annotation>
836
          <xsd:documentation>
837
            <![CDATA[[
838
            <p> The "external-context-factory" element contains the
839
            fully qualified class name of the concrete
840
            ExternalContextFactory implementation class that will
841
            be called when
842
            FactoryFinder.getFactory(EXTERNAL_CONTEXT_FACTORY)
843
            is called.</p>
844
            
845
            ]]>
846
          </xsd:documentation>
847
        </xsd:annotation>
848
      </xsd:element>
849
      <xsd:element name="faces-context-factory"
850
                   type="javaee:fully-qualified-classType">
851
        <xsd:annotation>
852
          <xsd:documentation>
853
            <![CDATA[[
854
            <p> The "faces-context-factory" element contains the
855
            fully qualified class name of the concrete
856
            FacesContextFactory implementation class that will
857
            be called when
858
            FactoryFinder.getFactory(FACES_CONTEXT_FACTORY)
859
            is called.</p>
860
            
861
            ]]>
862
          </xsd:documentation>
863
        </xsd:annotation>
864
      </xsd:element>
865
      <xsd:element name="facelet-cache-factory"
866
                   type="javaee:fully-qualified-classType">
867
        <xsd:annotation>
868
          <xsd:documentation>
869
            <![CDATA[[
870
            <p> The "facelet-cache-factory" element contains the
871
            fully qualified class name of the concrete
872
            FaceletCacheFactory implementation class that will
873
            be called when
874
            FactoryFinder.getFactory(FACELET_CACHE_FACTORY)
875
            is called.</p>
876
            
877
            ]]>
878
          </xsd:documentation>
879
        </xsd:annotation>
880
      </xsd:element>
881
      <xsd:element name="partial-view-context-factory"
882
                   type="javaee:fully-qualified-classType">
883
        <xsd:annotation>
884
          <xsd:documentation>
885
            <![CDATA[[
886
            <p> The "partial-view-context-factory" element contains the
887
            fully qualified class name of the concrete
888
            PartialViewContextFactory implementation class that will
889
            be called when FactoryFinder.getFactory
890
            (FactoryFinder.PARTIAL_VIEW_CONTEXT_FACTORY) is called.</p>
891
            
892
            ]]>
893
          </xsd:documentation>
894
        </xsd:annotation>
895
      </xsd:element>
896
      <xsd:element name="lifecycle-factory"
897
                   type="javaee:fully-qualified-classType">
898
        <xsd:annotation>
899
          <xsd:documentation>
900
            <![CDATA[[
901
            <p> The "lifecycle-factory" element contains the fully
902
            qualified class name of the concrete LifecycleFactory
903
            implementation class that will be called when
904
            FactoryFinder.getFactory(LIFECYCLE_FACTORY) is called.</p>
905
            
906
            ]]>
907
          </xsd:documentation>
908
        </xsd:annotation>
909
      </xsd:element>
910
      <xsd:element name="view-declaration-language-factory"
911
                   type="javaee:fully-qualified-classType">
912
        <xsd:annotation>
913
          <xsd:documentation>
914
            <![CDATA[[
915
            <p> The "view-declaration-language-factory" element contains
916
            the fully qualified class name of the concrete
917
            ViewDeclarationLanguageFactory
918
            implementation class that will be called when
919
            FactoryFinder.getFactory(VIEW_DECLARATION_FACTORY) is called.</p>
920
            
921
            ]]>
922
          </xsd:documentation>
923
        </xsd:annotation>
924
      </xsd:element>
925
      <xsd:element name="tag-handler-delegate-factory"
926
                   type="javaee:fully-qualified-classType">
927
        <xsd:annotation>
928
          <xsd:documentation>
929
            <![CDATA[[
930
            <p> The "tag-handler-delegate-factory" element contains
931
            the fully qualified class name of the concrete
932
            ViewDeclarationLanguageFactory
933
            implementation class that will be called when
934
            FactoryFinder.getFactory(TAG_HANDLER_DELEGATE_FACTORY) is called.</p>
935
            
936
            ]]>
937
          </xsd:documentation>
938
        </xsd:annotation>
939
      </xsd:element>
940
      <xsd:element name="render-kit-factory"
941
                   type="javaee:fully-qualified-classType">
942
        <xsd:annotation>
943
          <xsd:documentation>
944
            <![CDATA[[
945
            <p> The "render-kit-factory" element contains the fully
946
            qualified class name of the concrete RenderKitFactory
947
            implementation class that will be called when
948
            FactoryFinder.getFactory(RENDER_KIT_FACTORY) is
949
            called.</p>
950
            
951
            ]]>
952
          </xsd:documentation>
953
        </xsd:annotation>
954
      </xsd:element>
955
      <xsd:element name="visit-context-factory"
956
                   type="javaee:fully-qualified-classType">
957
        <xsd:annotation>
958
          <xsd:documentation>
959
            <![CDATA[[
960
            <p> The "visit-context-factory" element contains the fully
961
            qualified class name of the concrete VisitContextFactory
962
            implementation class that will be called when
963
            FactoryFinder.getFactory(VISIT_CONTEXT_FACTORY) is
964
            called.</p>
965
            
966
            ]]>
967
          </xsd:documentation>
968
        </xsd:annotation>
969
      </xsd:element>
970
      <xsd:element name="flash-factory"
971
                   type="javaee:fully-qualified-classType">
972
        <xsd:annotation>
973
          <xsd:documentation>
974
            <![CDATA[[
975
            <p class="changed_added_2_2"> The "flash-factory" element contains the
976
            fully qualified class name of the concrete
977
            FaceletFactory implementation class that will
978
            be called when
979
            FactoryFinder.getFactory(FLASH_FACTORY) is
980
            called.</p>
981
            
982
            ]]>
983
          </xsd:documentation>
984
        </xsd:annotation>
985
      </xsd:element>
986
      <xsd:element name="flow-handler-factory"
987
                   type="javaee:fully-qualified-classType">
988
        <xsd:annotation>
989
          <xsd:documentation>
990
            <![CDATA[[
991
            <p> The "flow-handler-factory" element contains the
992
            fully qualified class name of the concrete
993
            FlowHandlerFactory implementation class that will
994
            be called when
995
            FactoryFinder.getFactory(FLOW_HANDLER_FACTORY) is
996
            called.</p>
997
            
998
            ]]>
999
          </xsd:documentation>
1000
        </xsd:annotation>
1001
      </xsd:element>
1002
      <xsd:element name="factory-extension"
1003
                   type="javaee:faces-config-factory-extensionType"
1004
                   minOccurs="0"
1005
                   maxOccurs="unbounded"/>
1006
    </xsd:choice>
1007
    <xsd:attribute name="id"
1008
                   type="xsd:ID"/>
1009
  </xsd:complexType>
1010
1011
1012
<!-- **************************************************** -->
1013
1014
  <xsd:complexType name="faces-config-factory-extensionType">
1015
    <xsd:annotation>
1016
      <xsd:documentation>
1017
        <![CDATA[[
1018
        <p> Extension element for factory.  It may contain
1019
        implementation specific content.</p>
1020
        
1021
        ]]>
1022
      </xsd:documentation>
1023
    </xsd:annotation>
1024
    <xsd:sequence>
1025
      <xsd:any minOccurs="0"
1026
               maxOccurs="unbounded"
1027
               namespace="##any"
1028
               processContents="lax"/>
1029
    </xsd:sequence>
1030
    <xsd:attribute name="id"
1031
                   type="xsd:ID"/>
1032
  </xsd:complexType>
1033
1034
1035
<!-- **************************************************** -->
1036
1037
  <xsd:complexType name="faces-config-attributeType">
1038
    <xsd:annotation>
1039
      <xsd:documentation>
1040
        <![CDATA[[
1041
        <p> The "attribute" element represents a named, typed, value
1042
        associated with the parent UIComponent via the generic
1043
        attributes mechanism.</p>
1044
        
1045
        <p>Attribute names must be unique within the scope of the parent
1046
        (or related) component.</p>
1047
        
1048
        ]]>
1049
      </xsd:documentation>
1050
    </xsd:annotation>
1051
    <xsd:sequence>
1052
      <xsd:group ref="javaee:descriptionGroup"/>
1053
      <xsd:element name="attribute-name"
1054
                   type="javaee:string">
1055
        <xsd:annotation>
1056
          <xsd:documentation>
1057
            <![CDATA[[
1058
            <p> The "attribute-name" element represents the name under
1059
            which the corresponding value will be stored, in the
1060
            generic attributes of the UIComponent we are related
1061
            to.</p>
1062
            
1063
            ]]>
1064
          </xsd:documentation>
1065
        </xsd:annotation>
1066
      </xsd:element>
1067
      <xsd:element name="attribute-class"
1068
                   type="javaee:fully-qualified-classType">
1069
        <xsd:annotation>
1070
          <xsd:documentation>
1071
            <![CDATA[[
1072
            <p> The "attribute-class" element represents the Java type
1073
            of the value associated with this attribute name.</p>
1074
            
1075
            ]]>
1076
          </xsd:documentation>
1077
        </xsd:annotation>
1078
      </xsd:element>
1079
      <xsd:element name="default-value"
1080
                   type="javaee:faces-config-default-valueType"
1081
                   minOccurs="0"/>
1082
      <xsd:element name="suggested-value"
1083
                   type="javaee:faces-config-suggested-valueType"
1084
                   minOccurs="0"/>
1085
      <xsd:element name="attribute-extension"
1086
                   type="javaee:faces-config-attribute-extensionType"
1087
                   minOccurs="0"
1088
                   maxOccurs="unbounded"/>
1089
    </xsd:sequence>
1090
    <xsd:attribute name="id"
1091
                   type="xsd:ID"/>
1092
  </xsd:complexType>
1093
1094
1095
<!-- **************************************************** -->
1096
1097
  <xsd:complexType name="faces-config-attribute-extensionType">
1098
    <xsd:annotation>
1099
      <xsd:documentation>
1100
        <![CDATA[[
1101
        <p> Extension element for attribute.  It may contain
1102
        implementation specific content.</p>
1103
        
1104
        ]]>
1105
      </xsd:documentation>
1106
    </xsd:annotation>
1107
    <xsd:sequence>
1108
      <xsd:any minOccurs="0"
1109
               maxOccurs="unbounded"
1110
               namespace="##any"
1111
               processContents="lax"/>
1112
    </xsd:sequence>
1113
    <xsd:attribute name="id"
1114
                   type="xsd:ID"/>
1115
  </xsd:complexType>
1116
1117
1118
<!-- **************************************************** -->
1119
1120
  <xsd:complexType name="faces-config-componentType">
1121
    <xsd:annotation>
1122
      <xsd:documentation>
1123
        <![CDATA[[
1124
        <p> The "component" element represents a concrete UIComponent
1125
        implementation class that should be registered under the
1126
        specified type identifier, along with its associated
1127
        properties and attributes.  Component types must be unique
1128
        within the entire web application.</p>
1129
        
1130
        <p>Nested "attribute" elements identify generic attributes that
1131
        are recognized by the implementation logic of this component.
1132
        Nested "property" elements identify JavaBeans properties of
1133
        the component class that may be exposed for manipulation
1134
        via tools.</p>
1135
        
1136
        ]]>
1137
      </xsd:documentation>
1138
    </xsd:annotation>
1139
    <xsd:sequence>
1140
      <xsd:group ref="javaee:descriptionGroup"/>
1141
      <xsd:element name="component-type"
1142
                   type="javaee:string">
1143
        <xsd:annotation>
1144
          <xsd:documentation>
1145
            <![CDATA[[
1146
            <p> The "component-type" element represents the name under
1147
            which the corresponding UIComponent class should be
1148
            registered.</p>
1149
            
1150
            ]]>
1151
          </xsd:documentation>
1152
        </xsd:annotation>
1153
      </xsd:element>
1154
      <xsd:element name="component-class"
1155
                   type="javaee:fully-qualified-classType">
1156
        <xsd:annotation>
1157
          <xsd:documentation>
1158
            <![CDATA[[
1159
            <p> The "component-class" element represents the fully
1160
            qualified class name of a concrete UIComponent
1161
            implementation class.</p>
1162
            
1163
            ]]>
1164
          </xsd:documentation>
1165
        </xsd:annotation>
1166
      </xsd:element>
1167
      <xsd:element name="facet"
1168
                   type="javaee:faces-config-facetType"
1169
                   minOccurs="0"
1170
                   maxOccurs="unbounded"/>
1171
      <xsd:element name="attribute"
1172
                   type="javaee:faces-config-attributeType"
1173
                   minOccurs="0"
1174
                   maxOccurs="unbounded"/>
1175
      <xsd:element name="property"
1176
                   type="javaee:faces-config-propertyType"
1177
                   minOccurs="0"
1178
                   maxOccurs="unbounded"/>
1179
      <xsd:element name="component-extension"
1180
                   type="javaee:faces-config-component-extensionType"
1181
                   minOccurs="0"
1182
                   maxOccurs="unbounded"/>
1183
    </xsd:sequence>
1184
    <xsd:attribute name="id"
1185
                   type="xsd:ID"/>
1186
  </xsd:complexType>
1187
1188
1189
<!-- **************************************************** -->
1190
1191
  <xsd:complexType name="faces-config-component-extensionType">
1192
    <xsd:annotation>
1193
      <xsd:documentation>
1194
        <![CDATA[[
1195
        <p> Extension element for component.  It may contain
1196
        implementation specific content.</p>
1197
        
1198
        ]]>
1199
      </xsd:documentation>
1200
    </xsd:annotation>
1201
    <xsd:sequence>
1202
      <xsd:any minOccurs="0"
1203
               maxOccurs="unbounded"
1204
               namespace="##any"
1205
               processContents="lax"/>
1206
    </xsd:sequence>
1207
    <xsd:attribute name="id"
1208
                   type="xsd:ID"/>
1209
  </xsd:complexType>
1210
1211
1212
<!-- **************************************************** -->
1213
1214
  <xsd:complexType name="faces-config-default-localeType">
1215
    <xsd:annotation>
1216
      <xsd:documentation>
1217
        <![CDATA[[
1218
        <p> The "default-locale" element declares the default locale
1219
        for this application instance.</p>
1220
        
1221
        <p>It must be specified as :language:[_:country:[_:variant:]]
1222
        without the colons, for example "ja_JP_SJIS".  The
1223
        separators between the segments may be '-' or '_'.</p>
1224
        
1225
        ]]>
1226
      </xsd:documentation>
1227
    </xsd:annotation>
1228
    <xsd:simpleContent>
1229
      <xsd:extension base="javaee:faces-config-localeType">
1230
        <xsd:attribute name="id"
1231
                       type="xsd:ID"/>
1232
      </xsd:extension>
1233
    </xsd:simpleContent>
1234
  </xsd:complexType>
1235
1236
1237
<!-- **************************************************** -->
1238
1239
  <xsd:complexType name="faces-config-default-valueType">
1240
    <xsd:annotation>
1241
      <xsd:documentation>
1242
        <![CDATA[[
1243
        <p> The "default-value" contains the value for the property or
1244
        attribute in which this element resides.  This value differs
1245
        from the "suggested-value" in that the property or attribute
1246
        must take the value, whereas in "suggested-value" taking the
1247
        value is optional.</p>
1248
        
1249
        ]]>
1250
      </xsd:documentation>
1251
    </xsd:annotation>
1252
    <xsd:simpleContent>
1253
      <xsd:restriction base="javaee:string">
1254
        <xsd:attribute name="id"
1255
                       type="xsd:ID"/>
1256
      </xsd:restriction>
1257
    </xsd:simpleContent>
1258
  </xsd:complexType>
1259
1260
  <xsd:simpleType name="faces-config-el-expressionType">
1261
    <xsd:annotation>
1262
      <xsd:documentation>
1263
        <![CDATA[[
1264
        <p> EL expressions present within a faces config file
1265
        must start with the character sequence of '#{' and
1266
        end with '}'.</p>
1267
        
1268
        ]]>
1269
      </xsd:documentation>
1270
    </xsd:annotation>
1271
    <xsd:restriction base="xsd:string">
1272
      <xsd:pattern value="#\{.*\}"/>
1273
    </xsd:restriction>
1274
  </xsd:simpleType>
1275
1276
1277
<!-- **************************************************** -->
1278
1279
  <xsd:complexType name="faces-config-facetType">
1280
    <xsd:annotation>
1281
      <xsd:documentation>
1282
        <![CDATA[[
1283
        <p> Define the name and other design-time information for a facet
1284
        that is associated with a renderer or a component.</p>
1285
        
1286
        ]]>
1287
      </xsd:documentation>
1288
    </xsd:annotation>
1289
    <xsd:sequence>
1290
      <xsd:group ref="javaee:descriptionGroup"/>
1291
      <xsd:element name="facet-name"
1292
                   type="javaee:java-identifierType">
1293
        <xsd:annotation>
1294
          <xsd:documentation>
1295
            <![CDATA[[
1296
            <p> The "facet-name" element represents the facet name
1297
            under which a UIComponent will be added to its parent.
1298
            It must be of type "Identifier".</p>
1299
            
1300
            ]]>
1301
          </xsd:documentation>
1302
        </xsd:annotation>
1303
      </xsd:element>
1304
      <xsd:element name="facet-extension"
1305
                   type="javaee:faces-config-facet-extensionType"
1306
                   minOccurs="0"
1307
                   maxOccurs="unbounded"/>
1308
    </xsd:sequence>
1309
    <xsd:attribute name="id"
1310
                   type="xsd:ID"/>
1311
  </xsd:complexType>
1312
1313
1314
<!-- **************************************************** -->
1315
1316
  <xsd:complexType name="faces-config-facet-extensionType">
1317
    <xsd:annotation>
1318
      <xsd:documentation>
1319
        <![CDATA[[
1320
        <p> Extension element for facet.  It may contain implementation
1321
        specific content.</p>
1322
        
1323
        ]]>
1324
      </xsd:documentation>
1325
    </xsd:annotation>
1326
    <xsd:sequence>
1327
      <xsd:any minOccurs="0"
1328
               maxOccurs="unbounded"
1329
               namespace="##any"
1330
               processContents="lax"/>
1331
    </xsd:sequence>
1332
    <xsd:attribute name="id"
1333
                   type="xsd:ID"/>
1334
  </xsd:complexType>
1335
1336
1337
<!-- **************************************************** -->
1338
1339
  <xsd:complexType name="faces-config-from-view-idType">
1340
    <xsd:annotation>
1341
      <xsd:documentation>
1342
        <![CDATA[[
1343
        <p><span class="changed_modified_2_2">The</span>
1344
        value of from-view-id must contain one of the following
1345
        values:</p>
1346
        
1347
        <ul>
1348
        
1349
        <li><p>The exact match for a view identifier that is recognized
1350
        by the the ViewHandler implementation being used (such as
1351
        "/index.jsp" if you are using the default ViewHandler).</p></li>
1352
        
1353
        <li><p class="changed_added_2_2">The exact match of a flow node id
1354
        in the current flow, or a flow id of another flow.</p></li>
1355
        
1356
        <li><p> A proper prefix of a view identifier, plus a trailing
1357
        "*" character.  This pattern indicates that all view
1358
        identifiers that match the portion of the pattern up to the
1359
        asterisk will match the surrounding rule.  When more than one
1360
        match exists, the match with the longest pattern is selected.
1361
        </p></li>
1362
        
1363
        <li><p>An "*" character, which means that this pattern applies
1364
        to all view identifiers.  </p></li>
1365
        
1366
        </ul>
1367
        
1368
        ]]>
1369
      </xsd:documentation>
1370
    </xsd:annotation>
1371
    <xsd:simpleContent>
1372
      <xsd:restriction base="javaee:string">
1373
        <xsd:attribute name="id"
1374
                       type="xsd:ID"/>
1375
      </xsd:restriction>
1376
    </xsd:simpleContent>
1377
  </xsd:complexType>
1378
1379
1380
<!-- **************************************************** -->
1381
1382
  <xsd:complexType name="faces-config-from-actionType">
1383
    <xsd:annotation>
1384
      <xsd:documentation>
1385
        <![CDATA[[
1386
        <p> The "from-action" element contains an action reference
1387
        expression that must have been executed (by the default
1388
        ActionListener for handling application level events)
1389
        in order to select the navigation rule.  If not specified,
1390
        this rule will be relevant no matter which action reference
1391
        was executed (or if no action reference was executed).</p>
1392
        
1393
        ]]>
1394
      </xsd:documentation>
1395
    </xsd:annotation>
1396
    <xsd:simpleContent>
1397
      <xsd:extension base="javaee:faces-config-el-expressionType">
1398
        <xsd:attribute name="id"
1399
                       type="xsd:ID"/>
1400
      </xsd:extension>
1401
    </xsd:simpleContent>
1402
  </xsd:complexType>
1403
1404
1405
<!-- **************************************************** -->
1406
1407
  <xsd:complexType name="faces-config-ifType">
1408
    <xsd:annotation>
1409
      <xsd:documentation>
1410
        <![CDATA[[
1411
        <p>The "if" element defines a condition that must resolve
1412
        to true in order for the navigation case on which it is
1413
        defined to be matched, with the existing match criteria
1414
        (action method and outcome) as a prerequiste, if present.
1415
        The condition is defined declaratively using a value
1416
        expression in the body of this element. The expression is
1417
        evaluated at the time the navigation case is being matched.
1418
        If the "from-outcome" is omitted and this element is
1419
        present, the navigation handler will match a null outcome
1420
        and use the condition return value to determine if the
1421
        case should be considered a match.</p>
1422
        
1423
        <div class="changed_added_2_2">
1424
        
1425
        <p>When used in a <code>&lt;switch&gt;</code> within a flow, if the
1426
        expresion returns <code>true</code>, the
1427
        <code>&lt;from-outcome&gt;</code> sibling element's outcome is used as
1428
        the id of the node in the flow graph to which control must be
1429
        passed.</p>
1430
        
1431
        </div>
1432
        
1433
        ]]>
1434
      </xsd:documentation>
1435
    </xsd:annotation>
1436
    <xsd:simpleContent>
1437
      <xsd:extension base="javaee:faces-config-el-expressionType">
1438
        <xsd:attribute name="id"
1439
                       type="xsd:ID"/>
1440
      </xsd:extension>
1441
    </xsd:simpleContent>
1442
  </xsd:complexType>
1443
1444
1445
<!-- **************************************************** -->
1446
1447
  <xsd:complexType name="faces-config-flow-definition-parameter-valueType">
1448
    <xsd:annotation>
1449
      <xsd:documentation>
1450
        <![CDATA[[
1451
        <p class="changed_added_2_2"></p>
1452
        
1453
        <div class="changed_added_2_2">
1454
        
1455
        </div>
1456
        
1457
        ]]>
1458
      </xsd:documentation>
1459
    </xsd:annotation>
1460
    <xsd:simpleContent>
1461
      <xsd:extension base="javaee:faces-config-el-expressionType">
1462
        <xsd:attribute name="id"
1463
                       type="xsd:ID"/>
1464
      </xsd:extension>
1465
    </xsd:simpleContent>
1466
  </xsd:complexType>
1467
1468
1469
<!-- **************************************************** -->
1470
1471
  <xsd:complexType name="faces-config-converterType">
1472
    <xsd:annotation>
1473
      <xsd:documentation>
1474
        <![CDATA[[
1475
        <p> The "converter" element represents a concrete Converter
1476
        implementation class that should be registered under the
1477
        specified converter identifier.  Converter identifiers must
1478
        be unique within the entire web application.</p>
1479
        
1480
        <p>Nested "attribute" elements identify generic attributes that
1481
        may be configured on the corresponding UIComponent in order
1482
        to affect the operation of the Converter.  Nested "property"
1483
        elements identify JavaBeans properties of the Converter
1484
        implementation class that may be configured to affect the
1485
        operation of the Converter.  "attribute" and "property"
1486
        elements are intended to allow component developers to
1487
        more completely describe their components to tools and users.
1488
        These elements have no required runtime semantics.</p>
1489
        
1490
        ]]>
1491
      </xsd:documentation>
1492
    </xsd:annotation>
1493
    <xsd:sequence>
1494
      <xsd:group ref="javaee:descriptionGroup"/>
1495
      <xsd:choice>
1496
        <xsd:element name="converter-id"
1497
                     type="javaee:string">
1498
          <xsd:annotation>
1499
            <xsd:documentation>
1500
              <![CDATA[[
1501
              <p> The "converter-id" element represents the
1502
              identifier under which the corresponding
1503
              Converter class should be registered.</p>
1504
              
1505
              ]]>
1506
            </xsd:documentation>
1507
          </xsd:annotation>
1508
        </xsd:element>
1509
        <xsd:element name="converter-for-class"
1510
                     type="javaee:fully-qualified-classType">
1511
          <xsd:annotation>
1512
            <xsd:documentation>
1513
              <![CDATA[[
1514
              <p> The "converter-for-class" element represents the
1515
              fully qualified class name for which a Converter
1516
              class will be registered.</p>
1517
              
1518
              ]]>
1519
            </xsd:documentation>
1520
          </xsd:annotation>
1521
        </xsd:element>
1522
      </xsd:choice>
1523
      <xsd:element name="converter-class"
1524
                   type="javaee:fully-qualified-classType">
1525
        <xsd:annotation>
1526
          <xsd:documentation>
1527
            <![CDATA[[
1528
            <p> The "converter-class" element represents the fully
1529
            qualified class name of a concrete Converter
1530
            implementation class.</p>
1531
            
1532
            ]]>
1533
          </xsd:documentation>
1534
        </xsd:annotation>
1535
      </xsd:element>
1536
      <xsd:element name="attribute"
1537
                   type="javaee:faces-config-attributeType"
1538
                   minOccurs="0"
1539
                   maxOccurs="unbounded">
1540
        <xsd:annotation>
1541
          <xsd:documentation>
1542
            <![CDATA[[
1543
            <p> Nested "attribute" elements identify generic
1544
            attributes that may be configured on the
1545
            corresponding UIComponent in order to affect the
1546
            operation of the Converter.  This attribute is
1547
            primarily for design-time tools and is not
1548
            specified to have any meaning at runtime.</p>
1549
            
1550
            ]]>
1551
          </xsd:documentation>
1552
        </xsd:annotation>
1553
      </xsd:element>
1554
      <xsd:element name="property"
1555
                   type="javaee:faces-config-propertyType"
1556
                   minOccurs="0"
1557
                   maxOccurs="unbounded">
1558
        <xsd:annotation>
1559
          <xsd:documentation>
1560
            <![CDATA[[
1561
            <p> Nested "property" elements identify JavaBeans
1562
            properties of the Converter implementation class
1563
            that may be configured to affect the operation of
1564
            the Converter.  This attribute is primarily for
1565
            design-time tools and is not specified to have
1566
            any meaning at runtime.</p>
1567
            
1568
            ]]>
1569
          </xsd:documentation>
1570
        </xsd:annotation>
1571
      </xsd:element>
1572
      <xsd:element name="converter-extension"
1573
                   type="javaee:faces-config-converter-extensionType"
1574
                   minOccurs="0"
1575
                   maxOccurs="unbounded"/>
1576
    </xsd:sequence>
1577
    <xsd:attribute name="id"
1578
                   type="xsd:ID"/>
1579
  </xsd:complexType>
1580
1581
1582
<!-- **************************************************** -->
1583
1584
  <xsd:complexType name="faces-config-converter-extensionType">
1585
    <xsd:annotation>
1586
      <xsd:documentation>
1587
        <![CDATA[[
1588
        <p> Extension element for converter.  It may contain
1589
        implementation specific content.</p>
1590
        
1591
        ]]>
1592
      </xsd:documentation>
1593
    </xsd:annotation>
1594
    <xsd:sequence>
1595
      <xsd:any minOccurs="0"
1596
               maxOccurs="unbounded"
1597
               namespace="##any"
1598
               processContents="lax"/>
1599
    </xsd:sequence>
1600
    <xsd:attribute name="id"
1601
                   type="xsd:ID"/>
1602
  </xsd:complexType>
1603
1604
1605
<!-- **************************************************** -->
1606
1607
  <xsd:complexType name="faces-config-lifecycleType">
1608
    <xsd:annotation>
1609
      <xsd:documentation>
1610
        <![CDATA[[
1611
        <p> The "lifecycle" element provides a mechanism to specify
1612
        modifications to the behaviour of the default Lifecycle
1613
        implementation for this web application.</p>
1614
        
1615
        ]]>
1616
      </xsd:documentation>
1617
    </xsd:annotation>
1618
    <xsd:sequence>
1619
      <xsd:element name="phase-listener"
1620
                   type="javaee:fully-qualified-classType"
1621
                   minOccurs="0"
1622
                   maxOccurs="unbounded">
1623
        <xsd:annotation>
1624
          <xsd:documentation>
1625
            <![CDATA[[
1626
            <p> The "phase-listener" element contains the fully
1627
            qualified class name of the concrete PhaseListener
1628
            implementation class that will be registered on
1629
            the Lifecycle.</p>
1630
            
1631
            ]]>
1632
          </xsd:documentation>
1633
        </xsd:annotation>
1634
      </xsd:element>
1635
      <xsd:element name="lifecycle-extension"
1636
                   type="javaee:faces-config-lifecycle-extensionType"
1637
                   minOccurs="0"
1638
                   maxOccurs="unbounded"/>
1639
    </xsd:sequence>
1640
    <xsd:attribute name="id"
1641
                   type="xsd:ID"/>
1642
  </xsd:complexType>
1643
1644
1645
<!-- **************************************************** -->
1646
1647
  <xsd:complexType name="faces-config-lifecycle-extensionType">
1648
    <xsd:annotation>
1649
      <xsd:documentation>
1650
        <![CDATA[[
1651
        <p> Extension element for lifecycle.  It may contain
1652
        implementation specific content.</p>
1653
        
1654
        ]]>
1655
      </xsd:documentation>
1656
    </xsd:annotation>
1657
    <xsd:sequence>
1658
      <xsd:any minOccurs="0"
1659
               maxOccurs="unbounded"
1660
               namespace="##any"
1661
               processContents="lax"/>
1662
    </xsd:sequence>
1663
    <xsd:attribute name="id"
1664
                   type="xsd:ID"/>
1665
  </xsd:complexType>
1666
1667
  <xsd:simpleType name="faces-config-localeType">
1668
    <xsd:annotation>
1669
      <xsd:documentation>
1670
        <![CDATA[[
1671
        <p> The localeType defines valid locale defined by ISO-639-1
1672
        and ISO-3166.</p>
1673
        
1674
        ]]>
1675
      </xsd:documentation>
1676
    </xsd:annotation>
1677
    <xsd:restriction base="xsd:string">
1678
      <xsd:pattern value="([a-z]{2})[_|\-]?([\p{L}]{2})?[_|\-]?(\w+)?"/>
1679
    </xsd:restriction>
1680
  </xsd:simpleType>
1681
1682
1683
<!-- **************************************************** -->
1684
1685
  <xsd:complexType name="faces-config-locale-configType">
1686
    <xsd:annotation>
1687
      <xsd:documentation>
1688
        <![CDATA[[
1689
        <p> The "locale-config" element allows the app developer to
1690
        declare the supported locales for this application.</p>
1691
        
1692
        ]]>
1693
      </xsd:documentation>
1694
    </xsd:annotation>
1695
    <xsd:sequence>
1696
      <xsd:element name="default-locale"
1697
                   type="javaee:faces-config-default-localeType"
1698
                   minOccurs="0"/>
1699
      <xsd:element name="supported-locale"
1700
                   type="javaee:faces-config-supported-localeType"
1701
                   minOccurs="0"
1702
                   maxOccurs="unbounded"/>
1703
    </xsd:sequence>
1704
    <xsd:attribute name="id"
1705
                   type="xsd:ID"/>
1706
  </xsd:complexType>
1707
1708
1709
<!-- **************************************************** -->
1710
1711
  <xsd:complexType name="faces-config-default-validatorsType">
1712
    <xsd:annotation>
1713
      <xsd:documentation>
1714
        <![CDATA[[
1715
        <p> The "default-validators" element allows the app developer to
1716
        register a set of validators, referenced by identifier, that
1717
        are automatically assigned to any EditableValueHolder component
1718
        in the application, unless overridden or disabled locally.</p>
1719
        
1720
        ]]>
1721
      </xsd:documentation>
1722
    </xsd:annotation>
1723
    <xsd:sequence>
1724
      <xsd:element name="validator-id"
1725
                   type="javaee:string"
1726
                   minOccurs="0"
1727
                   maxOccurs="unbounded">
1728
        <xsd:annotation>
1729
          <xsd:documentation>
1730
            <![CDATA[[
1731
            <p> The "validator-id" element represents the identifier
1732
            of a registered validator.</p>
1733
            
1734
            ]]>
1735
          </xsd:documentation>
1736
        </xsd:annotation>
1737
      </xsd:element>
1738
    </xsd:sequence>
1739
    <xsd:attribute name="id"
1740
                   type="xsd:ID"/>
1741
  </xsd:complexType>
1742
1743
1744
<!-- **************************************************** -->
1745
1746
  <xsd:complexType name="faces-config-managed-beanType">
1747
    <xsd:annotation>
1748
      <xsd:documentation>
1749
        <![CDATA[[
1750
        <p> The "managed-bean" element represents a JavaBean, of a
1751
        particular class, that will be dynamically instantiated
1752
        at runtime (by the default VariableResolver implementation)
1753
        if it is referenced as the first element of a value binding
1754
        expression, and no corresponding bean can be identified in
1755
        any scope.  In addition to the creation of the managed bean,
1756
        and the optional storing of it into the specified scope,
1757
        the nested managed-property elements can be used to
1758
        initialize the contents of settable JavaBeans properties of
1759
        the created instance.</p>
1760
        
1761
        ]]>
1762
      </xsd:documentation>
1763
    </xsd:annotation>
1764
    <xsd:sequence>
1765
      <xsd:group ref="javaee:descriptionGroup"/>
1766
      <xsd:element name="managed-bean-name"
1767
                   type="javaee:java-identifierType">
1768
        <xsd:annotation>
1769
          <xsd:documentation>
1770
            <![CDATA[[
1771
            <p> The "managed-bean-name" element represents the
1772
            attribute name under which a managed bean will
1773
            be searched for, as well as stored (unless the
1774
            "managed-bean-scope" value is "none").</p>
1775
            
1776
            ]]>
1777
          </xsd:documentation>
1778
        </xsd:annotation>
1779
      </xsd:element>
1780
      <xsd:element name="managed-bean-class"
1781
                   type="javaee:fully-qualified-classType">
1782
        <xsd:annotation>
1783
          <xsd:documentation>
1784
            <![CDATA[[
1785
            <p> The "managed-bean-class" element represents the fully
1786
            qualified class name of the Java class that will be
1787
            used`to instantiate a new instance if creation of the
1788
            specified`managed bean is requested.</p>
1789
            
1790
            <p>The specified class must conform to standard JavaBeans
1791
            conventions.  In particular, it must have a public
1792
            zero-arguments constructor, and zero or more public
1793
            property setters.</p>
1794
            
1795
            ]]>
1796
          </xsd:documentation>
1797
        </xsd:annotation>
1798
      </xsd:element>
1799
      <xsd:element name="managed-bean-scope"
1800
                   type="javaee:faces-config-managed-bean-scopeOrNoneType">
1801
        <xsd:annotation>
1802
          <xsd:documentation>
1803
            <![CDATA[[
1804
            <p> The "managed-bean-scope" element represents the scope
1805
            into which a newly created instance of the specified
1806
            managed bean will be stored (unless the value is
1807
            "none").</p>
1808
            
1809
            ]]>
1810
          </xsd:documentation>
1811
        </xsd:annotation>
1812
      </xsd:element>
1813
      <xsd:choice>
1814
        <xsd:element name="managed-property"
1815
                     type="javaee:faces-config-managed-propertyType"
1816
                     minOccurs="0"
1817
                     maxOccurs="unbounded"/>
1818
        <xsd:element name="map-entries"
1819
                     type="javaee:faces-config-map-entriesType"/>
1820
        <xsd:element name="list-entries"
1821
                     type="javaee:faces-config-list-entriesType"/>
1822
      </xsd:choice>
1823
      <xsd:element name="managed-bean-extension"
1824
                   type="javaee:faces-config-managed-bean-extensionType"
1825
                   minOccurs="0"
1826
                   maxOccurs="unbounded"/>
1827
    </xsd:sequence>
1828
    <xsd:attribute name="eager"
1829
                   type="xsd:boolean"
1830
                   use="optional">
1831
      <xsd:annotation>
1832
        <xsd:documentation>
1833
          <![CDATA[[
1834
          <p> This attribute is only considered when associated with
1835
          an application-scoped managed bean. If the value of the eager
1836
          attribute is true the runtime must instantiate this class
1837
          and store the instance within the application scope when the
1838
          application starts.</p>
1839
          
1840
          <p>If eager is unspecified or is false, the default "lazy"
1841
          instantiation and scoped storage of the managed bean
1842
          will occur.</p>
1843
          
1844
          ]]>
1845
        </xsd:documentation>
1846
      </xsd:annotation>
1847
    </xsd:attribute>
1848
    <xsd:attribute name="id"
1849
                   type="xsd:ID"/>
1850
  </xsd:complexType>
1851
1852
1853
<!-- **************************************************** -->
1854
1855
  <xsd:complexType name="faces-config-flow-definitionType">
1856
    <xsd:annotation>
1857
      <xsd:documentation>
1858
        <![CDATA[[
1859
        <p class="changed_added_2_2">Top level element for a flow
1860
        definition.</p>
1861
        
1862
        <div class="changed_added_2_2">
1863
        
1864
        <p>If there is no <code>&lt;start-node&gt;</code> element declared, it
1865
        is assumed to be <code>&lt;flowName&gt;.xhtml</code>.</p>
1866
        
1867
        </div>
1868
        
1869
        ]]>
1870
      </xsd:documentation>
1871
    </xsd:annotation>
1872
    <xsd:sequence>
1873
      <xsd:group ref="javaee:descriptionGroup"/>
1874
      <xsd:element name="start-node"
1875
                   type="javaee:java-identifierType"
1876
                   minOccurs="0">
1877
        <xsd:annotation>
1878
          <xsd:documentation>
1879
            <![CDATA[[
1880
            <p class="changed_added_2_2">Declare the id of the starting node in the
1881
            flow graph.  The start node may be any of the node types mentioned in
1882
            the class javadocs for <code><a target="_"
1883
            href="javax/faces/flow/FlowHandler.html">FlowHandler</a></code>.</p>
1884
            
1885
            ]]>
1886
          </xsd:documentation>
1887
        </xsd:annotation>
1888
      </xsd:element>
1889
      <xsd:element name="view"
1890
                   type="javaee:faces-config-flow-definition-viewType"
1891
                   minOccurs="0"
1892
                   maxOccurs="unbounded"/>
1893
      <xsd:element name="switch"
1894
                   type="javaee:faces-config-flow-definition-switchType"
1895
                   minOccurs="0"
1896
                   maxOccurs="unbounded"/>
1897
      <xsd:element name="flow-return"
1898
                   type="javaee:faces-config-flow-definition-flow-returnType"
1899
                   minOccurs="0"
1900
                   maxOccurs="unbounded"/>
1901
      <xsd:element name="navigation-rule"
1902
                   type="javaee:faces-config-navigation-ruleType"
1903
                   minOccurs="0"
1904
                   maxOccurs="unbounded"/>
1905
      <xsd:element name="flow-call"
1906
                   type="javaee:faces-config-flow-definition-flow-callType"
1907
                   minOccurs="0"
1908
                   maxOccurs="unbounded"/>
1909
      <xsd:element name="method-call"
1910
                   type="javaee:faces-config-flow-definition-faces-method-callType"
1911
                   minOccurs="0"
1912
                   maxOccurs="unbounded"/>
1913
      <xsd:element name="initializer"
1914
                   type="javaee:faces-config-flow-definition-initializerType"
1915
                   minOccurs="0"/>
1916
      <xsd:element name="finalizer"
1917
                   type="javaee:faces-config-flow-definition-finalizerType"
1918
                   minOccurs="0"/>
1919
      <xsd:element name="inbound-parameter"
1920
                   type="javaee:faces-config-flow-definition-inbound-parameterType"
1921
                   minOccurs="0"
1922
                   maxOccurs="unbounded"/>
1923
    </xsd:sequence>
1924
    <xsd:attribute name="id"
1925
                   type="xsd:ID"
1926
                   use="required">
1927
      <xsd:annotation>
1928
        <xsd:documentation>
1929
          <![CDATA[[
1930
          <p class="changed_added_2_2">The id of this flow.  The id
1931
          must be unique within the Application configuration Resource
1932
          file in which this flow is defined.  The value of this attribute, 
1933
          combined with the value of the &lt;faces-config&gt;&lt;name&gt; element
1934
          must globally identify the flow within the application.<p> 
1935
          
1936
          ]]>
1937
        </xsd:documentation>
1938
      </xsd:annotation>
1939
    </xsd:attribute>
1940
  </xsd:complexType>
1941
1942
1943
<!-- **************************************************** -->
1944
1945
  <xsd:complexType name="faces-config-flow-definition-faces-method-callType">
1946
    <xsd:sequence>
1947
      <xsd:element name="method"
1948
                   type="javaee:faces-config-flow-definition-faces-method-call-methodType"/>
1949
      <xsd:element name="default-outcome"
1950
                   type="javaee:string"/>
1951
      <xsd:element name="parameter"
1952
                   type="javaee:faces-config-flow-definition-flow-call-parameterType"
1953
                   minOccurs="0"
1954
                   maxOccurs="unbounded">
1955
        <xsd:annotation>
1956
          <xsd:documentation>
1957
            <![CDATA[[
1958
            <p class="changed_added_2_2">A parameter to pass when calling the method
1959
            identified in the "method" element that is a sibling of this element.<p>
1960
            
1961
            ]]>
1962
          </xsd:documentation>
1963
        </xsd:annotation>
1964
      </xsd:element>
1965
    </xsd:sequence>
1966
  </xsd:complexType>
1967
1968
1969
<!-- **************************************************** -->
1970
1971
  <xsd:complexType name="faces-config-flow-definition-faces-method-call-methodType">
1972
    <xsd:simpleContent>
1973
      <xsd:extension base="javaee:faces-config-el-expressionType">
1974
        <xsd:attribute name="id"
1975
                       type="xsd:ID"/>
1976
      </xsd:extension>
1977
    </xsd:simpleContent>
1978
  </xsd:complexType>
1979
1980
1981
<!-- **************************************************** -->
1982
1983
  <xsd:complexType name="faces-config-flow-definition-flow-call-parameterType">
1984
    <xsd:annotation>
1985
      <xsd:documentation>
1986
        <![CDATA[[
1987
        <p class="changed_added_2_2">A parameter to pass when calling the method
1988
        identified in the "method" element that is a sibling of this element.<p>
1989
        
1990
        ]]>
1991
      </xsd:documentation>
1992
    </xsd:annotation>
1993
    <xsd:sequence>
1994
      <xsd:element name="class"
1995
                   type="javaee:string"
1996
                   minOccurs="0">
1997
        <xsd:annotation>
1998
          <xsd:documentation>
1999
            <![CDATA[[
2000
            <p class="changed_added_2_2"> The optional "class" element within a "parameter" element 
2001
            will be interpreted as the fully qualified class name for the type
2002
            of the "value" element.</p>
2003
            
2004
            ]]>
2005
          </xsd:documentation>
2006
        </xsd:annotation>
2007
      </xsd:element>
2008
      <xsd:element name="value"
2009
                   type="javaee:faces-config-flow-definition-parameter-valueType">
2010
        <xsd:annotation>
2011
          <xsd:documentation>
2012
            <![CDATA[[
2013
            <p class="changed_added_2_2"> The "value" element within an "parameter"
2014
            must be a literal string or an EL Expression whose "get" will be called when the "method"
2015
            associated with this element is invoked.</p>
2016
            
2017
            ]]>
2018
          </xsd:documentation>
2019
        </xsd:annotation>
2020
      </xsd:element>
2021
    </xsd:sequence>
2022
  </xsd:complexType>
2023
2024
2025
<!-- **************************************************** -->
2026
2027
  <xsd:complexType name="faces-config-flow-definition-viewType">
2028
    <xsd:annotation>
2029
      <xsd:documentation>
2030
        <![CDATA[[
2031
        <p class="changed_added_2_2">Define a view node in a flow graph.</p>
2032
        
2033
        <p>This element must contain exactly one
2034
        <code>&lt;vdl-document&gt;</code> element.</p>
2035
        
2036
        ]]>
2037
      </xsd:documentation>
2038
    </xsd:annotation>
2039
    <xsd:sequence>
2040
      <xsd:element name="vdl-document"
2041
                   type="javaee:java-identifierType">
2042
        <xsd:annotation>
2043
          <xsd:documentation>
2044
            <![CDATA[[
2045
            <p class="changed_added_2_2">Define the vdl-document for the enclosing view.<p>
2046
            
2047
            ]]>
2048
          </xsd:documentation>
2049
        </xsd:annotation>
2050
      </xsd:element>
2051
    </xsd:sequence>
2052
    <xsd:attribute name="id"
2053
                   type="xsd:ID"
2054
                   use="required">
2055
      <xsd:annotation>
2056
        <xsd:documentation>
2057
          <![CDATA[[
2058
          <p class="changed_added_2_2">The id of this view.  It must be
2059
          unique within the flow.</p>
2060
          
2061
          ]]>
2062
        </xsd:documentation>
2063
      </xsd:annotation>
2064
    </xsd:attribute>
2065
  </xsd:complexType>
2066
2067
2068
<!-- **************************************************** -->
2069
2070
  <xsd:complexType name="faces-config-flow-definition-switchType">
2071
    <xsd:annotation>
2072
      <xsd:documentation>
2073
        <![CDATA[[
2074
        <p class="changed_added_2_2">Define a switch node in a flow graph.</p>
2075
        
2076
        <div class="changed_added_2_2">
2077
        
2078
        <p>This element must contain one or more
2079
        <code>&lt;case&gt;</code> elements.  When control passes to the
2080
        <code>&lt;switch&gt;</code> node, each of the cases must be considered
2081
        in order and control must past to the <code>&lt;from-outcome&gt;</code>
2082
        of the first one whose <code>&lt;if&gt;</code> expression evaluates to 
2083
        <code>true</code>.</p>
2084
        
2085
        </div>
2086
        
2087
        ]]>
2088
      </xsd:documentation>
2089
    </xsd:annotation>
2090
    <xsd:sequence>
2091
      <xsd:element name="case"
2092
                   type="javaee:faces-config-flow-definition-switch-caseType"
2093
                   minOccurs="0"
2094
                   maxOccurs="unbounded">
2095
        <xsd:annotation>
2096
          <xsd:documentation>
2097
            <![CDATA[[
2098
            <p class="changed_added_2_2">Defines a case that must be
2099
            considered in the list of cases in the
2100
            <code>&lt;switch&gt;</code>.</p>
2101
            
2102
            ]]>
2103
          </xsd:documentation>
2104
        </xsd:annotation>
2105
      </xsd:element>
2106
      <xsd:element name="default-outcome"
2107
                   type="javaee:string"
2108
                   minOccurs="0">
2109
        <xsd:annotation>
2110
          <xsd:documentation>
2111
            <![CDATA[[
2112
            <p class="changed_added_2_2">Defines the default case that will
2113
            be taken if none of the other cases in the
2114
            <code>&lt;switch&gt;</code> are taken.</p>
2115
            
2116
            ]]>
2117
          </xsd:documentation>
2118
        </xsd:annotation>
2119
      </xsd:element>
2120
    </xsd:sequence>
2121
    <xsd:attribute name="id"
2122
                   type="xsd:ID"
2123
                   use="required">
2124
      <xsd:annotation>
2125
        <xsd:documentation>
2126
          <![CDATA[[
2127
          <p class="changed_added_2_2">The id of this switch.  It must be
2128
          unique within the flow.</p>
2129
          
2130
          ]]>
2131
        </xsd:documentation>
2132
      </xsd:annotation>
2133
    </xsd:attribute>
2134
  </xsd:complexType>
2135
2136
2137
<!-- **************************************************** -->
2138
2139
  <xsd:complexType name="faces-config-flow-definition-switch-caseType">
2140
    <xsd:annotation>
2141
      <xsd:documentation>
2142
        <![CDATA[[
2143
        <p class="changed_added_2_2">Defines a case that will
2144
        be considered in the <code>&lt;switch&gt;</code>.</p>
2145
        
2146
        ]]>
2147
      </xsd:documentation>
2148
    </xsd:annotation>
2149
    <xsd:sequence>
2150
      <xsd:group ref="javaee:descriptionGroup"/>
2151
      <xsd:element name="if"
2152
                   type="javaee:faces-config-ifType"
2153
                   minOccurs="0">
2154
        <xsd:annotation>
2155
          <xsd:documentation>
2156
            <![CDATA[[
2157
            <p class="changed_added_2_2">If this EL expression evaluates to
2158
            <code>true</code>, the corresponding <code>from-outcome</code> will 
2159
            be the outcome taken by the enclosing <code>&lt;switch&gt;</code></p>
2160
            
2161
            ]]>
2162
          </xsd:documentation>
2163
        </xsd:annotation>
2164
      </xsd:element>
2165
      <xsd:element name="from-outcome"
2166
                   type="javaee:string"
2167
                   minOccurs="0">
2168
        <xsd:annotation>
2169
          <xsd:documentation>
2170
            <![CDATA[[
2171
            <p>The "from-outcome" element contains a logical outcome
2172
            string returned by the execution of an application
2173
            action method selected via an "actionRef" property
2174
            (or a literal value specified by an "action" property)
2175
            of a UICommand component.  If specified, this rule
2176
            will be relevant only if the outcome value matches
2177
            this element's value.  If not specified, this rule
2178
            will be relevant if the outcome value is non-null
2179
            or, if the "if" element is present, will be relevant
2180
            for any outcome value, with the assumption that the
2181
            condition specified in the "if" element ultimately
2182
            determines if this rule is a match.</p>
2183
            
2184
            <p class="changed_added_2_2">If used in a faces flow, this element
2185
            represents the node id to which control will be passed.</p>
2186
            
2187
            ]]>
2188
          </xsd:documentation>
2189
        </xsd:annotation>
2190
      </xsd:element>
2191
    </xsd:sequence>
2192
    <xsd:attribute name="id"
2193
                   type="xsd:ID">
2194
    </xsd:attribute>
2195
  </xsd:complexType>
2196
2197
2198
<!-- **************************************************** -->
2199
2200
  <xsd:complexType name="faces-config-flow-definition-flow-returnType">
2201
    <xsd:annotation>
2202
      <xsd:documentation>
2203
        <![CDATA[[
2204
        <p class="changed_added_2_2">Define a return node in a flow graph.</p>
2205
        
2206
        <div class="changed_added_2_2">
2207
        
2208
        <p>This element must contain exactly one <code>&lt;from-outcome&gt;</code> element.</p>
2209
        </div>
2210
        
2211
        ]]>
2212
      </xsd:documentation>
2213
    </xsd:annotation>
2214
    <xsd:sequence>
2215
      <xsd:element name="from-outcome"
2216
                   type="javaee:string">
2217
        <xsd:annotation>
2218
          <xsd:documentation>
2219
            <![CDATA[[
2220
            <p class="changed_added_2_2">This element
2221
            represents the node id to which control will be passed.</p>
2222
            
2223
            ]]>
2224
          </xsd:documentation>
2225
        </xsd:annotation>
2226
      </xsd:element>
2227
    </xsd:sequence>
2228
    <xsd:attribute name="id"
2229
                   type="xsd:ID"
2230
                   use="required">
2231
      <xsd:annotation>
2232
        <xsd:documentation>
2233
          <![CDATA[[
2234
          <p class="changed_added_2_2">The id of this flow-return.</p>
2235
          
2236
          ]]>
2237
        </xsd:documentation>
2238
      </xsd:annotation>
2239
    </xsd:attribute>
2240
  </xsd:complexType>
2241
2242
2243
<!-- **************************************************** -->
2244
2245
  <xsd:complexType name="faces-config-flow-definition-flow-callType">
2246
    <xsd:annotation>
2247
      <xsd:documentation>
2248
        <![CDATA[[
2249
        <p class="changed_added_2_2">Define a call node in a flow graph.</p>
2250
        
2251
        <div class="changed_added_2_2">
2252
        
2253
        <p>This element must contain exactly one <code>&lt;flow-reference&gt;</code> element, 
2254
        which must contain exactly one <code>&lt;flow-id&gt;</code> element.</p>
2255
        </div>
2256
        
2257
        ]]>
2258
      </xsd:documentation>
2259
    </xsd:annotation>
2260
    <xsd:sequence>
2261
      <xsd:element name="flow-reference"
2262
                   type="javaee:faces-config-flow-definition-flow-call-flow-referenceType">
2263
        <xsd:annotation>
2264
          <xsd:documentation>
2265
            <![CDATA[[
2266
            <p class="changed_added_2_2">The flow id of the called flow.<p>
2267
            
2268
            ]]>
2269
          </xsd:documentation>
2270
        </xsd:annotation>
2271
      </xsd:element>
2272
      <xsd:element name="outbound-parameter"
2273
                   type="javaee:faces-config-flow-definition-flow-call-outbound-parameterType"
2274
                   minOccurs="0"
2275
                   maxOccurs="unbounded">
2276
        <xsd:annotation>
2277
          <xsd:documentation>
2278
            <![CDATA[[
2279
            <p class="changed_added_2_2">A parameter to pass when calling the flow
2280
            identified in the "flow-reference" element that is a sibling of this element.<p>
2281
            
2282
            ]]>
2283
          </xsd:documentation>
2284
        </xsd:annotation>
2285
      </xsd:element>
2286
    </xsd:sequence>
2287
    <xsd:attribute name="id"
2288
                   type="xsd:ID"
2289
                   use="required">
2290
      <xsd:annotation>
2291
        <xsd:documentation>
2292
          <![CDATA[[
2293
          <p class="changed_added_2_2">The id of this flow-return.</p>
2294
          
2295
          ]]>
2296
        </xsd:documentation>
2297
      </xsd:annotation>
2298
    </xsd:attribute>
2299
  </xsd:complexType>
2300
2301
2302
<!-- **************************************************** -->
2303
2304
  <xsd:complexType name="faces-config-flow-definition-flow-call-flow-referenceType">
2305
    <xsd:annotation>
2306
      <xsd:documentation>
2307
        <![CDATA[[
2308
        <p class="changed_added_2_2">Identifiy the called flow.</p>
2309
        
2310
        <div class="changed_added_2_2">
2311
        
2312
        </div>
2313
        
2314
        ]]>
2315
      </xsd:documentation>
2316
    </xsd:annotation>
2317
    <xsd:sequence>
2318
      <xsd:element name="flow-document-id"
2319
                   type="javaee:java-identifierType"
2320
                   minOccurs="0">
2321
        <xsd:annotation>
2322
          <xsd:documentation>
2323
            <![CDATA[[
2324
            <p>The document id of the called flow.</p>
2325
            
2326
            ]]>
2327
          </xsd:documentation>
2328
        </xsd:annotation>
2329
      </xsd:element>
2330
      <xsd:element name="flow-id"
2331
                   type="javaee:java-identifierType">
2332
        <xsd:annotation>
2333
          <xsd:documentation>
2334
            <![CDATA[[
2335
            <p>The id of the called flow.</p>
2336
            
2337
            ]]>
2338
          </xsd:documentation>
2339
        </xsd:annotation>
2340
      </xsd:element>
2341
    </xsd:sequence>
2342
  </xsd:complexType>
2343
2344
2345
<!-- **************************************************** -->
2346
2347
  <xsd:complexType name="faces-config-flow-definition-initializerType">
2348
    <xsd:annotation>
2349
      <xsd:documentation>
2350
        <![CDATA[[
2351
        <p class="changed_added_2_2">A <code>MethodExpression</code> that will be invoked when the flow is entered.<p>
2352
        
2353
        ]]>
2354
      </xsd:documentation>
2355
    </xsd:annotation>
2356
    <xsd:simpleContent>
2357
      <xsd:extension base="javaee:faces-config-el-expressionType">
2358
        <xsd:attribute name="id"
2359
                       type="xsd:ID"/>
2360
      </xsd:extension>
2361
    </xsd:simpleContent>
2362
  </xsd:complexType>
2363
2364
2365
<!-- **************************************************** -->
2366
2367
  <xsd:complexType name="faces-config-flow-definition-finalizerType">
2368
    <xsd:annotation>
2369
      <xsd:documentation>
2370
        <![CDATA[[
2371
        <p class="changed_added_2_2">A <code>MethodExpression</code> that will be invoked when the flow is exited.<p>
2372
        
2373
        ]]>
2374
      </xsd:documentation>
2375
    </xsd:annotation>
2376
    <xsd:simpleContent>
2377
      <xsd:extension base="javaee:faces-config-el-expressionType">
2378
        <xsd:attribute name="id"
2379
                       type="xsd:ID"/>
2380
      </xsd:extension>
2381
    </xsd:simpleContent>
2382
  </xsd:complexType>
2383
2384
2385
<!-- **************************************************** -->
2386
2387
  <xsd:complexType name="faces-config-flow-definition-inbound-parameterType">
2388
    <xsd:annotation>
2389
      <xsd:documentation>
2390
        <![CDATA[[
2391
        <p class="changed_added_2_2">A named parameter whose value will be populated
2392
        with a correspondingly named parameter within an "outbound-parameter" element.<p>
2393
        
2394
        ]]>
2395
      </xsd:documentation>
2396
    </xsd:annotation>
2397
    <xsd:sequence>
2398
      <xsd:element name="name"
2399
                   type="javaee:java-identifierType">
2400
        <xsd:annotation>
2401
          <xsd:documentation>
2402
            <![CDATA[[
2403
            <p class="changed_added_2_2"> The "name" element within an "inbound-parameter"
2404
            element declares the name of this parameter
2405
            to be passed into a flow.  There must be 
2406
            a sibling "value" element in the same parent as this element.</p>
2407
            
2408
            ]]>
2409
          </xsd:documentation>
2410
        </xsd:annotation>
2411
      </xsd:element>
2412
      <xsd:element name="value"
2413
                   type="javaee:faces-config-flow-definition-parameter-valueType">
2414
        <xsd:annotation>
2415
          <xsd:documentation>
2416
            <![CDATA[[
2417
            <p class="changed_added_2_2"> The "value" element within an "inbound-parameter"
2418
            must be an EL Expression whose value will be set with the correspondingly
2419
            named "outbound-parameter" when this flow is entered, if such a 
2420
            parameter exists.</p>
2421
            
2422
            ]]>
2423
          </xsd:documentation>
2424
        </xsd:annotation>
2425
      </xsd:element>
2426
    </xsd:sequence>
2427
  </xsd:complexType>
2428
2429
2430
<!-- **************************************************** -->
2431
2432
  <xsd:complexType name="faces-config-flow-definition-flow-call-outbound-parameterType">
2433
    <xsd:annotation>
2434
      <xsd:documentation>
2435
        <![CDATA[[
2436
        <p class="changed_added_2_2">A named parameter whose value will be 
2437
        passed to a correspondingly named parameter within an "inbound-parameter" element
2438
        on the target flow.<p>
2439
        
2440
        ]]>
2441
      </xsd:documentation>
2442
    </xsd:annotation>
2443
    <xsd:sequence>
2444
      <xsd:element name="name"
2445
                   type="javaee:java-identifierType">
2446
        <xsd:annotation>
2447
          <xsd:documentation>
2448
            <![CDATA[[
2449
            <p class="changed_added_2_2"> The "name" element within an "outbound-parameter" element 
2450
            declares the name of this parameter to be passed out of a flow.  There must be 
2451
            a sibling "value" element in the same parent as this element.</p>
2452
            
2453
            ]]>
2454
          </xsd:documentation>
2455
        </xsd:annotation>
2456
      </xsd:element>
2457
      <xsd:element name="value"
2458
                   type="javaee:faces-config-flow-definition-parameter-valueType">
2459
        <xsd:annotation>
2460
          <xsd:documentation>
2461
            <![CDATA[[
2462
            <p class="changed_added_2_2"> The "value" element within an "outbound-parameter"
2463
            must be a literal string or an EL Expression whose "get" will be called when the "flow-call"
2464
            containing this element is traversed to go to a new flow.</p>
2465
            
2466
            ]]>
2467
          </xsd:documentation>
2468
        </xsd:annotation>
2469
      </xsd:element>
2470
    </xsd:sequence>
2471
  </xsd:complexType>
2472
2473
2474
<!-- **************************************************** -->
2475
2476
  <xsd:complexType name="faces-config-managed-bean-extensionType">
2477
    <xsd:annotation>
2478
      <xsd:documentation>
2479
        <![CDATA[[
2480
        <p> Extension element for managed-bean.  It may contain
2481
        implementation specific content.</p>
2482
        
2483
        ]]>
2484
      </xsd:documentation>
2485
    </xsd:annotation>
2486
    <xsd:sequence>
2487
      <xsd:any minOccurs="0"
2488
               maxOccurs="unbounded"
2489
               namespace="##any"
2490
               processContents="lax"/>
2491
    </xsd:sequence>
2492
    <xsd:attribute name="id"
2493
                   type="xsd:ID"/>
2494
  </xsd:complexType>
2495
2496
2497
<!-- **************************************************** -->
2498
2499
  <xsd:complexType name="faces-config-managed-bean-scopeOrNoneType">
2500
    <xsd:annotation>
2501
      <xsd:documentation>
2502
        <![CDATA[[
2503
        [
2504
        
2505
        <p> Defines the legal values for the <managed-bean-scope>
2506
        element's body content, which includes all of the scopes
2507
        normally used in a web application, plus the "none" value
2508
        indicating that a created bean should not be stored into
2509
        any scope.  Alternatively, an EL expression may be used
2510
        as the value of this element.  The result of evaluating this
2511
        expression must by of type java.util.Map.</p>
2512
        
2513
        ]]>
2514
      </xsd:documentation>
2515
    </xsd:annotation>
2516
    <xsd:simpleContent>
2517
      <xsd:restriction base="javaee:string">
2518
        <xsd:pattern value="view|request|session|application|none|#\{.*\}"/>
2519
      </xsd:restriction>
2520
    </xsd:simpleContent>
2521
  </xsd:complexType>
2522
2523
2524
<!-- **************************************************** -->
2525
2526
  <xsd:complexType name="faces-config-managed-propertyType">
2527
    <xsd:annotation>
2528
      <xsd:documentation>
2529
        <![CDATA[[
2530
        <p> The "managed-property" element represents an individual
2531
        property of a managed bean that will be configured to the
2532
        specified value (or value set) if the corresponding
2533
        managed bean is automatically created.</p>
2534
        
2535
        ]]>
2536
      </xsd:documentation>
2537
    </xsd:annotation>
2538
    <xsd:sequence>
2539
      <xsd:group ref="javaee:descriptionGroup"/>
2540
      <xsd:element name="property-name"
2541
                   type="javaee:string">
2542
        <xsd:annotation>
2543
          <xsd:documentation>
2544
            <![CDATA[[
2545
            <p> The "property-name" element represents the JavaBeans
2546
            property name under which the corresponding value may
2547
            be stored.</p>
2548
            
2549
            ]]>
2550
          </xsd:documentation>
2551
        </xsd:annotation>
2552
      </xsd:element>
2553
      <xsd:element name="property-class"
2554
                   type="javaee:java-typeType"
2555
                   minOccurs="0">
2556
        <xsd:annotation>
2557
          <xsd:documentation>
2558
            <![CDATA[[
2559
            <p> The "property-class" element represents the Java type
2560
            of the value associated with this property name.
2561
            If not specified, it can be inferred from existing
2562
            classes; however, this element should be specified
2563
            if the configuration file is going to be the source
2564
            for generating the corresponding classes.</p>
2565
            
2566
            ]]>
2567
          </xsd:documentation>
2568
        </xsd:annotation>
2569
      </xsd:element>
2570
      <xsd:choice>
2571
        <xsd:element name="map-entries"
2572
                     type="javaee:faces-config-map-entriesType"/>
2573
        <xsd:element name="null-value"
2574
                     type="javaee:faces-config-null-valueType"/>
2575
        <xsd:element name="value"
2576
                     type="javaee:faces-config-valueType"/>
2577
        <xsd:element name="list-entries"
2578
                     type="javaee:faces-config-list-entriesType"/>
2579
      </xsd:choice>
2580
    </xsd:sequence>
2581
    <xsd:attribute name="id"
2582
                   type="xsd:ID"/>
2583
  </xsd:complexType>
2584
2585
2586
<!-- **************************************************** -->
2587
2588
  <xsd:complexType name="faces-config-map-entryType">
2589
    <xsd:annotation>
2590
      <xsd:documentation>
2591
        <![CDATA[[
2592
        <p> The "map-entry" element reprsents a single key-entry pair
2593
        that will be added to the computed value of a managed
2594
        property of type java.util.Map.</p>
2595
        
2596
        ]]>
2597
      </xsd:documentation>
2598
    </xsd:annotation>
2599
    <xsd:sequence>
2600
      <xsd:element name="key"
2601
                   type="javaee:string">
2602
        <xsd:annotation>
2603
          <xsd:documentation>
2604
            <![CDATA[[
2605
            <p> The "key" element is the String representation of a
2606
            map key that will be stored in a managed property of
2607
            type java.util.Map.</p>
2608
            
2609
            ]]>
2610
          </xsd:documentation>
2611
        </xsd:annotation>
2612
      </xsd:element>
2613
      <xsd:choice>
2614
        <xsd:element name="null-value"
2615
                     type="javaee:faces-config-null-valueType"/>
2616
        <xsd:element name="value"
2617
                     type="javaee:faces-config-valueType"/>
2618
      </xsd:choice>
2619
    </xsd:sequence>
2620
    <xsd:attribute name="id"
2621
                   type="xsd:ID"/>
2622
  </xsd:complexType>
2623
2624
2625
<!-- **************************************************** -->
2626
2627
  <xsd:complexType name="faces-config-map-entriesType">
2628
    <xsd:annotation>
2629
      <xsd:documentation>
2630
        <![CDATA[[
2631
        <p> The "map-entries' element represents a set of key-entry pairs
2632
        that will be added to the computed value of a managed property
2633
        of type java.util.Map.  In addition, the Java class types
2634
        of the key and entry values may be optionally declared.</p>
2635
        
2636
        ]]>
2637
      </xsd:documentation>
2638
    </xsd:annotation>
2639
    <xsd:sequence>
2640
      <xsd:element name="key-class"
2641
                   type="javaee:fully-qualified-classType"
2642
                   minOccurs="0">
2643
        <xsd:annotation>
2644
          <xsd:documentation>
2645
            <![CDATA[[
2646
            <p> The "key-class" element defines the Java type to which
2647
            each "key" element in a set of "map-entry" elements
2648
            will be converted to.  If omitted, "java.lang.String"
2649
            is assumed.</p>
2650
            
2651
            ]]>
2652
          </xsd:documentation>
2653
        </xsd:annotation>
2654
      </xsd:element>
2655
      <xsd:element name="value-class"
2656
                   type="javaee:faces-config-value-classType"
2657
                   minOccurs="0"/>
2658
      <xsd:element name="map-entry"
2659
                   type="javaee:faces-config-map-entryType"
2660
                   minOccurs="0"
2661
                   maxOccurs="unbounded"/>
2662
    </xsd:sequence>
2663
    <xsd:attribute name="id"
2664
                   type="xsd:ID"/>
2665
  </xsd:complexType>
2666
2667
2668
<!-- **************************************************** -->
2669
2670
  <xsd:complexType name="faces-config-navigation-caseType">
2671
    <xsd:annotation>
2672
      <xsd:documentation>
2673
        <![CDATA[[
2674
        <p> The "navigation-case" element describes a particular
2675
        combination of conditions that must match for this case to
2676
        be executed, and the view id of the component tree that
2677
        should be selected next.</p>
2678
        
2679
        ]]>
2680
      </xsd:documentation>
2681
    </xsd:annotation>
2682
    <xsd:sequence>
2683
      <xsd:group ref="javaee:descriptionGroup"/>
2684
      <xsd:element name="from-action"
2685
                   type="javaee:faces-config-from-actionType"
2686
                   minOccurs="0"/>
2687
      <xsd:element name="from-outcome"
2688
                   type="javaee:string"
2689
                   minOccurs="0">
2690
        <xsd:annotation>
2691
          <xsd:documentation>
2692
            <![CDATA[[
2693
            <p>The "from-outcome" element contains a logical outcome
2694
            string returned by the execution of an application
2695
            action method selected via an "actionRef" property
2696
            (or a literal value specified by an "action" property)
2697
            of a UICommand component.  If specified, this rule
2698
            will be relevant only if the outcome value matches
2699
            this element's value.  If not specified, this rule
2700
            will be relevant if the outcome value is non-null
2701
            or, if the "if" element is present, will be relevant
2702
            for any outcome value, with the assumption that the
2703
            condition specified in the "if" element ultimately
2704
            determines if this rule is a match.</p>
2705
            
2706
            ]]>
2707
          </xsd:documentation>
2708
        </xsd:annotation>
2709
      </xsd:element>
2710
      <xsd:element name="if"
2711
                   type="javaee:faces-config-ifType"
2712
                   minOccurs="0">
2713
        <xsd:annotation>
2714
          <xsd:documentation>
2715
            <![CDATA[[
2716
            <p> Please see section JSF.7.4.2 for the specification of this element.</p>
2717
            
2718
            ]]>
2719
          </xsd:documentation>
2720
        </xsd:annotation>
2721
      </xsd:element>
2722
      <xsd:element name="to-view-id"
2723
                   type="javaee:faces-config-valueType">
2724
        <xsd:annotation>
2725
          <xsd:documentation>
2726
            <![CDATA[[
2727
            <p><span class="changed_modified_2_2">The "to-view-id" element 
2728
            contains the view identifier (<span class="changed_added_2_2">or 
2729
            flow node id, or flow id</span>)
2730
            of the next view (<span class="changed_added_2_2">or flow node or 
2731
            flow</span>) that should be displayed if this
2732
            navigation rule is matched. If the contents is a
2733
            value expression, it should be resolved by the
2734
            navigation handler to obtain the view (
2735
            <span class="changed_added_2_2">or flow node or flow</span>) 
2736
            identifier.</p>
2737
            
2738
            ]]>
2739
          </xsd:documentation>
2740
        </xsd:annotation>
2741
      </xsd:element>
2742
      <xsd:element name="to-flow-document-id"
2743
                   type="javaee:java-identifierType"
2744
                   minOccurs="0">
2745
        <xsd:annotation>
2746
          <xsd:documentation>
2747
            <![CDATA[[
2748
            <p>The document id of the called flow.</p>
2749
            
2750
            ]]>
2751
          </xsd:documentation>
2752
        </xsd:annotation>
2753
      </xsd:element>
2754
      <xsd:element name="redirect"
2755
                   type="javaee:faces-config-redirectType"
2756
                   minOccurs="0"/>
2757
    </xsd:sequence>
2758
    <xsd:attribute name="id"
2759
                   type="xsd:ID"/>
2760
  </xsd:complexType>
2761
2762
2763
<!-- **************************************************** -->
2764
2765
  <xsd:complexType name="faces-config-navigation-ruleType">
2766
    <xsd:annotation>
2767
      <xsd:documentation>
2768
        <![CDATA[[
2769
        <p> The "navigation-rule" element represents an individual
2770
        decision rule that will be utilized by the default
2771
        NavigationHandler implementation to make decisions on
2772
        what view should be displayed next, based on the
2773
        view id being processed.</p>
2774
        
2775
        ]]>
2776
      </xsd:documentation>
2777
    </xsd:annotation>
2778
    <xsd:sequence>
2779
      <xsd:group ref="javaee:descriptionGroup"/>
2780
      <xsd:element name="from-view-id"
2781
                   type="javaee:faces-config-from-view-idType"
2782
                   minOccurs="0"/>
2783
      <xsd:element name="navigation-case"
2784
                   type="javaee:faces-config-navigation-caseType"
2785
                   minOccurs="0"
2786
                   maxOccurs="unbounded"/>
2787
      <xsd:element name="navigation-rule-extension"
2788
                   type="javaee:faces-config-navigation-rule-extensionType"
2789
                   minOccurs="0"
2790
                   maxOccurs="unbounded"/>
2791
    </xsd:sequence>
2792
    <xsd:attribute name="id"
2793
                   type="xsd:ID"/>
2794
  </xsd:complexType>
2795
2796
2797
<!-- **************************************************** -->
2798
2799
  <xsd:complexType name="faces-config-navigation-rule-extensionType">
2800
    <xsd:annotation>
2801
      <xsd:documentation>
2802
        <![CDATA[[
2803
        <p> Extension element for navigation-rule.  It may contain
2804
        implementation specific content.</p>
2805
        
2806
        ]]>
2807
      </xsd:documentation>
2808
    </xsd:annotation>
2809
    <xsd:sequence>
2810
      <xsd:any minOccurs="0"
2811
               maxOccurs="unbounded"
2812
               namespace="##any"
2813
               processContents="lax"/>
2814
    </xsd:sequence>
2815
    <xsd:attribute name="id"
2816
                   type="xsd:ID"/>
2817
  </xsd:complexType>
2818
2819
2820
<!-- **************************************************** -->
2821
2822
  <xsd:complexType name="faces-config-null-valueType">
2823
    <xsd:annotation>
2824
      <xsd:documentation>
2825
        <![CDATA[[
2826
        <p> The "null-value" element indicates that the managed
2827
        property in which we are nested will be explicitly
2828
        set to null if our managed bean is automatically
2829
        created.  This is different from omitting the managed
2830
        property element entirely, which will cause no
2831
        property setter to be called for this property.</p>
2832
        
2833
        <p>The "null-value" element can only be used when the
2834
        associated "property-class" identifies a Java class,
2835
        not a Java primitive.</p>
2836
        
2837
        ]]>
2838
      </xsd:documentation>
2839
    </xsd:annotation>
2840
    <xsd:attribute name="id"
2841
                   type="xsd:ID"/>
2842
  </xsd:complexType>
2843
2844
2845
<!-- **************************************************** -->
2846
2847
  <xsd:complexType name="faces-config-propertyType">
2848
    <xsd:annotation>
2849
      <xsd:documentation>
2850
        <![CDATA[[
2851
        <p> The "property" element represents a JavaBean property of the
2852
        Java class represented by our parent element.</p>
2853
        
2854
        <p>Property names must be unique within the scope of the Java
2855
        class that is represented by the parent element, and must
2856
        correspond to property names that will be recognized when
2857
        performing introspection against that class via
2858
        java.beans.Introspector.</p>
2859
        
2860
        ]]>
2861
      </xsd:documentation>
2862
    </xsd:annotation>
2863
    <xsd:sequence>
2864
      <xsd:group ref="javaee:descriptionGroup"/>
2865
      <xsd:element name="property-name"
2866
                   type="javaee:string">
2867
        <xsd:annotation>
2868
          <xsd:documentation>
2869
            <![CDATA[[
2870
            <p> The "property-name" element represents the JavaBeans
2871
            property name under which the corresponding value
2872
            may be stored.</p>
2873
            
2874
            ]]>
2875
          </xsd:documentation>
2876
        </xsd:annotation>
2877
      </xsd:element>
2878
      <xsd:element name="property-class"
2879
                   type="javaee:java-typeType">
2880
        <xsd:annotation>
2881
          <xsd:documentation>
2882
            <![CDATA[[
2883
            <p> The "property-class" element represents the Java type
2884
            of the value associated with this property name.
2885
            If not specified, it can be inferred from existing
2886
            classes; however, this element should be specified if
2887
            the configuration file is going to be the source for
2888
            generating the corresponding classes.</p>
2889
            
2890
            ]]>
2891
          </xsd:documentation>
2892
        </xsd:annotation>
2893
      </xsd:element>
2894
      <xsd:element name="default-value"
2895
                   type="javaee:faces-config-default-valueType"
2896
                   minOccurs="0"/>
2897
      <xsd:element name="suggested-value"
2898
                   type="javaee:faces-config-suggested-valueType"
2899
                   minOccurs="0"/>
2900
      <xsd:element name="property-extension"
2901
                   type="javaee:faces-config-property-extensionType"
2902
                   minOccurs="0"
2903
                   maxOccurs="unbounded"/>
2904
    </xsd:sequence>
2905
    <xsd:attribute name="id"
2906
                   type="xsd:ID"/>
2907
  </xsd:complexType>
2908
2909
2910
<!-- **************************************************** -->
2911
2912
  <xsd:complexType name="faces-config-protected-viewsType">
2913
    <xsd:annotation>
2914
      <xsd:documentation>
2915
        <![CDATA[[
2916
        <p class="changed_added_2_2">Any view that matches any of the
2917
        url-patterns in this element may only be reached from another JSF
2918
        view in the same web application. Because the runtime is aware of
2919
        which views are protected, any navigation from an unprotected
2920
        view to a protected view is automatically subject to
2921
        protection.</p>
2922
        
2923
        ]]>
2924
      </xsd:documentation>
2925
    </xsd:annotation>
2926
    <xsd:sequence>
2927
      <xsd:element name="url-pattern"
2928
                   type="javaee:url-patternType"
2929
                   maxOccurs="unbounded"/>
2930
    </xsd:sequence>
2931
  </xsd:complexType>
2932
2933
2934
<!-- **************************************************** -->
2935
2936
  <xsd:complexType name="faces-config-property-extensionType">
2937
    <xsd:annotation>
2938
      <xsd:documentation>
2939
        <![CDATA[[
2940
        <p> Extension element for property.  It may contain
2941
        implementation specific content.</p>
2942
        
2943
        ]]>
2944
      </xsd:documentation>
2945
    </xsd:annotation>
2946
    <xsd:sequence>
2947
      <xsd:any minOccurs="0"
2948
               maxOccurs="unbounded"
2949
               namespace="##any"
2950
               processContents="lax"/>
2951
    </xsd:sequence>
2952
    <xsd:attribute name="id"
2953
                   type="xsd:ID"/>
2954
  </xsd:complexType>
2955
2956
2957
<!-- **************************************************** -->
2958
2959
  <xsd:complexType name="faces-config-redirectType">
2960
    <xsd:annotation>
2961
      <xsd:documentation>
2962
        <![CDATA[[
2963
        <p> The "redirect" element indicates that navigation to the
2964
        specified "to-view-id" should be accomplished by
2965
        performing an HTTP redirect rather than the usual
2966
        ViewHandler mechanisms.</p>
2967
        
2968
        ]]>
2969
      </xsd:documentation>
2970
    </xsd:annotation>
2971
    <xsd:sequence>
2972
      <xsd:element name="view-param"
2973
                   type="javaee:faces-config-redirect-viewParamType"
2974
                   minOccurs="0"
2975
                   maxOccurs="unbounded"/>
2976
      <xsd:element name="redirect-param"
2977
                   type="javaee:faces-config-redirect-redirectParamType"
2978
                   minOccurs="0"
2979
                   maxOccurs="unbounded"/>
2980
    </xsd:sequence>
2981
    <xsd:attribute name="id"
2982
                   type="xsd:ID"/>
2983
    <xsd:attribute name="include-view-params"
2984
                   type="xsd:boolean"
2985
                   use="optional"/>
2986
  </xsd:complexType>
2987
2988
2989
<!-- **************************************************** -->
2990
2991
  <xsd:complexType name="faces-config-redirect-viewParamType">
2992
    <xsd:annotation>
2993
      <xsd:documentation>
2994
        <![CDATA[[
2995
        <p> This element was introduced due to a specification
2996
        error, and is now deprecated.  The correct name for
2997
        this element is "redirect-param" and its meaning is
2998
        documented therein.  The "view-param" element is
2999
        maintained to preserve backwards compatibility.
3000
        Implementations must treat this element the same as
3001
        "redirect-param".</p>
3002
        
3003
        ]]>
3004
      </xsd:documentation>
3005
    </xsd:annotation>
3006
    <xsd:sequence>
3007
      <xsd:element name="name"
3008
                   type="javaee:string"/>
3009
      <xsd:element name="value"
3010
                   type="javaee:string"/>
3011
    </xsd:sequence>
3012
    <xsd:attribute name="id"
3013
                   type="xsd:ID"/>
3014
  </xsd:complexType>
3015
3016
3017
<!-- **************************************************** -->
3018
3019
  <xsd:complexType name="faces-config-redirect-redirectParamType">
3020
    <xsd:annotation>
3021
      <xsd:documentation>
3022
        <![CDATA[[
3023
        <p> The "redirect-param" element, only valid within
3024
        a "redirect" element, contains child "name"
3025
        and "value" elements that must be included in the
3026
        redirect url when the redirect is performed.</p>
3027
        
3028
        ]]>
3029
      </xsd:documentation>
3030
    </xsd:annotation>
3031
    <xsd:sequence>
3032
      <xsd:element name="name"
3033
                   type="javaee:string"/>
3034
      <xsd:element name="value"
3035
                   type="javaee:string"/>
3036
    </xsd:sequence>
3037
    <xsd:attribute name="id"
3038
                   type="xsd:ID"/>
3039
  </xsd:complexType>
3040
3041
3042
<!-- **************************************************** -->
3043
3044
  <xsd:complexType name="faces-config-referenced-beanType">
3045
    <xsd:annotation>
3046
      <xsd:documentation>
3047
        <![CDATA[[
3048
        <p> The "referenced-bean" element represents at design time the
3049
        promise that a Java object of the specified type will exist at
3050
        runtime in some scope, under the specified key.  This can be
3051
        used by design time tools to construct user interface dialogs
3052
        based on the properties of the specified class.  The presence
3053
        or absence of a referenced bean element has no impact on the
3054
        JavaServer Faces runtime environment inside a web application.</p>
3055
        
3056
        ]]>
3057
      </xsd:documentation>
3058
    </xsd:annotation>
3059
    <xsd:sequence>
3060
      <xsd:group ref="javaee:descriptionGroup"/>
3061
      <xsd:element name="referenced-bean-name"
3062
                   type="javaee:java-identifierType">
3063
        <xsd:annotation>
3064
          <xsd:documentation>
3065
            <![CDATA[[
3066
            <p> The "referenced-bean-name" element represents the
3067
            attribute name under which the corresponding
3068
            referenced bean may be assumed to be stored, in one
3069
            of 'request', 'session', 'view', 'application'
3070
            or a custom scope.</p>
3071
            
3072
            ]]>
3073
          </xsd:documentation>
3074
        </xsd:annotation>
3075
      </xsd:element>
3076
      <xsd:element name="referenced-bean-class"
3077
                   type="javaee:fully-qualified-classType">
3078
        <xsd:annotation>
3079
          <xsd:documentation>
3080
            <![CDATA[[
3081
            <p> The "referenced-bean-class" element represents the
3082
            fully qualified class name of the Java class
3083
            (either abstract or concrete) or Java interface
3084
            implemented by the corresponding referenced bean.</p>
3085
            
3086
            ]]>
3087
          </xsd:documentation>
3088
        </xsd:annotation>
3089
      </xsd:element>
3090
    </xsd:sequence>
3091
    <xsd:attribute name="id"
3092
                   type="xsd:ID"/>
3093
  </xsd:complexType>
3094
3095
3096
<!-- **************************************************** -->
3097
3098
  <xsd:complexType name="faces-config-render-kitType">
3099
    <xsd:annotation>
3100
      <xsd:documentation>
3101
        <![CDATA[[
3102
        <p> The "render-kit" element represents a concrete RenderKit
3103
        implementation that should be registered under the specified
3104
        render-kit-id.  If no render-kit-id is specified, the
3105
        identifier of the default RenderKit
3106
        (RenderKitFactory.DEFAULT_RENDER_KIT) is assumed.</p>
3107
        
3108
        ]]>
3109
      </xsd:documentation>
3110
    </xsd:annotation>
3111
    <xsd:sequence>
3112
      <xsd:group ref="javaee:descriptionGroup"/>
3113
      <xsd:element name="render-kit-id"
3114
                   type="javaee:string"
3115
                   minOccurs="0">
3116
        <xsd:annotation>
3117
          <xsd:documentation>
3118
            <![CDATA[[
3119
            <p> The "render-kit-id" element represents an identifier
3120
            for the RenderKit represented by the parent
3121
            "render-kit" element.</p>
3122
            
3123
            ]]>
3124
          </xsd:documentation>
3125
        </xsd:annotation>
3126
      </xsd:element>
3127
      <xsd:element name="render-kit-class"
3128
                   type="javaee:fully-qualified-classType"
3129
                   minOccurs="0">
3130
        <xsd:annotation>
3131
          <xsd:documentation>
3132
            <![CDATA[[
3133
            <p> The "render-kit-class" element represents the fully
3134
            qualified class name of a concrete RenderKit
3135
            implementation class.</p>
3136
            
3137
            ]]>
3138
          </xsd:documentation>
3139
        </xsd:annotation>
3140
      </xsd:element>
3141
      <xsd:element name="renderer"
3142
                   type="javaee:faces-config-rendererType"
3143
                   minOccurs="0"
3144
                   maxOccurs="unbounded"/>
3145
      <xsd:element name="client-behavior-renderer"
3146
                   type="javaee:faces-config-client-behavior-rendererType"
3147
                   minOccurs="0"
3148
                   maxOccurs="unbounded"/>
3149
      <xsd:element name="render-kit-extension"
3150
                   type="javaee:faces-config-render-kit-extensionType"
3151
                   minOccurs="0"
3152
                   maxOccurs="unbounded"/>
3153
    </xsd:sequence>
3154
    <xsd:attribute name="id"
3155
                   type="xsd:ID"/>
3156
  </xsd:complexType>
3157
3158
3159
<!-- **************************************************** -->
3160
3161
  <xsd:complexType name="faces-config-client-behavior-rendererType">
3162
    <xsd:annotation>
3163
      <xsd:documentation>
3164
        <![CDATA[[
3165
        <p> The "client-behavior-renderer" element represents a concrete
3166
        ClientBehaviorRenderer implementation class that should be
3167
        registered under the specified behavior renderer type identifier,
3168
        in the RenderKit associated with the parent "render-kit"
3169
        element.  Client Behavior renderer type must be unique within the RenderKit
3170
        associated with the parent "render-kit" element.</p>
3171
        
3172
        <p>Nested "attribute" elements identify generic component
3173
        attributes that are recognized by this renderer.</p>
3174
        
3175
        ]]>
3176
      </xsd:documentation>
3177
    </xsd:annotation>
3178
    <xsd:sequence>
3179
      <xsd:element name="client-behavior-renderer-type"
3180
                   type="javaee:string">
3181
        <xsd:annotation>
3182
          <xsd:documentation>
3183
            <![CDATA[[
3184
            <p> The "client-behavior-renderer-type" element represents a renderer type
3185
            identifier for the Client Behavior Renderer represented by the parent
3186
            "client-behavior-renderer" element.</p>
3187
            
3188
            ]]>
3189
          </xsd:documentation>
3190
        </xsd:annotation>
3191
      </xsd:element>
3192
      <xsd:element name="client-behavior-renderer-class"
3193
                   type="javaee:fully-qualified-classType">
3194
        <xsd:annotation>
3195
          <xsd:documentation>
3196
            <![CDATA[[
3197
            <p> The "client-behavior-renderer-class" element represents the fully
3198
            qualified class name of a concrete Client Behavior Renderer
3199
            implementation class.</p>
3200
            
3201
            ]]>
3202
          </xsd:documentation>
3203
        </xsd:annotation>
3204
      </xsd:element>
3205
    </xsd:sequence>
3206
    <xsd:attribute name="id"
3207
                   type="xsd:ID"/>
3208
  </xsd:complexType>
3209
3210
3211
<!-- **************************************************** -->
3212
3213
  <xsd:complexType name="faces-config-rendererType">
3214
    <xsd:annotation>
3215
      <xsd:documentation>
3216
        <![CDATA[[
3217
        <p> The "renderer" element represents a concrete Renderer
3218
        implementation class that should be registered under the
3219
        specified component family and renderer type identifiers,
3220
        in the RenderKit associated with the parent "render-kit"
3221
        element.  Combinations of component family and
3222
        renderer type must be unique within the RenderKit
3223
        associated with the parent "render-kit" element.</p>
3224
        
3225
        <p>Nested "attribute" elements identify generic component
3226
        attributes that are recognized by this renderer.</p>
3227
        
3228
        ]]>
3229
      </xsd:documentation>
3230
    </xsd:annotation>
3231
    <xsd:sequence>
3232
      <xsd:group ref="javaee:descriptionGroup"/>
3233
      <xsd:element name="component-family"
3234
                   type="javaee:string">
3235
        <xsd:annotation>
3236
          <xsd:documentation>
3237
            <![CDATA[[
3238
            <p> The "component-family" element represents the
3239
            component family for which the Renderer represented
3240
            by the parent "renderer" element will be used.</p>
3241
            
3242
            ]]>
3243
          </xsd:documentation>
3244
        </xsd:annotation>
3245
      </xsd:element>
3246
      <xsd:element name="renderer-type"
3247
                   type="javaee:string">
3248
        <xsd:annotation>
3249
          <xsd:documentation>
3250
            <![CDATA[[
3251
            <p> The "renderer-type" element represents a renderer type
3252
            identifier for the Renderer represented by the parent
3253
            "renderer" element.</p>
3254
            
3255
            ]]>
3256
          </xsd:documentation>
3257
        </xsd:annotation>
3258
      </xsd:element>
3259
      <xsd:element name="renderer-class"
3260
                   type="javaee:fully-qualified-classType">
3261
        <xsd:annotation>
3262
          <xsd:documentation>
3263
            <![CDATA[[
3264
            <p> The "renderer-class" element represents the fully
3265
            qualified class name of a concrete Renderer
3266
            implementation class.</p>
3267
            
3268
            ]]>
3269
          </xsd:documentation>
3270
        </xsd:annotation>
3271
      </xsd:element>
3272
      <xsd:element name="facet"
3273
                   type="javaee:faces-config-facetType"
3274
                   minOccurs="0"
3275
                   maxOccurs="unbounded"/>
3276
      <xsd:element name="attribute"
3277
                   type="javaee:faces-config-attributeType"
3278
                   minOccurs="0"
3279
                   maxOccurs="unbounded"/>
3280
      <xsd:element name="renderer-extension"
3281
                   type="javaee:faces-config-renderer-extensionType"
3282
                   minOccurs="0"
3283
                   maxOccurs="unbounded"/>
3284
    </xsd:sequence>
3285
    <xsd:attribute name="id"
3286
                   type="xsd:ID"/>
3287
  </xsd:complexType>
3288
3289
3290
<!-- **************************************************** -->
3291
3292
  <xsd:complexType name="faces-config-renderer-extensionType">
3293
    <xsd:annotation>
3294
      <xsd:documentation>
3295
        <![CDATA[[
3296
        <p> Extension element for renderer.  It may contain implementation
3297
        specific content.</p>
3298
        
3299
        ]]>
3300
      </xsd:documentation>
3301
    </xsd:annotation>
3302
    <xsd:sequence>
3303
      <xsd:any minOccurs="0"
3304
               maxOccurs="unbounded"
3305
               namespace="##any"
3306
               processContents="lax"/>
3307
    </xsd:sequence>
3308
    <xsd:attribute name="id"
3309
                   type="xsd:ID"/>
3310
  </xsd:complexType>
3311
3312
3313
<!-- **************************************************** -->
3314
3315
  <xsd:complexType name="faces-config-render-kit-extensionType">
3316
    <xsd:annotation>
3317
      <xsd:documentation>
3318
        <![CDATA[[
3319
        <p> Extension element for render-kit.  It may contain
3320
        implementation specific content.</p>
3321
        
3322
        ]]>
3323
      </xsd:documentation>
3324
    </xsd:annotation>
3325
    <xsd:sequence>
3326
      <xsd:any minOccurs="0"
3327
               maxOccurs="unbounded"
3328
               namespace="##any"
3329
               processContents="lax"/>
3330
    </xsd:sequence>
3331
    <xsd:attribute name="id"
3332
                   type="xsd:ID"/>
3333
  </xsd:complexType>
3334
3335
3336
<!-- **************************************************** -->
3337
3338
  <xsd:complexType name="faces-config-suggested-valueType">
3339
    <xsd:annotation>
3340
      <xsd:documentation>
3341
        <![CDATA[[
3342
        <p> The "suggested-value" contains the value for the property or
3343
        attribute in which this element resides.  This value is
3344
        advisory only and is intended for tools to use when
3345
        populating pallettes.</p>
3346
        
3347
        ]]>
3348
      </xsd:documentation>
3349
    </xsd:annotation>
3350
    <xsd:simpleContent>
3351
      <xsd:restriction base="javaee:string"/>
3352
    </xsd:simpleContent>
3353
  </xsd:complexType>
3354
3355
3356
<!-- **************************************************** -->
3357
3358
  <xsd:complexType name="faces-config-supported-localeType">
3359
    <xsd:annotation>
3360
      <xsd:documentation>
3361
        <![CDATA[[
3362
        <p> The "supported-locale" element allows authors to declare
3363
        which locales are supported in this application instance.</p>
3364
        
3365
        <p>It must be specified as :language:[_:country:[_:variant:]]
3366
        without the colons, for example "ja_JP_SJIS".  The
3367
        separators between the segments may be '-' or '_'.</p>
3368
        
3369
        ]]>
3370
      </xsd:documentation>
3371
    </xsd:annotation>
3372
    <xsd:simpleContent>
3373
      <xsd:extension base="javaee:faces-config-localeType">
3374
        <xsd:attribute name="id"
3375
                       type="xsd:ID"/>
3376
      </xsd:extension>
3377
    </xsd:simpleContent>
3378
  </xsd:complexType>
3379
3380
3381
<!-- **************************************************** -->
3382
3383
  <xsd:complexType name="faces-config-behaviorType">
3384
    <xsd:annotation>
3385
      <xsd:documentation>
3386
        <![CDATA[[
3387
        <p> The "behavior" element represents a concrete Behavior
3388
        implementation class that should be registered under the
3389
        specified behavior identifier.  Behavior identifiers must
3390
        be unique within the entire web application.</p>
3391
        
3392
        <p>Nested "attribute" elements identify generic attributes that
3393
        may be configured on the corresponding UIComponent in order
3394
        to affect the operation of the Behavior.  Nested "property"
3395
        elements identify JavaBeans properties of the Behavior
3396
        implementation class that may be configured to affect the
3397
        operation of the Behavior.  "attribute" and "property"
3398
        elements are intended to allow component developers to
3399
        more completely describe their components to tools and users.
3400
        These elements have no required runtime semantics.</p>
3401
        
3402
        ]]>
3403
      </xsd:documentation>
3404
    </xsd:annotation>
3405
    <xsd:sequence>
3406
      <xsd:group ref="javaee:descriptionGroup"/>
3407
      <xsd:element name="behavior-id"
3408
                   type="javaee:string">
3409
        <xsd:annotation>
3410
          <xsd:documentation>
3411
            <![CDATA[[
3412
            <p> The "behavior-id" element represents the identifier
3413
            under which the corresponding Behavior class should
3414
            be registered.</p>
3415
            
3416
            ]]>
3417
          </xsd:documentation>
3418
        </xsd:annotation>
3419
      </xsd:element>
3420
      <xsd:element name="behavior-class"
3421
                   type="javaee:fully-qualified-classType">
3422
        <xsd:annotation>
3423
          <xsd:documentation>
3424
            <![CDATA[[
3425
            <p> The "behavior-class" element represents the fully
3426
            qualified class name of a concrete Behavior
3427
            implementation class.</p>
3428
            
3429
            ]]>
3430
          </xsd:documentation>
3431
        </xsd:annotation>
3432
      </xsd:element>
3433
      <xsd:element name="attribute"
3434
                   type="javaee:faces-config-attributeType"
3435
                   minOccurs="0"
3436
                   maxOccurs="unbounded">
3437
        <xsd:annotation>
3438
          <xsd:documentation>
3439
            <![CDATA[[
3440
            <p> Nested "attribute" elements identify generic
3441
            attributes that may be configured on the
3442
            corresponding UIComponent in order to affect the
3443
            operation of the Behavior.  This attribute is
3444
            primarily for design-time tools and is not
3445
            specified to have any meaning at runtime.</p>
3446
            
3447
            ]]>
3448
          </xsd:documentation>
3449
        </xsd:annotation>
3450
      </xsd:element>
3451
      <xsd:element name="property"
3452
                   type="javaee:faces-config-propertyType"
3453
                   minOccurs="0"
3454
                   maxOccurs="unbounded">
3455
        <xsd:annotation>
3456
          <xsd:documentation>
3457
            <![CDATA[[
3458
            <p> Nested "property" elements identify JavaBeans
3459
            properties of the Behavior implementation class
3460
            that may be configured to affect the operation of
3461
            the Behavior.  This attribute is primarily for
3462
            design-time tools and is not specified to have
3463
            any meaning at runtime.</p>
3464
            
3465
            ]]>
3466
          </xsd:documentation>
3467
        </xsd:annotation>
3468
      </xsd:element>
3469
      <xsd:element name="behavior-extension"
3470
                   type="javaee:faces-config-behavior-extensionType"
3471
                   minOccurs="0"
3472
                   maxOccurs="unbounded"/>
3473
    </xsd:sequence>
3474
    <xsd:attribute name="id"
3475
                   type="xsd:ID"/>
3476
  </xsd:complexType>
3477
3478
3479
<!-- **************************************************** -->
3480
3481
  <xsd:complexType name="faces-config-behavior-extensionType">
3482
    <xsd:annotation>
3483
      <xsd:documentation>
3484
        <![CDATA[[
3485
        <p> Extension element for behavior.  It may contain
3486
        implementation specific content.</p>
3487
        
3488
        ]]>
3489
      </xsd:documentation>
3490
    </xsd:annotation>
3491
    <xsd:sequence>
3492
      <xsd:any minOccurs="0"
3493
               maxOccurs="unbounded"
3494
               namespace="##any"
3495
               processContents="lax"/>
3496
    </xsd:sequence>
3497
    <xsd:attribute name="id"
3498
                   type="xsd:ID"/>
3499
  </xsd:complexType>
3500
3501
3502
<!-- **************************************************** -->
3503
3504
  <xsd:complexType name="faces-config-validatorType">
3505
    <xsd:annotation>
3506
      <xsd:documentation>
3507
        <![CDATA[[
3508
        <p> The "validator" element represents a concrete Validator
3509
        implementation class that should be registered under the
3510
        specified validator identifier.  Validator identifiers must
3511
        be unique within the entire web application.</p>
3512
        
3513
        <p>Nested "attribute" elements identify generic attributes that
3514
        may be configured on the corresponding UIComponent in order
3515
        to affect the operation of the Validator.  Nested "property"
3516
        elements identify JavaBeans properties of the Validator
3517
        implementation class that may be configured to affect the
3518
        operation of the Validator.  "attribute" and "property"
3519
        elements are intended to allow component developers to
3520
        more completely describe their components to tools and users.
3521
        These elements have no required runtime semantics.</p>
3522
        
3523
        ]]>
3524
      </xsd:documentation>
3525
    </xsd:annotation>
3526
    <xsd:sequence>
3527
      <xsd:group ref="javaee:descriptionGroup"/>
3528
      <xsd:element name="validator-id"
3529
                   type="javaee:string">
3530
        <xsd:annotation>
3531
          <xsd:documentation>
3532
            <![CDATA[[
3533
            <p> The "validator-id" element represents the identifier
3534
            under which the corresponding Validator class should
3535
            be registered.</p>
3536
            
3537
            ]]>
3538
          </xsd:documentation>
3539
        </xsd:annotation>
3540
      </xsd:element>
3541
      <xsd:element name="validator-class"
3542
                   type="javaee:fully-qualified-classType">
3543
        <xsd:annotation>
3544
          <xsd:documentation>
3545
            <![CDATA[[
3546
            <p> The "validator-class" element represents the fully
3547
            qualified class name of a concrete Validator
3548
            implementation class.</p>
3549
            
3550
            ]]>
3551
          </xsd:documentation>
3552
        </xsd:annotation>
3553
      </xsd:element>
3554
      <xsd:element name="attribute"
3555
                   type="javaee:faces-config-attributeType"
3556
                   minOccurs="0"
3557
                   maxOccurs="unbounded">
3558
        <xsd:annotation>
3559
          <xsd:documentation>
3560
            <![CDATA[[
3561
            <p> Nested "attribute" elements identify generic
3562
            attributes that may be configured on the
3563
            corresponding UIComponent in order to affect the
3564
            operation of the Validator.  This attribute is
3565
            primarily for design-time tools and is not
3566
            specified to have any meaning at runtime.</p>
3567
            
3568
            ]]>
3569
          </xsd:documentation>
3570
        </xsd:annotation>
3571
      </xsd:element>
3572
      <xsd:element name="property"
3573
                   type="javaee:faces-config-propertyType"
3574
                   minOccurs="0"
3575
                   maxOccurs="unbounded">
3576
        <xsd:annotation>
3577
          <xsd:documentation>
3578
            <![CDATA[[
3579
            <p> Nested "property" elements identify JavaBeans
3580
            properties of the Validator implementation class
3581
            that may be configured to affect the operation of
3582
            the Validator.  This attribute is primarily for
3583
            design-time tools and is not specified to have
3584
            any meaning at runtime.</p>
3585
            
3586
            ]]>
3587
          </xsd:documentation>
3588
        </xsd:annotation>
3589
      </xsd:element>
3590
      <xsd:element name="validator-extension"
3591
                   type="javaee:faces-config-validator-extensionType"
3592
                   minOccurs="0"
3593
                   maxOccurs="unbounded"/>
3594
    </xsd:sequence>
3595
    <xsd:attribute name="id"
3596
                   type="xsd:ID"/>
3597
  </xsd:complexType>
3598
3599
3600
<!-- **************************************************** -->
3601
3602
  <xsd:complexType name="faces-config-validator-extensionType">
3603
    <xsd:annotation>
3604
      <xsd:documentation>
3605
        <![CDATA[[
3606
        <p> Extension element for validator.  It may contain
3607
        implementation specific content.</p>
3608
        
3609
        ]]>
3610
      </xsd:documentation>
3611
    </xsd:annotation>
3612
    <xsd:sequence>
3613
      <xsd:any minOccurs="0"
3614
               maxOccurs="unbounded"
3615
               namespace="##any"
3616
               processContents="lax"/>
3617
    </xsd:sequence>
3618
    <xsd:attribute name="id"
3619
                   type="xsd:ID"/>
3620
  </xsd:complexType>
3621
3622
  <xsd:simpleType name="faces-config-valueType">
3623
    <xsd:annotation>
3624
      <xsd:documentation>
3625
        <![CDATA[[
3626
        <p> The "value" element is the String representation of
3627
        a literal value to which a scalar managed property
3628
        will be set, or a value binding expression ("#{...}")
3629
        that will be used to calculate the required value.
3630
        It will be converted as specified for the actual
3631
        property type.</p>
3632
        
3633
        ]]>
3634
      </xsd:documentation>
3635
    </xsd:annotation>
3636
    <xsd:union memberTypes="javaee:faces-config-el-expressionType xsd:string"/>
3637
  </xsd:simpleType>
3638
3639
3640
<!-- **************************************************** -->
3641
3642
  <xsd:complexType name="faces-config-value-classType">
3643
    <xsd:annotation>
3644
      <xsd:documentation>
3645
        <![CDATA[[
3646
        <p> The "value-class" element defines the Java type to which each
3647
        "value" element's value will be converted to, prior to adding
3648
        it to the "list-entries" list for a managed property that is
3649
        a java.util.List, or a "map-entries" map for a managed
3650
        property that is a java.util.Map.</p>
3651
        
3652
        ]]>
3653
      </xsd:documentation>
3654
    </xsd:annotation>
3655
    <xsd:simpleContent>
3656
      <xsd:restriction base="javaee:fully-qualified-classType">
3657
        <xsd:attribute name="id"
3658
                       type="xsd:ID"/>
3659
      </xsd:restriction>
3660
    </xsd:simpleContent>
3661
  </xsd:complexType>
3662
3663
3664
<!-- **************************************************** -->
3665
3666
  <xsd:complexType name="faces-config-list-entriesType">
3667
    <xsd:annotation>
3668
      <xsd:documentation>
3669
        <![CDATA[[
3670
        <p> The "list-entries" element represents a set of initialization
3671
        elements for a managed property that is a java.util.List or an
3672
        array.  In the former case, the "value-class" element can
3673
        optionally be used to declare the Java type to which each
3674
        value should be converted before adding it to the Collection.</p>
3675
        
3676
        ]]>
3677
      </xsd:documentation>
3678
    </xsd:annotation>
3679
    <xsd:sequence>
3680
      <xsd:element name="value-class"
3681
                   type="javaee:faces-config-value-classType"
3682
                   minOccurs="0"/>
3683
      <xsd:choice minOccurs="0"
3684
                  maxOccurs="unbounded">
3685
        <xsd:element name="null-value"
3686
                     type="javaee:faces-config-null-valueType"/>
3687
        <xsd:element name="value"
3688
                     type="javaee:faces-config-valueType"/>
3689
      </xsd:choice>
3690
    </xsd:sequence>
3691
    <xsd:attribute name="id"
3692
                   type="xsd:ID"/>
3693
  </xsd:complexType>
3694
3695
3696
<!-- **************************************************** -->
3697
3698
  <xsd:complexType name="faces-config-system-event-listenerType">
3699
    <xsd:annotation>
3700
      <xsd:documentation>
3701
        <![CDATA[[
3702
        <p> The presence of this element within the "application" element in
3703
        an application configuration resource file indicates the
3704
        developer wants to add an SystemEventListener to this
3705
        application instance.  Elements nested within this element allow
3706
        selecting the kinds of events that will be delivered to the
3707
        listener instance, and allow selecting the kinds of classes that
3708
        can be the source of events that are delivered to the listener
3709
        instance.</p>
3710
        
3711
        ]]>
3712
      </xsd:documentation>
3713
    </xsd:annotation>
3714
    <xsd:sequence>
3715
      <xsd:element name="system-event-listener-class"
3716
                   type="javaee:fully-qualified-classType">
3717
        <xsd:annotation>
3718
          <xsd:documentation>
3719
            <![CDATA[[
3720
            <p> The "system-event-listener-class" element contains
3721
            the fully qualified class name of the concrete
3722
            SystemEventListener implementation class that will be
3723
            called when events of the type specified by the
3724
            "system-event-class" are sent by the runtime.</p>
3725
            
3726
            ]]>
3727
          </xsd:documentation>
3728
        </xsd:annotation>
3729
      </xsd:element>
3730
      <xsd:element name="system-event-class"
3731
                   type="javaee:fully-qualified-classType">
3732
        <xsd:annotation>
3733
          <xsd:documentation>
3734
            <![CDATA[[
3735
            <p> The "system-event-class" element contains the fully
3736
            qualified class name of the SystemEvent subclass for
3737
            which events will be delivered to the class whose fully
3738
            qualified class name is given by the
3739
            "system-event-listener-class" element.</p>
3740
            
3741
            ]]>
3742
          </xsd:documentation>
3743
        </xsd:annotation>
3744
      </xsd:element>
3745
      <xsd:element name="source-class"
3746
                   type="javaee:fully-qualified-classType"
3747
                   minOccurs="0">
3748
        <xsd:annotation>
3749
          <xsd:documentation>
3750
            <![CDATA[[
3751
            <p> The "source-class" element, if present, contains the
3752
            fully qualified class name of the class that will be the
3753
            source for the event to be delivered to the class whose
3754
            fully qualified class name is given by the
3755
            "system-event-listener-class" element.</p>
3756
            
3757
            ]]>
3758
          </xsd:documentation>
3759
        </xsd:annotation>
3760
      </xsd:element>
3761
    </xsd:sequence>
3762
    <xsd:attribute name="id"
3763
                   type="xsd:ID"/>
3764
  </xsd:complexType>
3765
3766
  <xsd:simpleType name="faces-config-versionType">
3767
    <xsd:annotation>
3768
      <xsd:documentation>
3769
        <![CDATA[[
3770
        <p> This type contains the recognized versions of
3771
        faces-config supported.</p>
3772
        
3773
        ]]>
3774
      </xsd:documentation>
3775
    </xsd:annotation>
3776
    <xsd:restriction base="xsd:token">
3777
      <xsd:enumeration value="2.2"/>
3778
    </xsd:restriction>
3779
  </xsd:simpleType>
3780
3781
</xsd:schema>
(-)a/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/web-fragment_3_1.xsd (+272 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
3
            targetNamespace="http://xmlns.jcp.org/xml/ns/javaee"
4
            xmlns:javaee="http://xmlns.jcp.org/xml/ns/javaee"
5
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6
            elementFormDefault="qualified"
7
            attributeFormDefault="unqualified"
8
            version="3.1">
9
  <xsd:annotation>
10
    <xsd:documentation>
11
12
      DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
13
      
14
      Copyright (c) 2009-2013 Oracle and/or its affiliates. All rights reserved.
15
      
16
      The contents of this file are subject to the terms of either the GNU
17
      General Public License Version 2 only ("GPL") or the Common Development
18
      and Distribution License("CDDL") (collectively, the "License").  You
19
      may not use this file except in compliance with the License.  You can
20
      obtain a copy of the License at
21
      https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
22
      or packager/legal/LICENSE.txt.  See the License for the specific
23
      language governing permissions and limitations under the License.
24
      
25
      When distributing the software, include this License Header Notice in each
26
      file and include the License file at packager/legal/LICENSE.txt.
27
      
28
      GPL Classpath Exception:
29
      Oracle designates this particular file as subject to the "Classpath"
30
      exception as provided by Oracle in the GPL Version 2 section of the License
31
      file that accompanied this code.
32
      
33
      Modifications:
34
      If applicable, add the following below the License Header, with the fields
35
      enclosed by brackets [] replaced by your own identifying information:
36
      "Portions Copyright [year] [name of copyright owner]"
37
      
38
      Contributor(s):
39
      If you wish your version of this file to be governed by only the CDDL or
40
      only the GPL Version 2, indicate your decision by adding "[Contributor]
41
      elects to include this software in this distribution under the [CDDL or GPL
42
      Version 2] license."  If you don't indicate a single choice of license, a
43
      recipient has the option to distribute your version of this file under
44
      either the CDDL, the GPL Version 2 or to extend the choice of license to
45
      its licensees as provided above.  However, if you add GPL Version 2 code
46
      and therefore, elected the GPL Version 2 license, then the option applies
47
      only if the new code is made subject to such option by the copyright
48
      holder.
49
      
50
    </xsd:documentation>
51
  </xsd:annotation>
52
53
  <xsd:annotation>
54
    <xsd:documentation>
55
      <![CDATA[[
56
      This is the XML Schema for the Servlet 3.1 deployment descriptor.
57
      The deployment descriptor must be named "META-INF/web-fragment.xml"
58
      in the web fragment's jar file.  All Servlet deployment descriptors
59
      must indicate the web application schema by using the Java EE
60
      namespace:
61
      
62
      http://xmlns.jcp.org/xml/ns/javaee 
63
      
64
      and by indicating the version of the schema by 
65
      using the version element as shown below: 
66
      
67
      <web-fragment xmlns="http://xmlns.jcp.org/xml/ns/javaee"
68
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
69
      xsi:schemaLocation="..."
70
      version="3.1"> 
71
      ...
72
      </web-fragment>
73
      
74
      The instance documents may indicate the published version of
75
      the schema using the xsi:schemaLocation attribute for Java EE
76
      namespace with the following location:
77
      
78
      http://xmlns.jcp.org/xml/ns/javaee/web-fragment_3_1.xsd
79
      
80
      ]]>
81
    </xsd:documentation>
82
  </xsd:annotation>
83
84
  <xsd:annotation>
85
    <xsd:documentation>
86
87
      The following conventions apply to all Java EE
88
      deployment descriptor elements unless indicated otherwise.
89
      
90
      - In elements that specify a pathname to a file within the
91
      same JAR file, relative filenames (i.e., those not
92
      starting with "/") are considered relative to the root of
93
      the JAR file's namespace.  Absolute filenames (i.e., those
94
      starting with "/") also specify names in the root of the
95
      JAR file's namespace.  In general, relative names are
96
      preferred.  The exception is .war files where absolute
97
      names are preferred for consistency with the Servlet API.
98
      
99
    </xsd:documentation>
100
  </xsd:annotation>
101
102
  <xsd:include schemaLocation="web-common_3_1.xsd"/>
103
104
105
<!-- **************************************************** -->
106
107
  <xsd:element name="web-fragment"
108
               type="javaee:web-fragmentType">
109
    <xsd:annotation>
110
      <xsd:documentation>
111
112
        The web-fragment element is the root of the deployment
113
        descriptor for a web fragment.  Note that the sub-elements
114
        of this element can be in the arbitrary order. Because of
115
        that, the multiplicity of the elements of distributable,
116
        session-config, welcome-file-list, jsp-config, login-config,
117
        and locale-encoding-mapping-list was changed from "?" to "*"
118
        in this schema.  However, the deployment descriptor instance
119
        file must not contain multiple elements of session-config,
120
        jsp-config, and login-config. When there are multiple elements of
121
        welcome-file-list or locale-encoding-mapping-list, the container
122
        must concatenate the element contents.  The multiple occurence
123
        of the element distributable is redundant and the container
124
        treats that case exactly in the same way when there is only
125
        one distributable. 
126
        
127
      </xsd:documentation>
128
    </xsd:annotation>
129
    <xsd:unique name="web-common-servlet-name-uniqueness">
130
      <xsd:annotation>
131
        <xsd:documentation>
132
133
          The servlet element contains the name of a servlet.
134
          The name must be unique within the web application.
135
          
136
        </xsd:documentation>
137
      </xsd:annotation>
138
      <xsd:selector xpath="javaee:servlet"/>
139
      <xsd:field xpath="javaee:servlet-name"/>
140
    </xsd:unique>
141
    <xsd:unique name="web-common-filter-name-uniqueness">
142
      <xsd:annotation>
143
        <xsd:documentation>
144
145
          The filter element contains the name of a filter.
146
          The name must be unique within the web application.
147
          
148
        </xsd:documentation>
149
      </xsd:annotation>
150
      <xsd:selector xpath="javaee:filter"/>
151
      <xsd:field xpath="javaee:filter-name"/>
152
    </xsd:unique>
153
    <xsd:unique name="web-common-ejb-local-ref-name-uniqueness">
154
      <xsd:annotation>
155
        <xsd:documentation>
156
157
          The ejb-local-ref-name element contains the name of an EJB
158
          reference. The EJB reference is an entry in the web
159
          application's environment and is relative to the
160
          java:comp/env context.  The name must be unique within
161
          the web application.
162
          
163
          It is recommended that name is prefixed with "ejb/".
164
          
165
        </xsd:documentation>
166
      </xsd:annotation>
167
      <xsd:selector xpath="javaee:ejb-local-ref"/>
168
      <xsd:field xpath="javaee:ejb-ref-name"/>
169
    </xsd:unique>
170
    <xsd:unique name="web-common-ejb-ref-name-uniqueness">
171
      <xsd:annotation>
172
        <xsd:documentation>
173
174
          The ejb-ref-name element contains the name of an EJB
175
          reference. The EJB reference is an entry in the web
176
          application's environment and is relative to the
177
          java:comp/env context.  The name must be unique within
178
          the web application.
179
          
180
          It is recommended that name is prefixed with "ejb/".
181
          
182
        </xsd:documentation>
183
      </xsd:annotation>
184
      <xsd:selector xpath="javaee:ejb-ref"/>
185
      <xsd:field xpath="javaee:ejb-ref-name"/>
186
    </xsd:unique>
187
    <xsd:unique name="web-common-resource-env-ref-uniqueness">
188
      <xsd:annotation>
189
        <xsd:documentation>
190
191
          The resource-env-ref-name element specifies the name of
192
          a resource environment reference; its value is the
193
          environment entry name used in the web application code.
194
          The name is a JNDI name relative to the java:comp/env
195
          context and must be unique within a web application.
196
          
197
        </xsd:documentation>
198
      </xsd:annotation>
199
      <xsd:selector xpath="javaee:resource-env-ref"/>
200
      <xsd:field xpath="javaee:resource-env-ref-name"/>
201
    </xsd:unique>
202
    <xsd:unique name="web-common-message-destination-ref-uniqueness">
203
      <xsd:annotation>
204
        <xsd:documentation>
205
206
          The message-destination-ref-name element specifies the name of
207
          a message destination reference; its value is the
208
          environment entry name used in the web application code.
209
          The name is a JNDI name relative to the java:comp/env
210
          context and must be unique within a web application.
211
          
212
        </xsd:documentation>
213
      </xsd:annotation>
214
      <xsd:selector xpath="javaee:message-destination-ref"/>
215
      <xsd:field xpath="javaee:message-destination-ref-name"/>
216
    </xsd:unique>
217
    <xsd:unique name="web-common-res-ref-name-uniqueness">
218
      <xsd:annotation>
219
        <xsd:documentation>
220
221
          The res-ref-name element specifies the name of a
222
          resource manager connection factory reference.  The name
223
          is a JNDI name relative to the java:comp/env context.
224
          The name must be unique within a web application.
225
          
226
        </xsd:documentation>
227
      </xsd:annotation>
228
      <xsd:selector xpath="javaee:resource-ref"/>
229
      <xsd:field xpath="javaee:res-ref-name"/>
230
    </xsd:unique>
231
    <xsd:unique name="web-common-env-entry-name-uniqueness">
232
      <xsd:annotation>
233
        <xsd:documentation>
234
235
          The env-entry-name element contains the name of a web
236
          application's environment entry.  The name is a JNDI
237
          name relative to the java:comp/env context.  The name
238
          must be unique within a web application.
239
          
240
        </xsd:documentation>
241
      </xsd:annotation>
242
      <xsd:selector xpath="javaee:env-entry"/>
243
      <xsd:field xpath="javaee:env-entry-name"/>
244
    </xsd:unique>
245
    <xsd:key name="web-common-role-name-key">
246
      <xsd:annotation>
247
        <xsd:documentation>
248
249
          A role-name-key is specified to allow the references
250
          from the security-role-refs.
251
          
252
        </xsd:documentation>
253
      </xsd:annotation>
254
      <xsd:selector xpath="javaee:security-role"/>
255
      <xsd:field xpath="javaee:role-name"/>
256
    </xsd:key>
257
    <xsd:keyref name="web-common-role-name-references"
258
                refer="javaee:web-common-role-name-key">
259
      <xsd:annotation>
260
        <xsd:documentation>
261
262
          The keyref indicates the references from
263
          security-role-ref to a specified role-name.
264
          
265
        </xsd:documentation>
266
      </xsd:annotation>
267
      <xsd:selector xpath="javaee:servlet/javaee:security-role-ref"/>
268
      <xsd:field xpath="javaee:role-link"/>
269
    </xsd:keyref>
270
  </xsd:element>
271
272
</xsd:schema>
(-)a/bundles/org.eclipse.jst.standard.schemas/plugin.xml (+44 lines)
Lines 29-34 Link Here
29
            <uri
29
            <uri
30
                name="http://java.sun.com/xml/ns/javaee/application_6.xsd"
30
                name="http://java.sun.com/xml/ns/javaee/application_6.xsd"
31
                uri="dtdsAndSchemas/application_6.xsd" />
31
                uri="dtdsAndSchemas/application_6.xsd" />
32
            <uri
33
                name="http://xmlns.jcp.org/xml/ns/javaee/application_7.xsd"
34
                uri="dtdsAndSchemas/application_7.xsd" />
32
35
33
36
34
            <public
37
            <public
Lines 48-53 Link Here
48
            <uri
51
            <uri
49
                name="http://java.sun.com/xml/ns/javaee/application-client_6.xsd"
52
                name="http://java.sun.com/xml/ns/javaee/application-client_6.xsd"
50
                uri="dtdsAndSchemas/application-client_6.xsd" />
53
                uri="dtdsAndSchemas/application-client_6.xsd" />
54
            <uri
55
                name="http://xmlns.jcp.org/xml/ns/javaee/application-client_6.xsd"
56
                uri="dtdsAndSchemas/application-client_7.xsd" />
51
57
52
58
53
            <public
59
            <public
Lines 60-65 Link Here
60
            <uri
66
            <uri
61
                name="http://java.sun.com/xml/ns/j2ee/connector_1_6.xsd"
67
                name="http://java.sun.com/xml/ns/j2ee/connector_1_6.xsd"
62
                uri="dtdsAndSchemas/connector_1_6.xsd" />
68
                uri="dtdsAndSchemas/connector_1_6.xsd" />
69
            <uri
70
                name="http://xmlns.jcp.org/xml/ns/javaee/connector_1_7.xsd"
71
                uri="dtdsAndSchemas/connector_1_7.xsd" />
63
72
64
73
65
            <public
74
            <public
Lines 79-84 Link Here
79
            <uri
88
            <uri
80
                name="http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd"
89
                name="http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd"
81
                uri="dtdsAndSchemas/ejb-jar_3_1.xsd" />
90
                uri="dtdsAndSchemas/ejb-jar_3_1.xsd" />
91
            <uri
92
                name="http://xmlns.jcp.org/xml/ns/javaee/ejb-jar_3_2.xsd"
93
                uri="dtdsAndSchemas/ejb-jar_3_2.xsd" />
82
94
83
95
84
            <uri
96
            <uri
Lines 118-123 Link Here
118
            <uri
130
            <uri
119
                name="http://java.sun.com/xml/ns/javaee/javaee_6.xsd"
131
                name="http://java.sun.com/xml/ns/javaee/javaee_6.xsd"
120
                uri="dtdsAndSchemas/javaee_6.xsd" />
132
                uri="dtdsAndSchemas/javaee_6.xsd" />
133
            <uri
134
                name="http://xmlns.jcp.org/xml/ns/javaee/javaee_7.xsd"
135
                uri="dtdsAndSchemas/javaee_7.xsd" />
121
136
122
137
123
            <uri
138
            <uri
Lines 127-137 Link Here
127
                name="http://java.sun.com/xml/ns/javaee/javaee_web_services_1_3.xsd"
142
                name="http://java.sun.com/xml/ns/javaee/javaee_web_services_1_3.xsd"
128
                uri="dtdsAndSchemas/javaee_web_services_1_3.xsd" />
143
                uri="dtdsAndSchemas/javaee_web_services_1_3.xsd" />
129
            <uri
144
            <uri
145
                name="http://xmlns.jcp.org/xml/ns/javaee/javaee_web_services_1_4.xsd"
146
                uri="dtdsAndSchemas/javaee_web_services_1_4.xsd" />
147
                
148
            <uri
130
                name="http://java.sun.com/xml/ns/javaee/javaee_web_services_client_1_2.xsd"
149
                name="http://java.sun.com/xml/ns/javaee/javaee_web_services_client_1_2.xsd"
131
                uri="dtdsAndSchemas/javaee_web_services_client_1_2.xsd" />
150
                uri="dtdsAndSchemas/javaee_web_services_client_1_2.xsd" />
132
            <uri
151
            <uri
133
                name="http://java.sun.com/xml/ns/javaee/javaee_web_services_client_1_3.xsd"
152
                name="http://java.sun.com/xml/ns/javaee/javaee_web_services_client_1_3.xsd"
134
                uri="dtdsAndSchemas/javaee_web_services_client_1_3.xsd" />
153
                uri="dtdsAndSchemas/javaee_web_services_client_1_3.xsd" />
154
            <uri
155
                name="http://xmlns.jcp.org/xml/ns/javaee/javaee_web_services_client_1_4.xsd"
156
                uri="dtdsAndSchemas/javaee_web_services_client_1_4.xsd" />
135
157
136
            <uri
158
            <uri
137
                name="http://java.sun.com/xml/ns/j2ee/jsp_2_0.xsd"
159
                name="http://java.sun.com/xml/ns/j2ee/jsp_2_0.xsd"
Lines 142-147 Link Here
142
            <uri
164
            <uri
143
                name="http://java.sun.com/xml/ns/javaee/jsp_2_2.xsd"
165
                name="http://java.sun.com/xml/ns/javaee/jsp_2_2.xsd"
144
                uri="dtdsAndSchemas/jsp_2_2.xsd" />
166
                uri="dtdsAndSchemas/jsp_2_2.xsd" />
167
            <uri
168
                name="http://xmlns.jcp.org/xml/ns/javaee/jsp_2_3.xsd"
169
                uri="dtdsAndSchemas/jsp_2_3.xsd" />
145
170
146
171
147
            <public
172
            <public
Lines 165-175 Link Here
165
                name="http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
190
                name="http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
166
                uri="dtdsAndSchemas/web-app_3_0.xsd" />
191
                uri="dtdsAndSchemas/web-app_3_0.xsd" />
167
            <uri
192
            <uri
193
                name="http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
194
                uri="dtdsAndSchemas/web-app_3_1.xsd" />
195
                
196
            <uri
168
                name="http://java.sun.com/xml/ns/javaee/web-common_3_0.xsd"
197
                name="http://java.sun.com/xml/ns/javaee/web-common_3_0.xsd"
169
                uri="dtdsAndSchemas/web-common_3_0.xsd" />
198
                uri="dtdsAndSchemas/web-common_3_0.xsd" />
170
            <uri
199
            <uri
200
                name="http://xmlns.jcp.org/xml/ns/javaee/web-common_3_1.xsd"
201
                uri="dtdsAndSchemas/web-common_3_1.xsd" />
202
                
203
            <uri
171
                name="http://java.sun.com/xml/ns/javaee/web-fragment_3_0.xsd"
204
                name="http://java.sun.com/xml/ns/javaee/web-fragment_3_0.xsd"
172
                uri="dtdsAndSchemas/web-fragment_3_0.xsd" />
205
                uri="dtdsAndSchemas/web-fragment_3_0.xsd" />
206
            <uri
207
                name="http://xmlns.jcp.org/xml/ns/javaee/web-fragment_3_1.xsd"
208
                uri="dtdsAndSchemas/web-fragment_3_1.xsd" />
173
209
174
210
175
            <public
211
            <public
Lines 231-239 Link Here
231
                name="http://java.sun.com/xml/ns/javaee/web-facelettaglibrary_2_0.xsd"
267
                name="http://java.sun.com/xml/ns/javaee/web-facelettaglibrary_2_0.xsd"
232
                uri="dtdsAndSchemas/web-facelettaglibrary_2_0.xsd"/>
268
                uri="dtdsAndSchemas/web-facelettaglibrary_2_0.xsd"/>
233
            <uri
269
            <uri
270
                name="http://xmlns.jcp.org/xml/ns/javaee/web-facelettaglibrary_2_2.xsd"
271
                uri="dtdsAndSchemas/web-facelettaglibrary_2_2.xsd"/>
272
                
273
            <uri
234
                name="http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
274
                name="http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
235
                uri="dtdsAndSchemas/web-facesconfig_2_0.xsd"/>
275
                uri="dtdsAndSchemas/web-facesconfig_2_0.xsd"/>
236
            <uri
276
            <uri
277
                name="http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd"
278
                uri="dtdsAndSchemas/web-facesconfig_2_2.xsd"/>
279
                
280
            <uri
237
                name="http://java.sun.com/xml/ns/javaee/web-facesuicomponent_2_0.xsd"
281
                name="http://java.sun.com/xml/ns/javaee/web-facesuicomponent_2_0.xsd"
238
                uri="dtdsAndSchemas/web-facesuicomponent_2_0.xsd"/>
282
                uri="dtdsAndSchemas/web-facesuicomponent_2_0.xsd"/>
239
            <uri
283
            <uri

Return to bug 399524