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