blob: 99dd0ccd1016300314b6b920d96968853f5fdd50 [file] [log] [blame]
Cheng Tang697ce242014-04-27 16:18:17 +08001<?xml version = "1.0" encoding = "UTF-8"?>
2
3<!--
4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
5
6 Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
7
8 The contents of this file are subject to the terms of either the GNU
9 General Public License Version 2 only ("GPL") or the Common Development
10 and Distribution License("CDDL") (collectively, the "License"). You
11 may not use this file except in compliance with the License. You can obtain
12 a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
13 or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
14 language governing permissions and limitations under the License.
15
16 When distributing the software, include this License Header Notice in each
17 file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
18 Sun designates this particular file as subject to the "Classpath" exception
19 as provided by Sun in the GPL Version 2 section of the License file that
20 accompanied this code. If applicable, add the following below the License
21 Header, with the fields enclosed by brackets [] replaced by your own
22 identifying information: "Portions Copyrighted [year]
23 [name of copyright owner]"
24
25 Contributor(s):
26
27 If you wish your version of this file to be governed by only the CDDL or
28 only the GPL Version 2, indicate your decision by adding "[Contributor]
29 elects to include this software in this distribution under the [CDDL or GPL
30 Version 2] license." If you don't indicate a single choice of license, a
31 recipient has the option to distribute your version of this file under
32 either the CDDL, the GPL Version 2 or to extend the choice of license to
33 its licensees as provided above. However, if you add GPL Version 2 code
34 and therefore, elected the GPL Version 2 license, then the option applies
35 only if the new code is made subject to such option by the copyright
36 holder.
37-->
38
39
40<xsd:schema
41 targetNamespace="http://java.sun.com/xml/ns/javaee"
42 xmlns:javaee="http://java.sun.com/xml/ns/javaee"
43 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
44 xmlns:xml="http://www.w3.org/XML/1998/namespace"
45 elementFormDefault="qualified"
46 attributeFormDefault="unqualified"
47 version="1.2">
48
49 <xsd:annotation>
50 <xsd:documentation>
51 $Id: web-facesconfig_1_2.xsd,v 1.14.4.1 2008/03/26 17:44:49 rlubke Exp $
52 </xsd:documentation>
53 </xsd:annotation>
54
55 <xsd:annotation>
56 <xsd:documentation>
57
58 Copyright 2005 Sun Microsystems, Inc.,
59 901 San Antonio Road,
60 Palo Alto, California 94303, U.S.A.
61 All rights reserved.
62
63 Sun Microsystems, Inc. has intellectual property
64 rights relating to technology described in this document. In
65 particular, and without limitation, these intellectual
66 property rights may include one or more of the U.S. patents
67 listed at http://www.sun.com/patents and one or more
68 additional patents or pending patent applications in the
69 U.S. and other countries.
70
71 This document and the technology which it describes are
72 distributed under licenses restricting their use, copying,
73 distribution, and decompilation. No part of this document
74 may be reproduced in any form by any means without prior
75 written authorization of Sun and its licensors, if any.
76
77 Third-party software, including font technology, is
78 copyrighted and licensed from Sun suppliers.
79
80 Sun, Sun Microsystems, the Sun logo, Solaris, Java, Java EE,
81 JavaServer Pages, Enterprise JavaBeans and the Java Coffee
82 Cup logo are trademarks or registered trademarks of Sun
83 Microsystems, Inc. in the U.S. and other countries.
84
85 Federal Acquisitions: Commercial Software - Government Users
86 Subject to Standard License Terms and Conditions.
87
88 </xsd:documentation>
89 </xsd:annotation>
90
91 <xsd:annotation>
92 <xsd:documentation>
93
94 <![CDATA[
95
96 The XML Schema for the JavaServer Faces Application
97 Configuration File (Version 1.2).
98
99 All JavaServer Faces configuration files must indicate
100 the JavaServer Faces schema by indicating the JavaServer
101 Faces namespace:
102
103 http://java.sun.com/xml/ns/javaee
104
105 and by indicating the version of the schema by
106 using the version element as shown below:
107
108 <faces-config xmlns="http://java.sun.com/xml/ns/javaee"
109 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
110 xsi:schemaLocation="..."
111 version="1.2">
112 ...
113 </faces-config>
114
115 The instance documents may indicate the published
116 version of the schema using xsi:schemaLocation attribute
117 for javaee namespace with the following location:
118
119 http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd
120
121 ]]>
122
123 </xsd:documentation>
124 </xsd:annotation>
125
126 <xsd:include schemaLocation="javaee_5.xsd"/>
127
128 <!-- **************************************************** -->
129
130 <xsd:element name = "faces-config" type="javaee:faces-configType">
131 <xsd:annotation>
132 <xsd:documentation>
133
134 The "faces-config" element is the root of the configuration
135 information hierarchy, and contains nested elements for all
136 of the other configuration settings.
137
138 </xsd:documentation>
139 </xsd:annotation>
140
141 <xsd:unique name="faces-config-converter-ID-uniqueness">
142 <xsd:annotation>
143 <xsd:documentation>
144
145 Converter IDs must be unique within a document.
146
147 </xsd:documentation>
148 </xsd:annotation>
149
150 <xsd:selector xpath="javaee:converter"/>
151 <xsd:field xpath="javaee:converter-id"/>
152 </xsd:unique>
153
154 <xsd:unique name="faces-config-converter-for-class-uniqueness">
155 <xsd:annotation>
156 <xsd:documentation>
157
158 'converter-for-class' element values must be unique
159 within a document.
160
161 </xsd:documentation>
162 </xsd:annotation>
163
164 <xsd:selector xpath="javaee:converter"/>
165 <xsd:field xpath="javaee:converter-for-class"/>
166 </xsd:unique>
167
168 <xsd:unique name="faces-config-validator-ID-uniqueness">
169 <xsd:annotation>
170 <xsd:documentation>
171
172 Validator IDs must be unique within a document.
173
174 </xsd:documentation>
175 </xsd:annotation>
176
177 <xsd:selector xpath="javaee:validator"/>
178 <xsd:field xpath="javaee:validator-id"/>
179 </xsd:unique>
180
181 <xsd:unique name="faces-config-managed-bean-name-uniqueness">
182 <xsd:annotation>
183 <xsd:documentation>
184
185 Managed bean names must be unique within a document.
186
187 </xsd:documentation>
188 </xsd:annotation>
189
190 <xsd:selector xpath="javaee:managed-bean"/>
191 <xsd:field xpath="javaee:managed-bean-name"/>
192 </xsd:unique>
193 </xsd:element>
194
195 <!-- **************************************************** -->
196
197 <xsd:complexType name="faces-configType">
198 <xsd:annotation>
199 <xsd:documentation>
200
201 The "faces-config" element is the root of the configuration
202 information hierarchy, and contains nested elements for all
203 of the other configuration settings.
204
205 </xsd:documentation>
206 </xsd:annotation>
207 <xsd:choice minOccurs="0" maxOccurs="unbounded">
208 <xsd:element name="application"
209 type="javaee:faces-config-applicationType"/>
210 <xsd:element name="factory"
211 type="javaee:faces-config-factoryType"/>
212 <xsd:element name="component"
213 type="javaee:faces-config-componentType"/>
214 <xsd:element name="converter"
215 type="javaee:faces-config-converterType"/>
216 <xsd:element name="managed-bean"
217 type="javaee:faces-config-managed-beanType"/>
218 <xsd:element name="navigation-rule"
219 type="javaee:faces-config-navigation-ruleType"/>
220 <xsd:element name="referenced-bean"
221 type="javaee:faces-config-referenced-beanType"/>
222 <xsd:element name="render-kit"
223 type="javaee:faces-config-render-kitType"/>
224 <xsd:element name="lifecycle"
225 type="javaee:faces-config-lifecycleType"/>
226 <xsd:element name="validator"
227 type="javaee:faces-config-validatorType"/>
228 <xsd:element name="faces-config-extension"
229 type="javaee:faces-config-extensionType"
230 minOccurs="0"
231 maxOccurs="unbounded"/>
232 </xsd:choice>
233 <xsd:attribute name = "id" type = "xsd:ID"/>
234 <xsd:attribute name="version"
235 type="javaee:faces-config-versionType"
236 use="required"/>
237 </xsd:complexType>
238
239 <!-- **************************************************** -->
240
241 <xsd:complexType name = "faces-config-extensionType">
242 <xsd:annotation>
243 <xsd:documentation>
244
245 Extension element for faces-config. It may contain
246 implementation specific content.
247
248 </xsd:documentation>
249 </xsd:annotation>
250
251 <xsd:sequence>
252 <xsd:any namespace="##any"
253 processContents="lax"
254 minOccurs="0"
255 maxOccurs="unbounded" />
256 </xsd:sequence>
257 <xsd:attribute name="id" type="xsd:ID"/>
258 </xsd:complexType>
259
260
261 <!-- **************************************************** -->
262
263 <xsd:complexType name="faces-config-applicationType">
264 <xsd:annotation>
265 <xsd:documentation>
266
267 The "application" element provides a mechanism to define the
268 various per-application-singleton implementation artifacts for
269 a particular web application that is utilizing
270 JavaServer Faces. For nested elements that are not specified,
271 the JSF implementation must provide a suitable default.
272
273 </xsd:documentation>
274 </xsd:annotation>
275
276 <xsd:choice minOccurs="0" maxOccurs="unbounded">
277 <xsd:element name="action-listener"
278 type="javaee:fully-qualified-classType">
279 <xsd:annotation>
280 <xsd:documentation>
281
282 The "action-listener" element contains the fully
283 qualified class name of the concrete
284 ActionListener implementation class that will be
285 called during the Invoke Application phase of the
286 request processing lifecycle.
287
288 </xsd:documentation>
289 </xsd:annotation>
290 </xsd:element>
291 <xsd:element name="default-render-kit-id"
292 type="javaee:string">
293 <xsd:annotation>
294 <xsd:documentation>
295
296 The "default-render-kit-id" element allows the
297 application to define a renderkit to be used other
298 than the standard one.
299
300 </xsd:documentation>
301 </xsd:annotation>
302 </xsd:element>
303 <xsd:element name="message-bundle"
304 type="javaee:string">
305 <xsd:annotation>
306 <xsd:documentation>
307
308 The base name of a resource bundle representing
309 the message resources for this application. See
310 the JavaDocs for the "java.util.ResourceBundle"
311 class for more information on the syntax of
312 resource bundle names.
313
314 </xsd:documentation>
315 </xsd:annotation>
316 </xsd:element>
317 <xsd:element name="navigation-handler"
318 type="javaee:fully-qualified-classType">
319 <xsd:annotation>
320 <xsd:documentation>
321
322 The "navigation-handler" element contains the
323 fully qualified class name of the concrete
324 NavigationHandler implementation class that will
325 be called during the Invoke Application phase
326 of the request processing lifecycle, if the
327 default ActionListener (provided by the JSF
328 implementation) is used.
329
330 </xsd:documentation>
331 </xsd:annotation>
332 </xsd:element>
333 <xsd:element name="view-handler"
334 type="javaee:fully-qualified-classType">
335 <xsd:annotation>
336 <xsd:documentation>
337
338 The "view-handler" element contains the fully
339 qualified class name of the concrete ViewHandler
340 implementation class that will be called during
341 the Restore View and Render Response phases of the
342 request processing lifecycle. The faces
343 implementation must provide a default
344 implementation of this class.
345
346 </xsd:documentation>
347 </xsd:annotation>
348 </xsd:element>
349 <xsd:element name="state-manager"
350 type="javaee:fully-qualified-classType">
351 <xsd:annotation>
352 <xsd:documentation>
353
354 The "state-manager" element contains the fully
355 qualified class name of the concrete StateManager
356 implementation class that will be called during
357 the Restore View and Render Response phases of the
358 request processing lifecycle. The faces
359 implementation must provide a default
360 implementation of this class.
361
362 </xsd:documentation>
363 </xsd:annotation>
364 </xsd:element>
365 <xsd:element name="el-resolver"
366 type="javaee:fully-qualified-classType">
367 <xsd:annotation>
368 <xsd:documentation>
369
370 The "el-resolver" element contains the fully
371 qualified class name of the concrete
372 javax.el.ELResolver implementation class
373 that will be used during the processing of
374 EL expressions.
375
376 </xsd:documentation>
377 </xsd:annotation>
378 </xsd:element>
379 <xsd:element name="property-resolver"
380 type="javaee:fully-qualified-classType">
381 <xsd:annotation>
382 <xsd:documentation>
383
384 The "property-resolver" element contains the fully
385 qualified class name of the concrete
386 PropertyResolver implementation class that will
387 be used during the processing of value binding
388 expressions.
389
390 </xsd:documentation>
391 </xsd:annotation>
392 </xsd:element>
393 <xsd:element name="variable-resolver"
394 type="javaee:fully-qualified-classType">
395 <xsd:annotation>
396 <xsd:documentation>
397
398 The "variable-resolver" element contains the fully
399 qualified class name of the concrete
400 VariableResolver implementation class that will
401 be used during the processing of value binding
402 expressions.
403
404 </xsd:documentation>
405 </xsd:annotation>
406 </xsd:element>
407 <xsd:element
408 name="locale-config"
409 type="javaee:faces-config-locale-configType"/>
410 <xsd:element
411 name="resource-bundle"
412 type="javaee:faces-config-application-resource-bundleType"/>
413 <xsd:element name="application-extension"
414 type="javaee:faces-config-application-extensionType"
415 minOccurs="0"
416 maxOccurs="unbounded"/>
417 </xsd:choice>
418 <xsd:attribute name = "id" type = "xsd:ID"/>
419 </xsd:complexType>
420
421 <xsd:complexType name="faces-config-application-resource-bundleType">
422 <xsd:annotation>
423 <xsd:documentation>
424
425 The resource-bundle element inside the application element
426 references a java.util.ResourceBundle instance by name
427 using the var element. ResourceBundles referenced in this
428 manner may be returned by a call to
429 Application.getResourceBundle() passing the current
430 FacesContext for this request and the value of the var
431 element below.
432
433 </xsd:documentation>
434 </xsd:annotation>
435
436 <xsd:sequence>
437 <xsd:group ref="javaee:descriptionGroup"/>
438 <xsd:element name="base-name"
439 type="javaee:fully-qualified-classType">
440 <xsd:annotation>
441 <xsd:documentation>
442
443 The fully qualified class name of the
444 java.util.ResourceBundle instance.
445
446 </xsd:documentation>
447 </xsd:annotation>
448 </xsd:element>
449 <xsd:element name="var"
450 type="javaee:string">
451 <xsd:annotation>
452 <xsd:documentation>
453
454 The name by which this ResourceBundle instance
455 is retrieved by a call to
456 Application.getResourceBundle().
457
458 </xsd:documentation>
459 </xsd:annotation>
460 </xsd:element>
461 </xsd:sequence>
462 <xsd:attribute name="id" type="xsd:ID"/>
463 </xsd:complexType>
464
465 <!-- **************************************************** -->
466
467 <xsd:complexType name = "faces-config-application-extensionType">
468 <xsd:annotation>
469 <xsd:documentation>
470
471 Extension element for application. It may contain
472 implementation specific content.
473
474 </xsd:documentation>
475 </xsd:annotation>
476
477 <xsd:sequence>
478 <xsd:any namespace="##any"
479 processContents="lax"
480 minOccurs="0"
481 maxOccurs="unbounded" />
482 </xsd:sequence>
483 <xsd:attribute name="id" type="xsd:ID"/>
484 </xsd:complexType>
485
486
487 <!-- **************************************************** -->
488
489 <xsd:complexType name = "faces-config-factoryType">
490 <xsd:annotation>
491 <xsd:documentation>
492
493 The "factory" element provides a mechanism to define the
494 various Factories that comprise parts of the implementation
495 of JavaServer Faces. For nested elements that are not
496 specified, the JSF implementation must provide a suitable
497 default.
498
499 </xsd:documentation>
500 </xsd:annotation>
501
502 <xsd:choice minOccurs="0" maxOccurs="unbounded">
503 <xsd:element name="application-factory"
504 type="javaee:fully-qualified-classType">
505 <xsd:annotation>
506 <xsd:documentation>
507
508 The "application-factory" element contains the
509 fully qualified class name of the concrete
510 ApplicationFactory implementation class that will
511 be called when
512 FactoryFinder.getFactory(APPLICATION_FACTORY) is
513 called.
514
515 </xsd:documentation>
516 </xsd:annotation>
517 </xsd:element>
518 <xsd:element name="faces-context-factory"
519 type="javaee:fully-qualified-classType">
520 <xsd:annotation>
521 <xsd:documentation>
522
523 The "faces-context-factory" element contains the
524 fully qualified class name of the concrete
525 FacesContextFactory implementation class that will
526 be called when
527 FactoryFinder.getFactory(FACES_CONTEXT_FACTORY)
528 is called.
529
530 </xsd:documentation>
531 </xsd:annotation>
532 </xsd:element>
533 <xsd:element name="lifecycle-factory"
534 type="javaee:fully-qualified-classType">
535 <xsd:annotation>
536 <xsd:documentation>
537
538 The "lifecycle-factory" element contains the fully
539 qualified class name of the concrete LifecycleFactory
540 implementation class that will be called when
541 FactoryFinder.getFactory(LIFECYCLE_FACTORY) is called.
542
543 </xsd:documentation>
544 </xsd:annotation>
545 </xsd:element>
546 <xsd:element name="render-kit-factory"
547 type="javaee:fully-qualified-classType">
548 <xsd:annotation>
549 <xsd:documentation>
550
551 The "render-kit-factory" element contains the fully
552 qualified class name of the concrete RenderKitFactory
553 implementation class that will be called when
554 FactoryFinder.getFactory(RENDER_KIT_FACTORY) is
555 called.
556
557 </xsd:documentation>
558 </xsd:annotation>
559 </xsd:element>
560 <xsd:element name="factory-extension"
561 type="javaee:faces-config-factory-extensionType"
562 minOccurs="0"
563 maxOccurs="unbounded"/>
564 </xsd:choice>
565 <xsd:attribute name = "id" type = "xsd:ID"/>
566 </xsd:complexType>
567
568 <!-- **************************************************** -->
569
570 <xsd:complexType name = "faces-config-factory-extensionType">
571 <xsd:annotation>
572 <xsd:documentation>
573
574 Extension element for factory. It may contain
575 implementation specific content.
576
577 </xsd:documentation>
578 </xsd:annotation>
579
580 <xsd:sequence>
581 <xsd:any namespace="##any"
582 processContents="lax"
583 minOccurs="0"
584 maxOccurs="unbounded" />
585 </xsd:sequence>
586 <xsd:attribute name="id" type="xsd:ID"/>
587 </xsd:complexType>
588
589
590 <!-- **************************************************** -->
591
592 <xsd:complexType name="faces-config-attributeType">
593 <xsd:annotation>
594 <xsd:documentation>
595
596 The "attribute" element represents a named, typed, value
597 associated with the parent UIComponent via the generic
598 attributes mechanism.
599
600 Attribute names must be unique within the scope of the parent
601 (or related) component.
602
603 </xsd:documentation>
604 </xsd:annotation>
605
606 <xsd:sequence>
607 <xsd:group ref="javaee:descriptionGroup"/>
608 <xsd:element name="attribute-name"
609 type="javaee:string">
610 <xsd:annotation>
611 <xsd:documentation>
612
613 The "attribute-name" element represents the name under
614 which the corresponding value will be stored, in the
615 generic attributes of the UIComponent we are related
616 to.
617
618 </xsd:documentation>
619 </xsd:annotation>
620 </xsd:element>
621 <xsd:element name="attribute-class"
622 type="javaee:fully-qualified-classType">
623 <xsd:annotation>
624 <xsd:documentation>
625
626 The "attribute-class" element represents the Java type
627 of the value associated with this attribute name.
628
629 </xsd:documentation>
630 </xsd:annotation>
631 </xsd:element>
632 <xsd:element name="default-value"
633 type="javaee:faces-config-default-valueType"
634 minOccurs="0"/>
635 <xsd:element name="suggested-value"
636 type="javaee:faces-config-suggested-valueType"
637 minOccurs="0"/>
638 <xsd:element name="attribute-extension"
639 type="javaee:faces-config-attribute-extensionType"
640 minOccurs="0"
641 maxOccurs="unbounded"/>
642 </xsd:sequence>
643 <xsd:attribute name = "id" type = "xsd:ID"/>
644 </xsd:complexType>
645
646 <!-- **************************************************** -->
647
648 <xsd:complexType name = "faces-config-attribute-extensionType">
649 <xsd:annotation>
650 <xsd:documentation>
651
652 Extension element for attribute. It may contain
653 implementation specific content.
654
655 </xsd:documentation>
656 </xsd:annotation>
657
658 <xsd:sequence>
659 <xsd:any namespace="##any"
660 processContents="lax"
661 minOccurs="0"
662 maxOccurs="unbounded" />
663 </xsd:sequence>
664 <xsd:attribute name="id" type="xsd:ID"/>
665 </xsd:complexType>
666
667 <!-- **************************************************** -->
668
669 <xsd:complexType name="faces-config-componentType">
670 <xsd:annotation>
671 <xsd:documentation>
672
673 The "component" element represents a concrete UIComponent
674 implementation class that should be registered under the
675 specified type identifier, along with its associated
676 properties and attributes. Component types must be unique
677 within the entire web application.
678
679 Nested "attribute" elements identify generic attributes that
680 are recognized by the implementation logic of this component.
681 Nested "property" elements identify JavaBeans properties of
682 the component class that may be exposed for manipulation
683 via tools.
684
685 </xsd:documentation>
686 </xsd:annotation>
687
688 <xsd:sequence>
689 <xsd:group ref="javaee:descriptionGroup"/>
690 <xsd:element name="component-type"
691 type="javaee:string">
692 <xsd:annotation>
693 <xsd:documentation>
694
695 The "component-type" element represents the name under
696 which the corresponding UIComponent class should be
697 registered.
698
699 </xsd:documentation>
700 </xsd:annotation>
701 </xsd:element>
702 <xsd:element name="component-class"
703 type="javaee:fully-qualified-classType">
704 <xsd:annotation>
705 <xsd:documentation>
706
707 The "component-class" element represents the fully
708 qualified class name of a concrete UIComponent
709 implementation class.
710
711 </xsd:documentation>
712 </xsd:annotation>
713 </xsd:element>
714 <xsd:element name="facet"
715 type="javaee:faces-config-facetType"
716 minOccurs="0"
717 maxOccurs="unbounded"/>
718 <xsd:element name="attribute"
719 type="javaee:faces-config-attributeType"
720 minOccurs="0"
721 maxOccurs="unbounded"/>
722 <xsd:element name="property"
723 type="javaee:faces-config-propertyType"
724 minOccurs="0"
725 maxOccurs="unbounded"/>
726 <xsd:element name="component-extension"
727 type="javaee:faces-config-component-extensionType"
728 minOccurs="0"
729 maxOccurs="unbounded"/>
730 </xsd:sequence>
731 <xsd:attribute name="id" type="xsd:ID"/>
732 </xsd:complexType>
733
734 <!-- **************************************************** -->
735
736 <xsd:complexType name="faces-config-component-extensionType">
737 <xsd:annotation>
738 <xsd:documentation>
739 Extension element for component. It may contain
740 implementation specific content.
741 </xsd:documentation>
742 </xsd:annotation>
743
744 <xsd:sequence>
745 <xsd:any namespace="##any"
746 processContents="lax"
747 minOccurs="0"
748 maxOccurs="unbounded" />
749 </xsd:sequence>
750 <xsd:attribute name="id" type="xsd:ID"/>
751 </xsd:complexType>
752
753 <!-- **************************************************** -->
754
755 <xsd:complexType name="faces-config-default-localeType">
756 <xsd:annotation>
757 <xsd:documentation>
758
759 The "default-locale" element declares the default locale
760 for this application instance.
761
762 It must be specified as :language:[_:country:[_:variant:]]
763 without the colons, for example "ja_JP_SJIS". The
764 separators between the segments may be '-' or '_'.
765
766 </xsd:documentation>
767 </xsd:annotation>
768 <xsd:simpleContent>
769 <xsd:extension base="javaee:faces-config-localeType">
770 <xsd:attribute name="id" type="xsd:ID"/>
771 </xsd:extension>
772 </xsd:simpleContent>
773 </xsd:complexType>
774
775 <!-- **************************************************** -->
776
777
778 <xsd:complexType name="faces-config-default-valueType">
779 <xsd:annotation>
780 <xsd:documentation>
781
782 The "default-value" contains the value for the property or
783 attribute in which this element resides. This value differs
784 from the "suggested-value" in that the property or attribute
785 must take the value, whereas in "suggested-value" taking the
786 value is optional.
787
788 </xsd:documentation>
789 </xsd:annotation>
790 <xsd:simpleContent>
791 <xsd:restriction base="javaee:string"/>
792 </xsd:simpleContent>
793 </xsd:complexType>
794
795 <!-- **************************************************** -->
796
797 <xsd:simpleType name="faces-config-el-expressionType">
798 <xsd:annotation>
799 <xsd:documentation>
800
801 EL expressions present within a faces config file
802 must start with the character sequence of '#{' and
803 end with '}'.
804
805 </xsd:documentation>
806 </xsd:annotation>
807 <xsd:restriction base="xsd:string">
808 <xsd:pattern value="#\{.*\}"/>
809 </xsd:restriction>
810 </xsd:simpleType>
811
812 <!-- **************************************************** -->
813
814 <xsd:complexType name="faces-config-facetType">
815 <xsd:annotation>
816 <xsd:documentation>
817
818 Define the name and other design-time information for a facet
819 that is associated with a renderer or a component.
820
821 </xsd:documentation>
822 </xsd:annotation>
823
824 <xsd:sequence>
825 <xsd:group ref="javaee:descriptionGroup"/>
826 <xsd:element name="facet-name"
827 type="javaee:java-identifierType">
828 <xsd:annotation>
829 <xsd:documentation>
830
831 The "facet-name" element represents the facet name
832 under which a UIComponent will be added to its parent.
833 It must be of type "Identifier".
834
835 </xsd:documentation>
836 </xsd:annotation>
837 </xsd:element>
838 <xsd:element name="facet-extension"
839 type="javaee:faces-config-facet-extensionType"
840 minOccurs="0"
841 maxOccurs="unbounded"/>
842 </xsd:sequence>
843 <xsd:attribute name="id" type="xsd:ID"/>
844 </xsd:complexType>
845
846 <!-- **************************************************** -->
847
848 <xsd:complexType name="faces-config-facet-extensionType">
849 <xsd:annotation>
850 <xsd:documentation>
851
852 Extension element for facet. It may contain implementation
853 specific content.
854
855 </xsd:documentation>
856 </xsd:annotation>
857
858 <xsd:sequence>
859 <xsd:any namespace="##any"
860 processContents="lax"
861 minOccurs="0"
862 maxOccurs="unbounded" />
863 </xsd:sequence>
864 <xsd:attribute name="id" type="xsd:ID"/>
865 </xsd:complexType>
866
867 <!-- **************************************************** -->
868
869 <xsd:complexType name="faces-config-from-view-idType">
870 <xsd:annotation>
871 <xsd:documentation>
872
873 The value of from-view-id must contain one of the following
874 values:
875
876 - The exact match for a view identifier that is recognized
877 by the the ViewHandler implementation being used (such as
878 "/index.jsp" if you are using the default ViewHandler).
879
880 - A proper prefix of a view identifier, plus a trailing
881 "*" character. This pattern indicates that all view
882 identifiers that match the portion of the pattern up to
883 the asterisk will match the surrounding rule. When more
884 than one match exists, the match with the longest pattern
885 is selected.
886
887 - An "*" character, which means that this pattern applies
888 to all view identifiers.
889
890 </xsd:documentation>
891 </xsd:annotation>
892 <xsd:simpleContent>
893 <xsd:restriction base="javaee:string"/>
894 </xsd:simpleContent>
895 </xsd:complexType>
896
897 <!-- **************************************************** -->
898
899 <xsd:complexType name="faces-config-from-actionType">
900 <xsd:annotation>
901 <xsd:documentation>
902
903 The "from-action" element contains an action reference
904 expression that must have been executed (by the default
905 ActionListener for handling application level events)
906 in order to select the navigation rule. If not specified,
907 this rule will be relevant no matter which action reference
908 was executed (or if no action reference was executed).
909
910 </xsd:documentation>
911 </xsd:annotation>
912 <xsd:simpleContent>
913 <xsd:extension base="javaee:faces-config-el-expressionType">
914 <xsd:attribute name="id" type="xsd:ID"/>
915 </xsd:extension>
916 </xsd:simpleContent>
917 </xsd:complexType>
918
919 <!-- **************************************************** -->
920
921 <xsd:complexType name="faces-config-converterType">
922 <xsd:annotation>
923 <xsd:documentation>
924
925 The "converter" element represents a concrete Converter
926 implementation class that should be registered under the
927 specified converter identifier. Converter identifiers must
928 be unique within the entire web application.
929
930 Nested "attribute" elements identify generic attributes that
931 may be configured on the corresponding UIComponent in order
932 to affect the operation of the Converter. Nested "property"
933 elements identify JavaBeans properties of the Converter
934 implementation class that may be configured to affect the
935 operation of the Converter. "attribute" and "property"
936 elements are intended to allow component developers to
937 more completely describe their components to tools and users.
938 These elements have no required runtime semantics.
939
940 </xsd:documentation>
941 </xsd:annotation>
942
943 <xsd:sequence>
944 <xsd:group ref="javaee:descriptionGroup"/>
945 <xsd:choice>
946 <xsd:element name="converter-id"
947 type="javaee:string">
948 <xsd:annotation>
949 <xsd:documentation>
950
951 The "converter-id" element represents the
952 identifier under which the corresponding
953 Converter class should be registered.
954
955 </xsd:documentation>
956 </xsd:annotation>
957 </xsd:element>
958
959 <xsd:element name="converter-for-class"
960 type="javaee:fully-qualified-classType">
961 <xsd:annotation>
962 <xsd:documentation>
963
964 The "converter-for-class" element represents the
965 fully qualified class name for which a Converter
966 class will be registered.
967
968 </xsd:documentation>
969 </xsd:annotation>
970 </xsd:element>
971 </xsd:choice>
972
973 <xsd:element name="converter-class"
974 type="javaee:fully-qualified-classType">
975 <xsd:annotation>
976 <xsd:documentation>
977
978 The "converter-class" element represents the fully
979 qualified class name of a concrete Converter
980 implementation class.
981
982 </xsd:documentation>
983 </xsd:annotation>
984 </xsd:element>
985 <xsd:element name="attribute"
986 type="javaee:faces-config-attributeType"
987 minOccurs="0"
988 maxOccurs="unbounded">
989 <xsd:annotation>
990 <xsd:documentation>
991
992 Nested "attribute" elements identify generic
993 attributes that may be configured on the
994 corresponding UIComponent in order to affect the
995 operation of the Converter. This attribute is
996 primarily for design-time tools and is not
997 specified to have any meaning at runtime.
998
999 </xsd:documentation>
1000 </xsd:annotation>
1001 </xsd:element>
1002 <xsd:element name="property"
1003 type="javaee:faces-config-propertyType"
1004 minOccurs="0"
1005 maxOccurs="unbounded">
1006 <xsd:annotation>
1007 <xsd:documentation>
1008
1009 Nested "property" elements identify JavaBeans
1010 properties of the Converter implementation class
1011 that may be configured to affect the operation of
1012 the Converter. This attribute is primarily for
1013 design-time tools and is not specified to have
1014 any meaning at runtime.
1015
1016 </xsd:documentation>
1017 </xsd:annotation>
1018 </xsd:element>
1019 <xsd:element name="converter-extension"
1020 type="javaee:faces-config-converter-extensionType"
1021 minOccurs="0"
1022 maxOccurs="unbounded"/>
1023 </xsd:sequence>
1024 <xsd:attribute name="id" type="xsd:ID"/>
1025 </xsd:complexType>
1026
1027 <!-- **************************************************** -->
1028
1029 <xsd:complexType name = "faces-config-converter-extensionType">
1030 <xsd:annotation>
1031 <xsd:documentation>
1032
1033 Extension element for converter. It may contain
1034 implementation specific content.
1035
1036 </xsd:documentation>
1037 </xsd:annotation>
1038
1039 <xsd:sequence>
1040 <xsd:any namespace="##any"
1041 processContents="lax"
1042 minOccurs="0"
1043 maxOccurs="unbounded" />
1044 </xsd:sequence>
1045 <xsd:attribute name="id" type="xsd:ID"/>
1046 </xsd:complexType>
1047
1048
1049
1050 <!-- **************************************************** -->
1051
1052 <xsd:complexType name="faces-config-lifecycleType">
1053 <xsd:annotation>
1054 <xsd:documentation>
1055
1056 The "lifecycle" element provides a mechanism to specify
1057 modifications to the behaviour of the default Lifecycle
1058 implementation for this web application.
1059
1060 </xsd:documentation>
1061 </xsd:annotation>
1062
1063 <xsd:sequence>
1064 <xsd:element name="phase-listener"
1065 type="javaee:fully-qualified-classType"
1066 minOccurs="0"
1067 maxOccurs="unbounded">
1068
1069 <xsd:annotation>
1070 <xsd:documentation>
1071
1072 The "phase-listener" element contains the fully
1073 qualified class name of the concrete PhaseListener
1074 implementation class that will be registered on
1075 the Lifecycle.
1076
1077 </xsd:documentation>
1078 </xsd:annotation>
1079 </xsd:element>
1080 <xsd:element name="lifecycle-extension"
1081 type="javaee:faces-config-lifecycle-extensionType"
1082 minOccurs="0"
1083 maxOccurs="unbounded"/>
1084
1085 </xsd:sequence>
1086 <xsd:attribute name="id" type="xsd:ID"/>
1087
1088 </xsd:complexType>
1089
1090 <!-- **************************************************** -->
1091
1092 <xsd:complexType name = "faces-config-lifecycle-extensionType">
1093 <xsd:annotation>
1094 <xsd:documentation>
1095
1096 Extension element for lifecycle. It may contain
1097 implementation specific content.
1098
1099 </xsd:documentation>
1100 </xsd:annotation>
1101
1102 <xsd:sequence>
1103 <xsd:any namespace="##any"
1104 processContents="lax"
1105 minOccurs="0"
1106 maxOccurs="unbounded" />
1107 </xsd:sequence>
1108 <xsd:attribute name="id" type="xsd:ID"/>
1109 </xsd:complexType>
1110
1111
1112 <!-- **************************************************** -->
1113
1114 <xsd:simpleType name="faces-config-localeType">
1115 <xsd:annotation>
1116 <xsd:documentation>
1117
1118 The localeType defines valid locale defined by ISO-639-1
1119 and ISO-3166.
1120
1121 </xsd:documentation>
1122 </xsd:annotation>
1123
1124 <xsd:restriction base="xsd:string">
1125 <xsd:pattern value="([a-z]{2})[_|\-]?([\p{L}]{2})?[_|\-]?([\w]+)?"/>
1126 </xsd:restriction>
1127 </xsd:simpleType>
1128
1129 <!-- **************************************************** -->
1130
1131 <xsd:complexType name="faces-config-locale-configType">
1132 <xsd:annotation>
1133 <xsd:documentation>
1134
1135 The "locale-config" element allows the app developer to
1136 declare the supported locales for this application.
1137
1138 </xsd:documentation>
1139 </xsd:annotation>
1140
1141 <xsd:sequence>
1142 <xsd:element name="default-locale"
1143 type="javaee:faces-config-default-localeType"
1144 minOccurs="0">
1145 </xsd:element>
1146 <xsd:element name="supported-locale"
1147 type="javaee:faces-config-supported-localeType"
1148 minOccurs="0"
1149 maxOccurs="unbounded">
1150 </xsd:element>
1151 </xsd:sequence>
1152 <xsd:attribute name="id" type="xsd:ID"/>
1153 </xsd:complexType>
1154
1155 <!-- **************************************************** -->
1156
1157 <xsd:complexType name="faces-config-managed-beanType">
1158 <xsd:annotation>
1159 <xsd:documentation>
1160
1161 The "managed-bean" element represents a JavaBean, of a
1162 particular class, that will be dynamically instantiated
1163 at runtime (by the default VariableResolver implementation)
1164 if it is referenced as the first element of a value binding
1165 expression, and no corresponding bean can be identified in
1166 any scope. In addition to the creation of the managed bean,
1167 and the optional storing of it into the specified scope,
1168 the nested managed-property elements can be used to
1169 initialize the contents of settable JavaBeans properties of
1170 the created instance.
1171
1172 </xsd:documentation>
1173 </xsd:annotation>
1174
1175 <xsd:sequence>
1176 <xsd:group ref="javaee:descriptionGroup"/>
1177 <xsd:element name="managed-bean-name"
1178 type="javaee:java-identifierType">
1179 <xsd:annotation>
1180 <xsd:documentation>
1181
1182 The "managed-bean-name" element represents the
1183 attribute name under which a managed bean will
1184 be searched for, as well as stored (unless the
1185 "managed-bean-scope" value is "none").
1186
1187 </xsd:documentation>
1188 </xsd:annotation>
1189 </xsd:element>
1190 <xsd:element name="managed-bean-class"
1191 type="javaee:fully-qualified-classType">
1192 <xsd:annotation>
1193 <xsd:documentation>
1194
1195 The "managed-bean-class" element represents the fully
1196 qualified class name of the Java class that will be
1197 used`to instantiate a new instance if creation of the
1198 specified`managed bean is requested.
1199
1200 The specified class must conform to standard JavaBeans
1201 conventions. In particular, it must have a public
1202 zero-arguments constructor, and zero or more public
1203 property setters.
1204
1205 </xsd:documentation>
1206 </xsd:annotation>
1207 </xsd:element>
1208 <xsd:element
1209 name="managed-bean-scope"
1210 type="javaee:faces-config-managed-bean-scopeOrNoneType">
1211 <xsd:annotation>
1212 <xsd:documentation>
1213
1214 The "managed-bean-scope" element represents the scope
1215 into which a newly created instance of the specified
1216 managed bean will be stored (unless the value is
1217 "none").
1218
1219 </xsd:documentation>
1220 </xsd:annotation>
1221 </xsd:element>
1222 <xsd:choice>
1223 <xsd:element name="managed-property"
1224 type="javaee:faces-config-managed-propertyType"
1225 minOccurs="0"
1226 maxOccurs="unbounded"/>
1227 <xsd:element name="map-entries"
1228 type="javaee:faces-config-map-entriesType"/>
1229 <xsd:element name="list-entries"
1230 type="javaee:faces-config-list-entriesType"/>
1231 </xsd:choice>
1232 <xsd:element name="managed-bean-extension"
1233 type="javaee:faces-config-managed-bean-extensionType"
1234 minOccurs="0"
1235 maxOccurs="unbounded"/>
1236 </xsd:sequence>
1237 <xsd:attribute name="id" type="xsd:ID"/>
1238 </xsd:complexType>
1239
1240 <!-- **************************************************** -->
1241
1242 <xsd:complexType name = "faces-config-managed-bean-extensionType">
1243 <xsd:annotation>
1244 <xsd:documentation>
1245
1246 Extension element for managed-bean. It may contain
1247 implementation specific content.
1248
1249 </xsd:documentation>
1250 </xsd:annotation>
1251
1252 <xsd:sequence>
1253 <xsd:any namespace="##any"
1254 processContents="lax"
1255 minOccurs="0"
1256 maxOccurs="unbounded" />
1257 </xsd:sequence>
1258 <xsd:attribute name="id" type="xsd:ID"/>
1259 </xsd:complexType>
1260
1261
1262 <!-- **************************************************** -->
1263
1264 <xsd:complexType name="faces-config-managed-bean-scopeOrNoneType">
1265 <xsd:annotation>
1266 <xsd:documentation>
1267
1268 <![CDATA[
1269 Defines the legal values for the <managed-bean-scope>
1270 element's body content, which includes all of the scopes
1271 normally used in a web application, plus the "none" value
1272 indicating that a created bean should not be stored into
1273 any scope.
1274 ]]>
1275
1276 </xsd:documentation>
1277 </xsd:annotation>
1278
1279 <xsd:simpleContent>
1280 <xsd:restriction base="javaee:string">
1281 <xsd:enumeration value="request"/>
1282 <xsd:enumeration value="session"/>
1283 <xsd:enumeration value="application"/>
1284 <xsd:enumeration value="none"/>
1285 </xsd:restriction>
1286 </xsd:simpleContent>
1287 </xsd:complexType>
1288
1289 <!-- **************************************************** -->
1290
1291 <xsd:complexType name="faces-config-managed-propertyType">
1292 <xsd:annotation>
1293 <xsd:documentation>
1294
1295 The "managed-property" element represents an individual
1296 property of a managed bean that will be configured to the
1297 specified value (or value set) if the corresponding
1298 managed bean is automatically created.
1299
1300 </xsd:documentation>
1301 </xsd:annotation>
1302 <xsd:sequence>
1303 <xsd:group ref="javaee:descriptionGroup"/>
1304 <xsd:element name="property-name"
1305 type="javaee:string">
1306 <xsd:annotation>
1307 <xsd:documentation>
1308
1309 The "property-name" element represents the JavaBeans
1310 property name under which the corresponding value may
1311 be stored.
1312
1313 </xsd:documentation>
1314 </xsd:annotation>
1315 </xsd:element>
1316 <xsd:element name="property-class"
1317 type="javaee:java-typeType"
1318 minOccurs="0">
1319 <xsd:annotation>
1320 <xsd:documentation>
1321
1322 The "property-class" element represents the Java type
1323 of the value associated with this property name.
1324 If not specified, it can be inferred from existing
1325 classes; however, this element should be specified
1326 if the configuration file is going to be the source
1327 for generating the corresponding classes.
1328
1329 </xsd:documentation>
1330 </xsd:annotation>
1331 </xsd:element>
1332 <xsd:choice>
1333 <xsd:element name="map-entries"
1334 type="javaee:faces-config-map-entriesType"/>
1335 <xsd:element name="null-value"
1336 type="javaee:faces-config-null-valueType">
1337 </xsd:element>
1338 <xsd:element name="value"
1339 type="javaee:faces-config-valueType"/>
1340 <xsd:element name="list-entries"
1341 type="javaee:faces-config-list-entriesType"/>
1342 </xsd:choice>
1343 </xsd:sequence>
1344 <xsd:attribute name="id" type="xsd:ID"/>
1345 </xsd:complexType>
1346
1347 <!-- **************************************************** -->
1348
1349 <xsd:complexType name="faces-config-map-entryType">
1350 <xsd:annotation>
1351 <xsd:documentation>
1352
1353 The "map-entry" element reprsents a single key-entry pair
1354 that will be added to the computed value of a managed
1355 property of type java.util.Map.
1356
1357 </xsd:documentation>
1358 </xsd:annotation>
1359 <xsd:sequence>
1360 <xsd:element name="key"
1361 type="javaee:string">
1362 <xsd:annotation>
1363 <xsd:documentation>
1364
1365 The "key" element is the String representation of a
1366 map key that will be stored in a managed property of
1367 type java.util.Map.
1368
1369 </xsd:documentation>
1370 </xsd:annotation>
1371 </xsd:element>
1372 <xsd:choice>
1373 <xsd:element name="null-value"
1374 type="javaee:faces-config-null-valueType"/>
1375 <xsd:element name="value"
1376 type="javaee:faces-config-valueType"/>
1377 </xsd:choice>
1378 </xsd:sequence>
1379 <xsd:attribute name="id" type="xsd:ID"/>
1380 </xsd:complexType>
1381
1382 <!-- **************************************************** -->
1383
1384 <xsd:complexType name="faces-config-map-entriesType">
1385 <xsd:annotation>
1386 <xsd:documentation>
1387
1388 The "map-entries' element represents a set of key-entry pairs
1389 that will be added to the computed value of a managed property
1390 of type java.util.Map. In addition, the Java class types
1391 of the key and entry values may be optionally declared.
1392
1393 </xsd:documentation>
1394 </xsd:annotation>
1395
1396 <xsd:sequence>
1397 <xsd:element name="key-class"
1398 type="javaee:fully-qualified-classType"
1399 minOccurs="0">
1400 <xsd:annotation>
1401 <xsd:documentation>
1402
1403 The "key-class" element defines the Java type to which
1404 each "key" element in a set of "map-entry" elements
1405 will be converted to. If omitted, "java.lang.String"
1406 is assumed.
1407
1408 </xsd:documentation>
1409 </xsd:annotation>
1410 </xsd:element>
1411 <xsd:element name="value-class"
1412 type="javaee:faces-config-value-classType"
1413 minOccurs="0"/>
1414 <xsd:element name="map-entry"
1415 type="javaee:faces-config-map-entryType"
1416 minOccurs="0"
1417 maxOccurs="unbounded"/>
1418 </xsd:sequence>
1419 <xsd:attribute name="id" type="xsd:ID"/>
1420 </xsd:complexType>
1421
1422 <!-- **************************************************** -->
1423
1424 <xsd:complexType name="faces-config-navigation-caseType">
1425 <xsd:annotation>
1426 <xsd:documentation>
1427
1428 The "navigation-case" element describes a particular
1429 combination of conditions that must match for this case to
1430 be executed, and the view id of the component tree that
1431 should be selected next.
1432
1433 </xsd:documentation>
1434 </xsd:annotation>
1435 <xsd:sequence>
1436 <xsd:group ref="javaee:descriptionGroup"/>
1437 <xsd:element name="from-action"
1438 type="javaee:faces-config-from-actionType"
1439 minOccurs="0">
1440 </xsd:element>
1441 <xsd:element name="from-outcome"
1442 type="javaee:string" minOccurs="0">
1443 <xsd:annotation>
1444 <xsd:documentation>
1445
1446 The "from-outcome" element contains a logical outcome
1447 string returned by the execution of an application
1448 action method selected via an "actionRef" property
1449 (or a literal value specified by an "action" property)
1450 of a UICommand component. If specified, this rule
1451 will be relevant only if the outcome value matches
1452 this element's value. If not specified, this rule
1453 will be relevant no matter what the outcome value was.
1454
1455 </xsd:documentation>
1456 </xsd:annotation>
1457 </xsd:element>
1458 <xsd:element name="to-view-id"
1459 type="javaee:string">
1460 <xsd:annotation>
1461 <xsd:documentation>
1462
1463 The "to-view-id" element contains the view identifier
1464 of the next view that should be displayed if this
1465 navigation rule is matched.
1466
1467 </xsd:documentation>
1468 </xsd:annotation>
1469 </xsd:element>
1470 <xsd:element
1471 name="redirect"
1472 type="javaee:faces-config-redirectType" minOccurs="0"/>
1473 </xsd:sequence>
1474 <xsd:attribute name="id" type="xsd:ID"/>
1475 </xsd:complexType>
1476
1477 <!-- **************************************************** -->
1478
1479 <xsd:complexType name="faces-config-navigation-ruleType">
1480 <xsd:annotation>
1481 <xsd:documentation>
1482
1483 The "navigation-rule" element represents an individual
1484 decision rule that will be utilized by the default
1485 NavigationHandler implementation to make decisions on
1486 what view should be displayed next, based on the
1487 view id being processed.
1488
1489 </xsd:documentation>
1490 </xsd:annotation>
1491 <xsd:sequence>
1492 <xsd:group ref="javaee:descriptionGroup"/>
1493 <xsd:element name="from-view-id"
1494 type="javaee:faces-config-from-view-idType"
1495 minOccurs="0"/>
1496 <xsd:element name="navigation-case"
1497 type="javaee:faces-config-navigation-caseType"
1498 minOccurs="0"
1499 maxOccurs="unbounded"/>
1500 <xsd:element
1501 name="navigation-rule-extension"
1502 type="javaee:faces-config-navigation-rule-extensionType"
1503 minOccurs="0"
1504 maxOccurs="unbounded"/>
1505 </xsd:sequence>
1506 <xsd:attribute name="id" type="xsd:ID"/>
1507 </xsd:complexType>
1508
1509 <!-- **************************************************** -->
1510
1511 <xsd:complexType name = "faces-config-navigation-rule-extensionType">
1512 <xsd:annotation>
1513 <xsd:documentation>
1514
1515 Extension element for navigation-rule. It may contain
1516 implementation specific content.
1517
1518 </xsd:documentation>
1519 </xsd:annotation>
1520
1521 <xsd:sequence>
1522 <xsd:any namespace="##any"
1523 processContents="lax"
1524 minOccurs="0"
1525 maxOccurs="unbounded" />
1526 </xsd:sequence>
1527 <xsd:attribute name="id" type="xsd:ID"/>
1528 </xsd:complexType>
1529
1530
1531 <!-- **************************************************** -->
1532
1533 <xsd:complexType name="faces-config-null-valueType">
1534 <xsd:annotation>
1535 <xsd:documentation>
1536
1537 The "null-value" element indicates that the managed
1538 property in which we are nested will be explicitly
1539 set to null if our managed bean is automatically
1540 created. This is different from omitting the managed
1541 property element entirely, which will cause no
1542 property setter to be called for this property.
1543
1544 The "null-value" element can only be used when the
1545 associated "property-class" identifies a Java class,
1546 not a Java primitive.
1547
1548 </xsd:documentation>
1549 </xsd:annotation>
1550 <xsd:attribute name="id" type="xsd:ID"/>
1551 </xsd:complexType>
1552
1553 <!-- **************************************************** -->
1554
1555 <xsd:complexType name="faces-config-propertyType">
1556 <xsd:annotation>
1557 <xsd:documentation>
1558
1559 The "property" element represents a JavaBean property of the
1560 Java class represented by our parent element.
1561
1562 Property names must be unique within the scope of the Java
1563 class that is represented by the parent element, and must
1564 correspond to property names that will be recognized when
1565 performing introspection against that class via
1566 java.beans.Introspector.
1567
1568 </xsd:documentation>
1569 </xsd:annotation>
1570 <xsd:sequence>
1571 <xsd:group ref="javaee:descriptionGroup"/>
1572 <xsd:element name="property-name"
1573 type="javaee:string">
1574 <xsd:annotation>
1575 <xsd:documentation>
1576
1577 The "property-name" element represents the JavaBeans
1578 property name under which the corresponding value
1579 may be stored.
1580
1581 </xsd:documentation>
1582 </xsd:annotation>
1583 </xsd:element>
1584 <xsd:element name="property-class"
1585 type="javaee:java-typeType">
1586 <xsd:annotation>
1587 <xsd:documentation>
1588
1589 The "property-class" element represents the Java type
1590 of the value associated with this property name.
1591 If not specified, it can be inferred from existing
1592 classes; however, this element should be specified if
1593 the configuration file is going to be the source for
1594 generating the corresponding classes.
1595
1596 </xsd:documentation>
1597 </xsd:annotation>
1598 </xsd:element>
1599 <xsd:element name="default-value"
1600 type="javaee:faces-config-default-valueType"
1601 minOccurs="0"/>
1602 <xsd:element name="suggested-value"
1603 type="javaee:faces-config-suggested-valueType"
1604 minOccurs="0"/>
1605 <xsd:element name="property-extension"
1606 type="javaee:faces-config-property-extensionType"
1607 minOccurs="0"
1608 maxOccurs="unbounded"/>
1609 </xsd:sequence>
1610 <xsd:attribute name="id" type="xsd:ID"/>
1611
1612 </xsd:complexType>
1613
1614 <!-- **************************************************** -->
1615
1616 <xsd:complexType name="faces-config-property-extensionType">
1617 <xsd:annotation>
1618 <xsd:documentation>
1619
1620 Extension element for property. It may contain
1621 implementation specific content.
1622
1623 </xsd:documentation>
1624 </xsd:annotation>
1625
1626 <xsd:sequence>
1627 <xsd:any namespace="##any"
1628 processContents="lax"
1629 minOccurs="0"
1630 maxOccurs="unbounded" />
1631 </xsd:sequence>
1632 <xsd:attribute name="id" type="xsd:ID"/>
1633 </xsd:complexType>
1634
1635 <!-- **************************************************** -->
1636
1637 <xsd:complexType name="faces-config-redirectType">
1638 <xsd:annotation>
1639 <xsd:documentation>
1640
1641 The "redirect" element indicates that navigation to the
1642 specified "to-view-id" should be accomplished by
1643 performing an HTTP redirect rather than the usual
1644 ViewHandler mechanisms.
1645
1646 </xsd:documentation>
1647 </xsd:annotation>
1648 <xsd:attribute name="id" type="xsd:ID"/>
1649 </xsd:complexType>
1650
1651 <!-- **************************************************** -->
1652
1653 <xsd:complexType name="faces-config-referenced-beanType">
1654 <xsd:annotation>
1655 <xsd:documentation>
1656
1657 The "referenced-bean" element represents at design time the
1658 promise that a Java object of the specified type will exist at
1659 runtime in some scope, under the specified key. This can be
1660 used by design time tools to construct user interface dialogs
1661 based on the properties of the specified class. The presence
1662 or absence of a referenced bean element has no impact on the
1663 JavaServer Faces runtime environment inside a web application.
1664
1665 </xsd:documentation>
1666 </xsd:annotation>
1667 <xsd:sequence>
1668 <xsd:group ref="javaee:descriptionGroup"/>
1669 <xsd:element name="referenced-bean-name"
1670 type="javaee:java-identifierType">
1671 <xsd:annotation>
1672 <xsd:documentation>
1673
1674 The "referenced-bean-name" element represents the
1675 attribute name under which the corresponding
1676 referenced bean may be assumed to be stored, in one
1677 of 'request', 'session', or 'application' scopes.
1678
1679 </xsd:documentation>
1680 </xsd:annotation>
1681 </xsd:element>
1682 <xsd:element name="referenced-bean-class"
1683 type="javaee:fully-qualified-classType">
1684 <xsd:annotation>
1685 <xsd:documentation>
1686
1687 The "referenced-bean-class" element represents the
1688 fully qualified class name of the Java class
1689 (either abstract or concrete) or Java interface
1690 implemented by the corresponding referenced bean.
1691
1692 </xsd:documentation>
1693 </xsd:annotation>
1694 </xsd:element>
1695 </xsd:sequence>
1696 <xsd:attribute name="id" type="xsd:ID"/>
1697 </xsd:complexType>
1698
1699 <!-- **************************************************** -->
1700
1701 <xsd:complexType name="faces-config-render-kitType">
1702 <xsd:annotation>
1703 <xsd:documentation>
1704
1705 The "render-kit" element represents a concrete RenderKit
1706 implementation that should be registered under the specified
1707 render-kit-id. If no render-kit-id is specified, the
1708 identifier of the default RenderKit
1709 (RenderKitFactory.DEFAULT_RENDER_KIT) is assumed.
1710
1711 </xsd:documentation>
1712 </xsd:annotation>
1713
1714 <xsd:sequence>
1715 <xsd:group ref="javaee:descriptionGroup"/>
1716 <xsd:element name="render-kit-id"
1717 type="javaee:string"
1718 minOccurs="0">
1719 <xsd:annotation>
1720 <xsd:documentation>
1721
1722 The "render-kit-id" element represents an identifier
1723 for the RenderKit represented by the parent
1724 "render-kit" element.
1725
1726 </xsd:documentation>
1727 </xsd:annotation>
1728 </xsd:element>
1729 <xsd:element name="render-kit-class"
1730 type="javaee:fully-qualified-classType"
1731 minOccurs="0">
1732 <xsd:annotation>
1733 <xsd:documentation>
1734
1735 The "render-kit-class" element represents the fully
1736 qualified class name of a concrete RenderKit
1737 implementation class.
1738
1739 </xsd:documentation>
1740 </xsd:annotation>
1741 </xsd:element>
1742 <xsd:element name="renderer"
1743 type="javaee:faces-config-rendererType"
1744 minOccurs="0"
1745 maxOccurs="unbounded"/>
1746 <xsd:element name="render-kit-extension"
1747 type="javaee:faces-config-render-kit-extensionType"
1748 minOccurs="0"
1749 maxOccurs="unbounded"/>
1750 </xsd:sequence>
1751 <xsd:attribute name="id" type="xsd:ID"/>
1752 </xsd:complexType>
1753
1754 <!-- **************************************************** -->
1755
1756 <xsd:complexType name="faces-config-rendererType">
1757 <xsd:annotation>
1758 <xsd:documentation>
1759
1760 The "renderer" element represents a concrete Renderer
1761 implementation class that should be registered under the
1762 specified component family and renderer type identifiers,
1763 in the RenderKit associated with the parent "render-kit"
1764 element. Combinations of component family and
1765 renderer type must be unique within the RenderKit
1766 associated with the parent "render-kit" element.
1767
1768 Nested "attribute" elements identify generic component
1769 attributes that are recognized by this renderer.
1770
1771 </xsd:documentation>
1772 </xsd:annotation>
1773
1774 <xsd:sequence>
1775 <xsd:group ref="javaee:descriptionGroup"/>
1776 <xsd:element name="component-family"
1777 type="javaee:string">
1778 <xsd:annotation>
1779 <xsd:documentation>
1780
1781 The "component-family" element represents the
1782 component family for which the Renderer represented
1783 by the parent "renderer" element will be used.
1784
1785 </xsd:documentation>
1786 </xsd:annotation>
1787 </xsd:element>
1788 <xsd:element name="renderer-type"
1789 type="javaee:string">
1790 <xsd:annotation>
1791 <xsd:documentation>
1792
1793 The "renderer-type" element represents a renderer type
1794 identifier for the Renderer represented by the parent
1795 "renderer" element.
1796
1797 </xsd:documentation>
1798 </xsd:annotation>
1799 </xsd:element>
1800 <xsd:element name="renderer-class"
1801 type="javaee:fully-qualified-classType">
1802 <xsd:annotation>
1803 <xsd:documentation>
1804
1805 The "renderer-class" element represents the fully
1806 qualified class name of a concrete Renderer
1807 implementation class.
1808
1809 </xsd:documentation>
1810 </xsd:annotation>
1811 </xsd:element>
1812 <xsd:element name="facet"
1813 type="javaee:faces-config-facetType"
1814 minOccurs="0"
1815 maxOccurs="unbounded"/>
1816 <xsd:element name="attribute"
1817 type="javaee:faces-config-attributeType"
1818 minOccurs="0"
1819 maxOccurs="unbounded"/>
1820 <xsd:element name="renderer-extension"
1821 type="javaee:faces-config-renderer-extensionType"
1822 minOccurs="0"
1823 maxOccurs="unbounded"/>
1824 </xsd:sequence>
1825 <xsd:attribute name="id" type="xsd:ID"/>
1826 </xsd:complexType>
1827
1828 <!-- **************************************************** -->
1829
1830 <xsd:complexType name="faces-config-renderer-extensionType">
1831 <xsd:annotation>
1832 <xsd:documentation>
1833
1834 Extension element for renderer. It may contain implementation
1835 specific content.
1836
1837 </xsd:documentation>
1838 </xsd:annotation>
1839
1840 <xsd:sequence>
1841 <xsd:any namespace="##any"
1842 processContents="lax"
1843 minOccurs="0"
1844 maxOccurs="unbounded" />
1845 </xsd:sequence>
1846 <xsd:attribute name="id" type="xsd:ID"/>
1847 </xsd:complexType>
1848
1849 <!-- **************************************************** -->
1850
1851 <xsd:complexType name="faces-config-render-kit-extensionType">
1852 <xsd:annotation>
1853 <xsd:documentation>
1854
1855 Extension element for render-kit. It may contain
1856 implementation specific content.
1857
1858 </xsd:documentation>
1859 </xsd:annotation>
1860
1861 <xsd:sequence>
1862 <xsd:any namespace="##any"
1863 processContents="lax"
1864 minOccurs="0"
1865 maxOccurs="unbounded" />
1866 </xsd:sequence>
1867 <xsd:attribute name="id" type="xsd:ID"/>
1868 </xsd:complexType>
1869
1870
1871 <!-- **************************************************** -->
1872
1873 <xsd:complexType name="faces-config-suggested-valueType">
1874 <xsd:annotation>
1875 <xsd:documentation>
1876
1877 The "suggested-value" contains the value for the property or
1878 attribute in which this element resides. This value is
1879 advisory only and is intended for tools to use when
1880 populating pallettes.
1881
1882 </xsd:documentation>
1883 </xsd:annotation>
1884 <xsd:simpleContent>
1885 <xsd:restriction base="javaee:string"/>
1886 </xsd:simpleContent>
1887 </xsd:complexType>
1888
1889 <!-- **************************************************** -->
1890
1891 <xsd:complexType name="faces-config-supported-localeType">
1892 <xsd:annotation>
1893 <xsd:documentation>
1894
1895 The "supported-locale" element allows authors to declare
1896 which locales are supported in this application instance.
1897
1898 It must be specified as :language:[_:country:[_:variant:]]
1899 without the colons, for example "ja_JP_SJIS". The
1900 separators between the segments may be '-' or '_'.
1901
1902 </xsd:documentation>
1903 </xsd:annotation>
1904 <xsd:simpleContent>
1905 <xsd:extension base="javaee:faces-config-localeType">
1906 <xsd:attribute name="id" type="xsd:ID"/>
1907 </xsd:extension>
1908 </xsd:simpleContent>
1909 </xsd:complexType>
1910
1911 <!-- **************************************************** -->
1912
1913 <xsd:complexType name="faces-config-validatorType">
1914 <xsd:annotation>
1915 <xsd:documentation>
1916
1917 The "validator" element represents a concrete Validator
1918 implementation class that should be registered under the
1919 specified validator identifier. Validator identifiers must
1920 be unique within the entire web application.
1921
1922 Nested "attribute" elements identify generic attributes that
1923 may be configured on the corresponding UIComponent in order
1924 to affect the operation of the Validator. Nested "property"
1925 elements identify JavaBeans properties of the Validator
1926 implementation class that may be configured to affect the
1927 operation of the Validator. "attribute" and "property"
1928 elements are intended to allow component developers to
1929 more completely describe their components to tools and users.
1930 These elements have no required runtime semantics.
1931
1932 </xsd:documentation>
1933 </xsd:annotation>
1934 <xsd:sequence>
1935 <xsd:group ref="javaee:descriptionGroup"/>
1936 <xsd:element name="validator-id"
1937 type="javaee:string">
1938 <xsd:annotation>
1939 <xsd:documentation>
1940
1941 The "validator-id" element represents the identifier
1942 under which the corresponding Validator class should
1943 be registered.
1944
1945 </xsd:documentation>
1946 </xsd:annotation>
1947 </xsd:element>
1948 <xsd:element name="validator-class"
1949 type="javaee:fully-qualified-classType">
1950 <xsd:annotation>
1951 <xsd:documentation>
1952
1953 The "validator-class" element represents the fully
1954 qualified class name of a concrete Validator
1955 implementation class.
1956
1957 </xsd:documentation>
1958 </xsd:annotation>
1959 </xsd:element>
1960 <xsd:element name="attribute"
1961 type="javaee:faces-config-attributeType"
1962 minOccurs="0"
1963 maxOccurs="unbounded">
1964 <xsd:annotation>
1965 <xsd:documentation>
1966
1967 Nested "attribute" elements identify generic
1968 attributes that may be configured on the
1969 corresponding UIComponent in order to affect the
1970 operation of the Validator. This attribute is
1971 primarily for design-time tools and is not
1972 specified to have any meaning at runtime.
1973
1974 </xsd:documentation>
1975 </xsd:annotation>
1976
1977 </xsd:element>
1978 <xsd:element name="property"
1979 type="javaee:faces-config-propertyType"
1980 minOccurs="0"
1981 maxOccurs="unbounded">
1982 <xsd:annotation>
1983 <xsd:documentation>
1984
1985 Nested "property" elements identify JavaBeans
1986 properties of the Validator implementation class
1987 that may be configured to affect the operation of
1988 the Validator. This attribute is primarily for
1989 design-time tools and is not specified to have
1990 any meaning at runtime.
1991
1992 </xsd:documentation>
1993 </xsd:annotation>
1994 </xsd:element>
1995 <xsd:element name="validator-extension"
1996 type="javaee:faces-config-validator-extensionType"
1997 minOccurs="0"
1998 maxOccurs="unbounded"/>
1999 </xsd:sequence>
2000 <xsd:attribute name="id" type="xsd:ID"/>
2001 </xsd:complexType>
2002
2003 <!-- **************************************************** -->
2004
2005 <xsd:complexType name = "faces-config-validator-extensionType">
2006 <xsd:annotation>
2007 <xsd:documentation>
2008
2009 Extension element for validator. It may contain
2010 implementation specific content.
2011
2012 </xsd:documentation>
2013 </xsd:annotation>
2014
2015 <xsd:sequence>
2016 <xsd:any namespace="##any"
2017 processContents="lax"
2018 minOccurs="0"
2019 maxOccurs="unbounded" />
2020 </xsd:sequence>
2021 <xsd:attribute name="id" type="xsd:ID"/>
2022 </xsd:complexType>
2023
2024 <!-- **************************************************** -->
2025
2026 <xsd:simpleType name="faces-config-valueType">
2027 <xsd:annotation>
2028 <xsd:documentation>
2029
2030 The "value" element is the String representation of
2031 a literal value to which a scalar managed property
2032 will be set, or a value binding expression ("#{...}")
2033 that will be used to calculate the required value.
2034 It will be converted as specified for the actual
2035 property type.
2036
2037 </xsd:documentation>
2038 </xsd:annotation>
2039 <xsd:union
2040 memberTypes="javaee:faces-config-el-expressionType xsd:string"/>
2041 </xsd:simpleType>
2042
2043 <!-- **************************************************** -->
2044
2045 <xsd:complexType name="faces-config-value-classType">
2046 <xsd:annotation>
2047 <xsd:documentation>
2048
2049 The "value-class" element defines the Java type to which each
2050 "value" element's value will be converted to, prior to adding
2051 it to the "list-entries" list for a managed property that is
2052 a java.util.List, or a "map-entries" map for a managed
2053 property that is a java.util.Map.
2054
2055 </xsd:documentation>
2056 </xsd:annotation>
2057 <xsd:simpleContent>
2058 <xsd:restriction base="javaee:fully-qualified-classType"/>
2059 </xsd:simpleContent>
2060 </xsd:complexType>
2061
2062 <!-- **************************************************** -->
2063
2064 <xsd:complexType name="faces-config-list-entriesType">
2065 <xsd:annotation>
2066 <xsd:documentation>
2067
2068 The "list-entries" element represents a set of initialization
2069 elements for a managed property that is a java.util.List or an
2070 array. In the former case, the "value-class" element can
2071 optionally be used to declare the Java type to which each
2072 value should be converted before adding it to the Collection.
2073
2074 </xsd:documentation>
2075 </xsd:annotation>
2076 <xsd:sequence>
2077 <xsd:element name="value-class"
2078 type="javaee:faces-config-value-classType"
2079 minOccurs="0"/>
2080 <xsd:choice minOccurs="0" maxOccurs="unbounded">
2081 <xsd:element name="null-value"
2082 type="javaee:faces-config-null-valueType"/>
2083 <xsd:element name="value"
2084 type="javaee:faces-config-valueType"/>
2085 </xsd:choice>
2086 </xsd:sequence>
2087 <xsd:attribute name="id" type="xsd:ID"/>
2088 </xsd:complexType>
2089
2090 <!-- **************************************************** -->
2091
2092 <xsd:simpleType name="faces-config-versionType">
2093 <xsd:annotation>
2094 <xsd:documentation>
2095
2096 This type contains the recognized versions of
2097 faces-config supported.
2098
2099 </xsd:documentation>
2100 </xsd:annotation>
2101 <xsd:restriction base="xsd:token">
2102 <xsd:enumeration value="1.2"/>
2103 </xsd:restriction>
2104 </xsd:simpleType>
2105
2106 <!-- **************************************************** -->
2107
2108</xsd:schema>