JSF Schema

Table of Contents

top

Schema Document Properties

Target Namespace http://xmlns.jcp.org/xml/ns/javaee
Version 2.3
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.
Schema Composition
  • This schema includes components from the following schema document(s):
    • javaee_8.xsd
Documentation DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. Copyright (c) 2011 - 2017 Oracle and/or its affiliates. All rights reserved. The contents of this file are subject to the terms of either the GNU General Public License Version 2 only ("GPL") or the Common Development and Distribution License("CDDL") (collectively, the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the License at https://glassfish.java.net/public/CDDL+GPL_1_1.html or packager/legal/LICENSE.txt. See the License for the specific language governing permissions and limitations under the License. When distributing the software, include this License Header Notice in each file and include the License file at packager/legal/LICENSE.txt. GPL Classpath Exception: Oracle designates this particular file as subject to the "Classpath" exception as provided by Oracle in the GPL Version 2 section of the License file that accompanied this code. Modifications: If applicable, add the following below the License Header, with the fields enclosed by brackets [] replaced by your own identifying information: "Portions Copyright [year] [name of copyright owner]" Contributor(s): If you wish your version of this file to be governed by only the CDDL or only the GPL Version 2, indicate your decision by adding "[Contributor] elects to include this software in this distribution under the [CDDL or GPL Version 2] license." If you don't indicate a single choice of license, a recipient has the option to distribute your version of this file under either the CDDL, the GPL Version 2 or to extend the choice of license to its licensees as provided above. However, if you add GPL Version 2 code and therefore, elected the GPL Version 2 license, then the option applies only if the new code is made subject to such option by the copyright holder.

The XML Schema for the JavaServer Faces Application Configuration File (Version 2.3).

All JavaServer Faces configuration files must indicate the JavaServer Faces schema by indicating the JavaServer Faces namespace:

http://xmlns.jcp.org/xml/ns/javaee

and by indicating the version of the schema by using the version element as shown below:

<faces-config xmlns="http://xmlns.jcp.org/xml/ns/javaee"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="..."
      version="2.2">
      ...
      </faces-config>

The instance documents may indicate the published version of the schema using xsi:schemaLocation attribute for javaee namespace with the following location:

http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
javaee http://xmlns.jcp.org/xml/ns/javaee
xsd http://www.w3.org/2001/XMLSchema
Schema Component Representation
<xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://xmlns.jcp.org/xml/ns/javaee" version="2.3">
<xsd:include schemaLocation="javaee_8.xsd"/>
...
</xsd:schema>
top

Global Declarations

Element: faces-config

Name faces-config
Type javaee:faces-configType
Nillable no
Abstract no
Documentation

The "faces-config" element is the root of the configuration information hierarchy, and contains nested elements for all of the other configuration settings.

XML Instance Representation
<javaee:faces-config
metadata-complete=" xsd:boolean [0..1] ?"
id=" xsd:ID [0..1]"
version=" javaee:faces-config-versionType [1]">
<!--
Uniqueness Constraint - faces-config-behavior-ID-uniqueness
Selector - javaee:behavior
Field(s) - javaee:behavior-id
-->
<!--
Uniqueness Constraint - faces-config-converter-ID-uniqueness
Selector - javaee:converter
Field(s) - javaee:converter-id
-->
<!--
Uniqueness Constraint - faces-config-converter-for-class-uniqueness
Selector - javaee:converter
Field(s) - javaee:converter-for-class
-->
<!--
Uniqueness Constraint - faces-config-validator-ID-uniqueness
Selector - javaee:validator
Field(s) - javaee:validator-id
-->
<!--
Uniqueness Constraint - faces-config-managed-bean-name-uniqueness
Selector - javaee:managed-bean
Field(s) - javaee:managed-bean-name
-->

Start Choice [0..*]
<javaee:application> javaee:faces-config-applicationType </javaee:application> [1]
<javaee:ordering> javaee:faces-config-orderingType </javaee:ordering> [1]
<javaee:absolute-ordering> javaee:faces-config-absoluteOrderingType </javaee:absolute-ordering> [0..1]
<javaee:factory> javaee:faces-config-factoryType </javaee:factory> [1]
<javaee:component> javaee:faces-config-componentType </javaee:component> [1]
<javaee:converter> javaee:faces-config-converterType </javaee:converter> [1]
<javaee:managed-bean> javaee:faces-config-managed-beanType </javaee:managed-bean> [1]
<javaee:flow-definition> javaee:faces-config-flow-definitionType </javaee:flow-definition> [1]
<javaee:name> javaee:java-identifierType </javaee:name> [0..1] ?
<javaee:navigation-rule> javaee:faces-config-navigation-ruleType </javaee:navigation-rule> [1]
<javaee:protected-views> javaee:faces-config-protected-viewsType </javaee:protected-views> [0..*]
<javaee:referenced-bean> javaee:faces-config-referenced-beanType </javaee:referenced-bean> [1]
<javaee:render-kit> javaee:faces-config-render-kitType </javaee:render-kit> [1]
<javaee:lifecycle> javaee:faces-config-lifecycleType </javaee:lifecycle> [1]
<javaee:validator> javaee:faces-config-validatorType </javaee:validator> [1]
<javaee:behavior> javaee:faces-config-behaviorType </javaee:behavior> [1]
<javaee:faces-config-extension> javaee:faces-config-extensionType </javaee:faces-config-extension> [0..*]
End Choice
</javaee:faces-config>
Schema Component Representation
<xsd:element name="faces-config" type=" javaee:faces-configType ">
<xsd:unique name="faces-config-behavior-ID-uniqueness">
<xsd:selector xpath="javaee:behavior"/>
<xsd:field xpath="javaee:behavior-id"/>
</xsd:unique>
<xsd:unique name="faces-config-converter-ID-uniqueness">
<xsd:selector xpath="javaee:converter"/>
<xsd:field xpath="javaee:converter-id"/>
</xsd:unique>
<xsd:unique name="faces-config-converter-for-class-uniqueness">
<xsd:selector xpath="javaee:converter"/>
<xsd:field xpath="javaee:converter-for-class"/>
</xsd:unique>
<xsd:unique name="faces-config-validator-ID-uniqueness">
<xsd:selector xpath="javaee:validator"/>
<xsd:field xpath="javaee:validator-id"/>
</xsd:unique>
<xsd:unique name="faces-config-managed-bean-name-uniqueness">
<xsd:selector xpath="javaee:managed-bean"/>
<xsd:field xpath="javaee:managed-bean-name"/>
</xsd:unique>
</xsd:element>
top

Global Definitions

Complex Type: faces-config-absoluteOrderingType

Super-types: None
Sub-types: None
Name faces-config-absoluteOrderingType
Abstract no
Documentation

Only relevant if this is placed within the /WEB-INF/faces-config.xml. Please see section JSF.11.4.6 for the specification for details.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Start Choice [0..*]
<javaee:name> javaee:java-identifierType </javaee:name> [0..*]
<javaee:others> javaee:faces-config-ordering-othersType </javaee:others> [0..1]
End Choice
</...>
Schema Component Representation
<xsd:complexType name="faces-config-absoluteOrderingType">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="name" type=" javaee:java-identifierType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="others" type=" javaee:faces-config-ordering-othersType " minOccurs="0"/>
</xsd:choice>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-application-extensionType

Super-types: None
Sub-types: None
Name faces-config-application-extensionType
Abstract no
Documentation

Extension element for application. It may contain implementation specific content.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Allow any elements from any namespace (lax validation). [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-application-extensionType">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-application-resource-bundleType

Super-types: None
Sub-types: None
Name faces-config-application-resource-bundleType
Abstract no
Documentation

The resource-bundle element inside the application element references a java.util.ResourceBundle instance by name using the var element. ResourceBundles referenced in this manner may be returned by a call to Application.getResourceBundle() passing the current FacesContext for this request and the value of the var element below.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Model group reference (not shown): javaee:descriptionGroup [1]
<javaee:base-name> javaee:fully-qualified-classType </javaee:base-name> [1] ?
<javaee:var> javaee:string </javaee:var> [1] ?
</...>
Schema Component Representation
<xsd:complexType name="faces-config-application-resource-bundleType">
<xsd:sequence>
<xsd:group ref=" javaee:descriptionGroup "/>
<xsd:element name="base-name" type=" javaee:fully-qualified-classType "/>
<xsd:element name="var" type=" javaee:string "/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-application-resource-library-contracts-contract-mappingType

Super-types: None
Sub-types: None
Name faces-config-application-resource-library-contracts-contract-mappingType
Abstract no
Documentation

The "contract-mapping" element specifies the mappings between a collection of views in the application and resource library contracts that, if present in the application, must be made available for use as templates of the specified views.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Model group reference (not shown): javaee:descriptionGroup [1]
<javaee:url-pattern> javaee:url-patternType </javaee:url-pattern> [1..*] ?
<javaee:contracts> javaee:string </javaee:contracts> [1..*] ?
</...>
Schema Component Representation
<xsd:complexType name="faces-config-application-resource-library-contracts-contract-mappingType">
<xsd:sequence>
<xsd:group ref=" javaee:descriptionGroup "/>
<xsd:element name="url-pattern" type=" javaee:url-patternType " maxOccurs="unbounded"/>
<xsd:element name="contracts" type=" javaee:string " maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-application-resource-library-contractsType

Super-types: None
Sub-types: None
Name faces-config-application-resource-library-contractsType
Abstract no
Documentation

The "resource-library-contracts" element specifies the mappings between views in the application and resource library contracts that, if present in the application, must be made available for use as templates of the specified views.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Model group reference (not shown): javaee:descriptionGroup [1]
<javaee:contract-mapping> javaee:faces-config-application-resource-library-contracts-contract-mappingType </javaee:contract-mapping> [1..*] ?
</...>
Schema Component Representation
<xsd:complexType name="faces-config-application-resource-library-contractsType">
<xsd:sequence>
<xsd:group ref=" javaee:descriptionGroup "/>
<xsd:element name="contract-mapping" type=" javaee:faces-config-application-resource-library-contracts-contract-mappingType " maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-applicationType

Super-types: None
Sub-types: None
Name faces-config-applicationType
Abstract no
Documentation

The "application" element provides a mechanism to define the various per-application-singleton implementation artifacts for a particular web application that is utilizing JavaServer Faces. For nested elements that are not specified, the JSF implementation must provide a suitable default.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Start Choice [0..*]
<javaee:action-listener> javaee:fully-qualified-classType </javaee:action-listener> [1] ?
<javaee:default-render-kit-id> javaee:string </javaee:default-render-kit-id> [1] ?
<javaee:message-bundle> javaee:string </javaee:message-bundle> [1] ?
<javaee:navigation-handler> javaee:fully-qualified-classType </javaee:navigation-handler> [1] ?
<javaee:view-handler> javaee:fully-qualified-classType </javaee:view-handler> [1] ?
<javaee:state-manager> javaee:fully-qualified-classType </javaee:state-manager> [1] ?
<javaee:el-resolver> javaee:fully-qualified-classType </javaee:el-resolver> [1] ?
<javaee:property-resolver> javaee:fully-qualified-classType </javaee:property-resolver> [1] ?
<javaee:variable-resolver> javaee:fully-qualified-classType </javaee:variable-resolver> [1] ?
<javaee:resource-handler> javaee:fully-qualified-classType </javaee:resource-handler> [1] ?
<javaee:resource-library-contracts> javaee:faces-config-application-resource-library-contractsType </javaee:resource-library-contracts> [1] ?
<javaee:search-expression-handler> javaee:fully-qualified-classType </javaee:search-expression-handler> [1] ?
<javaee:search-keyword-resolver> javaee:fully-qualified-classType </javaee:search-keyword-resolver> [1] ?
<javaee:system-event-listener> javaee:faces-config-system-event-listenerType </javaee:system-event-listener> [0..*]
<javaee:locale-config> javaee:faces-config-locale-configType </javaee:locale-config> [1]
<javaee:resource-bundle> javaee:faces-config-application-resource-bundleType </javaee:resource-bundle> [1]
<javaee:application-extension> javaee:faces-config-application-extensionType </javaee:application-extension> [0..*]
<javaee:default-validators> javaee:faces-config-default-validatorsType </javaee:default-validators> [1]
End Choice
</...>
Schema Component Representation
<xsd:complexType name="faces-config-applicationType">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="action-listener" type=" javaee:fully-qualified-classType "/>
<xsd:element name="default-render-kit-id" type=" javaee:string "/>
<xsd:element name="message-bundle" type=" javaee:string "/>
<xsd:element name="navigation-handler" type=" javaee:fully-qualified-classType "/>
<xsd:element name="view-handler" type=" javaee:fully-qualified-classType "/>
<xsd:element name="state-manager" type=" javaee:fully-qualified-classType "/>
<xsd:element name="el-resolver" type=" javaee:fully-qualified-classType "/>
<xsd:element name="property-resolver" type=" javaee:fully-qualified-classType "/>
<xsd:element name="variable-resolver" type=" javaee:fully-qualified-classType "/>
<xsd:element name="resource-handler" type=" javaee:fully-qualified-classType "/>
<xsd:element name="resource-library-contracts" type=" javaee:faces-config-application-resource-library-contractsType "/>
<xsd:element name="search-expression-handler" type=" javaee:fully-qualified-classType "/>
<xsd:element name="search-keyword-resolver" type=" javaee:fully-qualified-classType "/>
<xsd:element name="system-event-listener" type=" javaee:faces-config-system-event-listenerType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="locale-config" type=" javaee:faces-config-locale-configType "/>
<xsd:element name="resource-bundle" type=" javaee:faces-config-application-resource-bundleType "/>
<xsd:element name="application-extension" type=" javaee:faces-config-application-extensionType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="default-validators" type=" javaee:faces-config-default-validatorsType "/>
</xsd:choice>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-attribute-extensionType

Super-types: None
Sub-types: None
Name faces-config-attribute-extensionType
Abstract no
Documentation

Extension element for attribute. It may contain implementation specific content.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Allow any elements from any namespace (lax validation). [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-attribute-extensionType">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-attributeType

Super-types: None
Sub-types: None
Name faces-config-attributeType
Abstract no
Documentation

The "attribute" element represents a named, typed, value associated with the parent UIComponent via the generic attributes mechanism.

Attribute names must be unique within the scope of the parent (or related) component.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Model group reference (not shown): javaee:descriptionGroup [1]
<javaee:attribute-name> javaee:string </javaee:attribute-name> [1] ?
<javaee:attribute-class> javaee:fully-qualified-classType </javaee:attribute-class> [1] ?
<javaee:default-value> javaee:faces-config-default-valueType </javaee:default-value> [0..1]
<javaee:suggested-value> javaee:faces-config-suggested-valueType </javaee:suggested-value> [0..1]
<javaee:attribute-extension> javaee:faces-config-attribute-extensionType </javaee:attribute-extension> [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-attributeType">
<xsd:sequence>
<xsd:group ref=" javaee:descriptionGroup "/>
<xsd:element name="attribute-name" type=" javaee:string "/>
<xsd:element name="attribute-class" type=" javaee:fully-qualified-classType "/>
<xsd:element name="default-value" type=" javaee:faces-config-default-valueType " minOccurs="0"/>
<xsd:element name="suggested-value" type=" javaee:faces-config-suggested-valueType " minOccurs="0"/>
<xsd:element name="attribute-extension" type=" javaee:faces-config-attribute-extensionType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-behavior-extensionType

Super-types: None
Sub-types: None
Name faces-config-behavior-extensionType
Abstract no
Documentation

Extension element for behavior. It may contain implementation specific content.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Allow any elements from any namespace (lax validation). [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-behavior-extensionType">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-behaviorType

Super-types: None
Sub-types: None
Name faces-config-behaviorType
Abstract no
Documentation

The "behavior" element represents a concrete Behavior implementation class that should be registered under the specified behavior identifier. Behavior identifiers must be unique within the entire web application.

Nested "attribute" elements identify generic attributes that may be configured on the corresponding UIComponent in order to affect the operation of the Behavior. Nested "property" elements identify JavaBeans properties of the Behavior implementation class that may be configured to affect the operation of the Behavior. "attribute" and "property" elements are intended to allow component developers to more completely describe their components to tools and users. These elements have no required runtime semantics.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Model group reference (not shown): javaee:descriptionGroup [1]
<javaee:behavior-id> javaee:string </javaee:behavior-id> [1] ?
<javaee:behavior-class> javaee:fully-qualified-classType </javaee:behavior-class> [1] ?
<javaee:attribute> javaee:faces-config-attributeType </javaee:attribute> [0..*] ?
<javaee:property> javaee:faces-config-propertyType </javaee:property> [0..*] ?
<javaee:behavior-extension> javaee:faces-config-behavior-extensionType </javaee:behavior-extension> [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-behaviorType">
<xsd:sequence>
<xsd:group ref=" javaee:descriptionGroup "/>
<xsd:element name="behavior-id" type=" javaee:string "/>
<xsd:element name="behavior-class" type=" javaee:fully-qualified-classType "/>
<xsd:element name="attribute" type=" javaee:faces-config-attributeType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="property" type=" javaee:faces-config-propertyType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="behavior-extension" type=" javaee:faces-config-behavior-extensionType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-client-behavior-rendererType

Super-types: None
Sub-types: None
Name faces-config-client-behavior-rendererType
Abstract no
Documentation

The "client-behavior-renderer" element represents a concrete ClientBehaviorRenderer implementation class that should be registered under the specified behavior renderer type identifier, in the RenderKit associated with the parent "render-kit" element. Client Behavior renderer type must be unique within the RenderKit associated with the parent "render-kit" element.

Nested "attribute" elements identify generic component attributes that are recognized by this renderer.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
<javaee:client-behavior-renderer-type> javaee:string </javaee:client-behavior-renderer-type> [1] ?
<javaee:client-behavior-renderer-class> javaee:fully-qualified-classType </javaee:client-behavior-renderer-class> [1] ?
</...>
Schema Component Representation
<xsd:complexType name="faces-config-client-behavior-rendererType">
<xsd:sequence>
<xsd:element name="client-behavior-renderer-type" type=" javaee:string "/>
<xsd:element name="client-behavior-renderer-class" type=" javaee:fully-qualified-classType "/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-component-extensionType

Super-types: None
Sub-types: None
Name faces-config-component-extensionType
Abstract no
Documentation

Extension element for component. It may contain implementation specific content.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Allow any elements from any namespace (lax validation). [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-component-extensionType">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-componentType

Super-types: None
Sub-types: None
Name faces-config-componentType
Abstract no
Documentation

The "component" element represents a concrete UIComponent implementation class that should be registered under the specified type identifier, along with its associated properties and attributes. Component types must be unique within the entire web application.

Nested "attribute" elements identify generic attributes that are recognized by the implementation logic of this component. Nested "property" elements identify JavaBeans properties of the component class that may be exposed for manipulation via tools.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Model group reference (not shown): javaee:descriptionGroup [1]
<javaee:component-type> javaee:string </javaee:component-type> [1] ?
<javaee:component-class> javaee:fully-qualified-classType </javaee:component-class> [1] ?
<javaee:facet> javaee:faces-config-facetType </javaee:facet> [0..*]
<javaee:attribute> javaee:faces-config-attributeType </javaee:attribute> [0..*]
<javaee:property> javaee:faces-config-propertyType </javaee:property> [0..*]
<javaee:component-extension> javaee:faces-config-component-extensionType </javaee:component-extension> [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-componentType">
<xsd:sequence>
<xsd:group ref=" javaee:descriptionGroup "/>
<xsd:element name="component-type" type=" javaee:string "/>
<xsd:element name="component-class" type=" javaee:fully-qualified-classType "/>
<xsd:element name="facet" type=" javaee:faces-config-facetType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="attribute" type=" javaee:faces-config-attributeType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="property" type=" javaee:faces-config-propertyType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="component-extension" type=" javaee:faces-config-component-extensionType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-converter-extensionType

Super-types: None
Sub-types: None
Name faces-config-converter-extensionType
Abstract no
Documentation

Extension element for converter. It may contain implementation specific content.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Allow any elements from any namespace (lax validation). [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-converter-extensionType">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-converterType

Super-types: None
Sub-types: None
Name faces-config-converterType
Abstract no
Documentation

The "converter" element represents a concrete Converter implementation class that should be registered under the specified converter identifier. Converter identifiers must be unique within the entire web application.

Nested "attribute" elements identify generic attributes that may be configured on the corresponding UIComponent in order to affect the operation of the Converter. Nested "property" elements identify JavaBeans properties of the Converter implementation class that may be configured to affect the operation of the Converter. "attribute" and "property" elements are intended to allow component developers to more completely describe their components to tools and users. These elements have no required runtime semantics.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Model group reference (not shown): javaee:descriptionGroup [1]
Start Choice [1]
<javaee:converter-id> javaee:string </javaee:converter-id> [1] ?
<javaee:converter-for-class> javaee:fully-qualified-classType </javaee:converter-for-class> [1] ?
End Choice
<javaee:converter-class> javaee:fully-qualified-classType </javaee:converter-class> [1] ?
<javaee:attribute> javaee:faces-config-attributeType </javaee:attribute> [0..*] ?
<javaee:property> javaee:faces-config-propertyType </javaee:property> [0..*] ?
<javaee:converter-extension> javaee:faces-config-converter-extensionType </javaee:converter-extension> [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-converterType">
<xsd:sequence>
<xsd:group ref=" javaee:descriptionGroup "/>
<xsd:choice>
<xsd:element name="converter-id" type=" javaee:string "/>
<xsd:element name="converter-for-class" type=" javaee:fully-qualified-classType "/>
</xsd:choice>
<xsd:element name="converter-class" type=" javaee:fully-qualified-classType "/>
<xsd:element name="attribute" type=" javaee:faces-config-attributeType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="property" type=" javaee:faces-config-propertyType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="converter-extension" type=" javaee:faces-config-converter-extensionType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-default-localeType

Super-types: xsd:string < faces-config-localeType (by restriction) < faces-config-default-localeType (by extension)
Sub-types: None
Name faces-config-default-localeType
Abstract no
Documentation

The "default-locale" element declares the default locale for this application instance.

To facilitate BCP 47 this element first needs to be parsed by the Locale.forLanguageTag method. If it does not return a Locale with a language the old specification below needs to take effect.

It must be specified as :language:[_:country:[_:variant:]] without the colons, for example "ja_JP_SJIS". The separators between the segments may be '-' or '_'.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
javaee:faces-config-localeType
</...>
Schema Component Representation
<xsd:complexType name="faces-config-default-localeType">
<xsd:simpleContent>
<xsd:extension base=" javaee:faces-config-localeType ">
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
top

Complex Type: faces-config-default-validatorsType

Super-types: None
Sub-types: None
Name faces-config-default-validatorsType
Abstract no
Documentation

The "default-validators" element allows the app developer to register a set of validators, referenced by identifier, that are automatically assigned to any EditableValueHolder component in the application, unless overridden or disabled locally.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
<javaee:validator-id> javaee:string </javaee:validator-id> [0..*] ?
</...>
Schema Component Representation
<xsd:complexType name="faces-config-default-validatorsType">
<xsd:sequence>
<xsd:element name="validator-id" type=" javaee:string " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-default-valueType

Super-types: javaee:string < faces-config-default-valueType (by restriction)
Sub-types: None
Name faces-config-default-valueType
Abstract no
Documentation

The "default-value" contains the value for the property or attribute in which this element resides. This value differs from the "suggested-value" in that the property or attribute must take the value, whereas in "suggested-value" taking the value is optional.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
javaee:string
</...>
Schema Component Representation
<xsd:complexType name="faces-config-default-valueType">
<xsd:simpleContent>
<xsd:restriction base=" javaee:string ">
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:restriction>
</xsd:simpleContent>
</xsd:complexType>
top

Complex Type: faces-config-extensionType

Super-types: None
Sub-types: None
Name faces-config-extensionType
Abstract no
Documentation

Extension element for faces-config. It may contain implementation specific content.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Allow any elements from any namespace (lax validation). [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-extensionType">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-facet-extensionType

Super-types: None
Sub-types: None
Name faces-config-facet-extensionType
Abstract no
Documentation

Extension element for facet. It may contain implementation specific content.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Allow any elements from any namespace (lax validation). [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-facet-extensionType">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-facetType

Super-types: None
Sub-types: None
Name faces-config-facetType
Abstract no
Documentation

Define the name and other design-time information for a facet that is associated with a renderer or a component.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Model group reference (not shown): javaee:descriptionGroup [1]
<javaee:facet-name> javaee:java-identifierType </javaee:facet-name> [1] ?
<javaee:facet-extension> javaee:faces-config-facet-extensionType </javaee:facet-extension> [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-facetType">
<xsd:sequence>
<xsd:group ref=" javaee:descriptionGroup "/>
<xsd:element name="facet-name" type=" javaee:java-identifierType "/>
<xsd:element name="facet-extension" type=" javaee:faces-config-facet-extensionType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-factory-extensionType

Super-types: None
Sub-types: None
Name faces-config-factory-extensionType
Abstract no
Documentation

Extension element for factory. It may contain implementation specific content.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Allow any elements from any namespace (lax validation). [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-factory-extensionType">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-factoryType

Super-types: None
Sub-types: None
Name faces-config-factoryType
Abstract no
Documentation

The "factory" element provides a mechanism to define the various Factories that comprise parts of the implementation of JavaServer Faces. For nested elements that are not specified, the JSF implementation must provide a suitable default.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Start Choice [0..*]
<javaee:application-factory> javaee:fully-qualified-classType </javaee:application-factory> [1] ?
<javaee:exception-handler-factory> javaee:fully-qualified-classType </javaee:exception-handler-factory> [1] ?
<javaee:external-context-factory> javaee:fully-qualified-classType </javaee:external-context-factory> [1] ?
<javaee:faces-context-factory> javaee:fully-qualified-classType </javaee:faces-context-factory> [1] ?
<javaee:facelet-cache-factory> javaee:fully-qualified-classType </javaee:facelet-cache-factory> [1] ?
<javaee:partial-view-context-factory> javaee:fully-qualified-classType </javaee:partial-view-context-factory> [1] ?
<javaee:lifecycle-factory> javaee:fully-qualified-classType </javaee:lifecycle-factory> [1] ?
<javaee:view-declaration-language-factory> javaee:fully-qualified-classType </javaee:view-declaration-language-factory> [1] ?
<javaee:tag-handler-delegate-factory> javaee:fully-qualified-classType </javaee:tag-handler-delegate-factory> [1] ?
<javaee:render-kit-factory> javaee:fully-qualified-classType </javaee:render-kit-factory> [1] ?
<javaee:visit-context-factory> javaee:fully-qualified-classType </javaee:visit-context-factory> [1] ?
<javaee:flash-factory> javaee:fully-qualified-classType </javaee:flash-factory> [1] ?
<javaee:flow-handler-factory> javaee:fully-qualified-classType </javaee:flow-handler-factory> [1] ?
<javaee:client-window-factory> javaee:fully-qualified-classType </javaee:client-window-factory> [1] ?
<javaee:search-expression-context-factory> javaee:fully-qualified-classType </javaee:search-expression-context-factory> [1] ?
<javaee:factory-extension> javaee:faces-config-factory-extensionType </javaee:factory-extension> [0..*]
End Choice
</...>
Schema Component Representation
<xsd:complexType name="faces-config-factoryType">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="application-factory" type=" javaee:fully-qualified-classType "/>
<xsd:element name="exception-handler-factory" type=" javaee:fully-qualified-classType "/>
<xsd:element name="external-context-factory" type=" javaee:fully-qualified-classType "/>
<xsd:element name="faces-context-factory" type=" javaee:fully-qualified-classType "/>
<xsd:element name="facelet-cache-factory" type=" javaee:fully-qualified-classType "/>
<xsd:element name="partial-view-context-factory" type=" javaee:fully-qualified-classType "/>
<xsd:element name="lifecycle-factory" type=" javaee:fully-qualified-classType "/>
<xsd:element name="view-declaration-language-factory" type=" javaee:fully-qualified-classType "/>
<xsd:element name="tag-handler-delegate-factory" type=" javaee:fully-qualified-classType "/>
<xsd:element name="render-kit-factory" type=" javaee:fully-qualified-classType "/>
<xsd:element name="visit-context-factory" type=" javaee:fully-qualified-classType "/>
<xsd:element name="flash-factory" type=" javaee:fully-qualified-classType "/>
<xsd:element name="flow-handler-factory" type=" javaee:fully-qualified-classType "/>
<xsd:element name="client-window-factory" type=" javaee:fully-qualified-classType "/>
<xsd:element name="search-expression-context-factory" type=" javaee:fully-qualified-classType "/>
<xsd:element name="factory-extension" type=" javaee:faces-config-factory-extensionType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:choice>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-flow-definition-faces-method-call-methodType

Super-types: xsd:string < faces-config-el-expressionType (by restriction) < faces-config-flow-definition-faces-method-call-methodType (by extension)
Sub-types: None
Name faces-config-flow-definition-faces-method-call-methodType
Abstract no
XML Instance Representation
<...
id=" xsd:ID [0..1]">
javaee:faces-config-el-expressionType
</...>
Schema Component Representation
<xsd:complexType name="faces-config-flow-definition-faces-method-call-methodType">
<xsd:simpleContent>
<xsd:extension base=" javaee:faces-config-el-expressionType ">
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
top

Complex Type: faces-config-flow-definition-faces-method-callType

Super-types: None
Sub-types: None
Name faces-config-flow-definition-faces-method-callType
Abstract no
Documentation

Invoke a method, passing parameters if necessary. The return from the method is used as the outcome for where to go next in the flow. If the method is a void method, the default outcome is used.

XML Instance Representation
<...>
<javaee:method> javaee:faces-config-flow-definition-faces-method-call-methodType </javaee:method> [1]
<javaee:default-outcome> javaee:string </javaee:default-outcome> [1]
<javaee:parameter> javaee:faces-config-flow-definition-flow-call-parameterType </javaee:parameter> [0..*] ?
</...>
Schema Component Representation
<xsd:complexType name="faces-config-flow-definition-faces-method-callType">
<xsd:sequence>
<xsd:element name="method" type=" javaee:faces-config-flow-definition-faces-method-call-methodType "/>
<xsd:element name="default-outcome" type=" javaee:string "/>
<xsd:element name="parameter" type=" javaee:faces-config-flow-definition-flow-call-parameterType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: faces-config-flow-definition-finalizerType

Super-types: xsd:string < faces-config-el-expressionType (by restriction) < faces-config-flow-definition-finalizerType (by extension)
Sub-types: None
Name faces-config-flow-definition-finalizerType
Abstract no
Documentation

A MethodExpression that will be invoked when the flow is exited.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
javaee:faces-config-el-expressionType
</...>
Schema Component Representation
<xsd:complexType name="faces-config-flow-definition-finalizerType">
<xsd:simpleContent>
<xsd:extension base=" javaee:faces-config-el-expressionType ">
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
top

Complex Type: faces-config-flow-definition-flow-call-flow-referenceType

Super-types: None
Sub-types: None
Name faces-config-flow-definition-flow-call-flow-referenceType
Abstract no
Documentation

Identifiy the called flow.

XML Instance Representation
<...>
<javaee:flow-document-id> javaee:java-identifierType </javaee:flow-document-id> [0..1] ?
<javaee:flow-id> javaee:java-identifierType </javaee:flow-id> [1] ?
</...>
Schema Component Representation
<xsd:complexType name="faces-config-flow-definition-flow-call-flow-referenceType">
<xsd:sequence>
<xsd:element name="flow-document-id" type=" javaee:java-identifierType " minOccurs="0"/>
<xsd:element name="flow-id" type=" javaee:java-identifierType "/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: faces-config-flow-definition-flow-call-outbound-parameterType

Super-types: None
Sub-types: None
Name faces-config-flow-definition-flow-call-outbound-parameterType
Abstract no
Documentation

A named parameter whose value will be passed to a correspondingly named parameter within an "inbound-parameter" element on the target flow.

XML Instance Representation
<...>
<javaee:name> javaee:java-identifierType </javaee:name> [1] ?
<javaee:value> javaee:faces-config-flow-definition-parameter-valueType </javaee:value> [1] ?
</...>
Schema Component Representation
<xsd:complexType name="faces-config-flow-definition-flow-call-outbound-parameterType">
<xsd:sequence>
<xsd:element name="name" type=" javaee:java-identifierType "/>
<xsd:element name="value" type=" javaee:faces-config-flow-definition-parameter-valueType "/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: faces-config-flow-definition-flow-call-parameterType

Super-types: None
Sub-types: None
Name faces-config-flow-definition-flow-call-parameterType
Abstract no
Documentation

A parameter to pass when calling the method identified in the "method" element that is a sibling of this element.

XML Instance Representation
<...>
<javaee:class> javaee:string </javaee:class> [0..1] ?
<javaee:value> javaee:faces-config-flow-definition-parameter-valueType </javaee:value> [1] ?
</...>
Schema Component Representation
<xsd:complexType name="faces-config-flow-definition-flow-call-parameterType">
<xsd:sequence>
<xsd:element name="class" type=" javaee:string " minOccurs="0"/>
<xsd:element name="value" type=" javaee:faces-config-flow-definition-parameter-valueType "/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: faces-config-flow-definition-flow-callType

Super-types: None
Sub-types: None
Name faces-config-flow-definition-flow-callType
Abstract no
Documentation

Define a call node in a flow graph.

This element must contain exactly one <flow-reference> element, which must contain exactly one <flow-id> element.

XML Instance Representation
<...
id=" xsd:ID [1] ?">
<javaee:flow-reference> javaee:faces-config-flow-definition-flow-call-flow-referenceType </javaee:flow-reference> [1] ?
<javaee:outbound-parameter> javaee:faces-config-flow-definition-flow-call-outbound-parameterType </javaee:outbound-parameter> [0..*] ?
</...>
Schema Component Representation
<xsd:complexType name="faces-config-flow-definition-flow-callType">
<xsd:sequence>
<xsd:element name="flow-reference" type=" javaee:faces-config-flow-definition-flow-call-flow-referenceType "/>
<xsd:element name="outbound-parameter" type=" javaee:faces-config-flow-definition-flow-call-outbound-parameterType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID " use="required"/>
</xsd:complexType>
top

Complex Type: faces-config-flow-definition-flow-returnType

Super-types: None
Sub-types: None
Name faces-config-flow-definition-flow-returnType
Abstract no
Documentation

Define a return node in a flow graph.

This element must contain exactly one <from-outcome> element.

XML Instance Representation
<...
id=" xsd:ID [1] ?">
<javaee:from-outcome> javaee:string </javaee:from-outcome> [1] ?
</...>
Schema Component Representation
<xsd:complexType name="faces-config-flow-definition-flow-returnType">
<xsd:sequence>
<xsd:element name="from-outcome" type=" javaee:string "/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID " use="required"/>
</xsd:complexType>
top

Complex Type: faces-config-flow-definition-inbound-parameterType

Super-types: None
Sub-types: None
Name faces-config-flow-definition-inbound-parameterType
Abstract no
Documentation

A named parameter whose value will be populated with a correspondingly named parameter within an "outbound-parameter" element.

XML Instance Representation
<...>
<javaee:name> javaee:java-identifierType </javaee:name> [1] ?
<javaee:value> javaee:faces-config-flow-definition-parameter-valueType </javaee:value> [1] ?
</...>
Schema Component Representation
<xsd:complexType name="faces-config-flow-definition-inbound-parameterType">
<xsd:sequence>
<xsd:element name="name" type=" javaee:java-identifierType "/>
<xsd:element name="value" type=" javaee:faces-config-flow-definition-parameter-valueType "/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: faces-config-flow-definition-initializerType

Super-types: xsd:string < faces-config-el-expressionType (by restriction) < faces-config-flow-definition-initializerType (by extension)
Sub-types: None
Name faces-config-flow-definition-initializerType
Abstract no
Documentation

A MethodExpression that will be invoked when the flow is entered.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
javaee:faces-config-el-expressionType
</...>
Schema Component Representation
<xsd:complexType name="faces-config-flow-definition-initializerType">
<xsd:simpleContent>
<xsd:extension base=" javaee:faces-config-el-expressionType ">
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
top

Complex Type: faces-config-flow-definition-parameter-valueType

Super-types: xsd:string < faces-config-el-expressionType (by restriction) < faces-config-flow-definition-parameter-valueType (by extension)
Sub-types: None
Name faces-config-flow-definition-parameter-valueType
Abstract no
Documentation

XML Instance Representation
<...
id=" xsd:ID [0..1]">
javaee:faces-config-el-expressionType
</...>
Schema Component Representation
<xsd:complexType name="faces-config-flow-definition-parameter-valueType">
<xsd:simpleContent>
<xsd:extension base=" javaee:faces-config-el-expressionType ">
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
top

Complex Type: faces-config-flow-definition-switch-caseType

Super-types: None
Sub-types: None
Name faces-config-flow-definition-switch-caseType
Abstract no
Documentation

Defines a case that will be considered in the <switch>.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Model group reference (not shown): javaee:descriptionGroup [1]
<javaee:if> javaee:faces-config-ifType </javaee:if> [0..1] ?
<javaee:from-outcome> javaee:string </javaee:from-outcome> [0..1] ?
</...>
Schema Component Representation
<xsd:complexType name="faces-config-flow-definition-switch-caseType">
<xsd:sequence>
<xsd:group ref=" javaee:descriptionGroup "/>
<xsd:element name="if" type=" javaee:faces-config-ifType " minOccurs="0"/>
<xsd:element name="from-outcome" type=" javaee:string " minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-flow-definition-switchType

Super-types: None
Sub-types: None
Name faces-config-flow-definition-switchType
Abstract no
Documentation

Define a switch node in a flow graph.

This element must contain one or more <case> elements. When control passes to the <switch> node, each of the cases must be considered in order and control must past to the <from-outcome> of the first one whose <if> expression evaluates to true.

XML Instance Representation
<...
id=" xsd:ID [1] ?">
<javaee:case> javaee:faces-config-flow-definition-switch-caseType </javaee:case> [0..*] ?
<javaee:default-outcome> javaee:string </javaee:default-outcome> [0..1] ?
</...>
Schema Component Representation
<xsd:complexType name="faces-config-flow-definition-switchType">
<xsd:sequence>
<xsd:element name="case" type=" javaee:faces-config-flow-definition-switch-caseType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="default-outcome" type=" javaee:string " minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID " use="required"/>
</xsd:complexType>
top

Complex Type: faces-config-flow-definitionType

Super-types: None
Sub-types: None
Name faces-config-flow-definitionType
Abstract no
Documentation

Top level element for a flow definition.

If there is no <start-node> element declared, it is assumed to be <flowName>.xhtml.

XML Instance Representation
<...
id=" xsd:ID [1] ?">
Model group reference (not shown): javaee:descriptionGroup [1]
<javaee:start-node> javaee:java-identifierType </javaee:start-node> [0..1] ?
<javaee:view> javaee:faces-config-flow-definition-viewType </javaee:view> [0..*]
<javaee:switch> javaee:faces-config-flow-definition-switchType </javaee:switch> [0..*]
<javaee:flow-return> javaee:faces-config-flow-definition-flow-returnType </javaee:flow-return> [0..*]
<javaee:navigation-rule> javaee:faces-config-navigation-ruleType </javaee:navigation-rule> [0..*]
<javaee:flow-call> javaee:faces-config-flow-definition-flow-callType </javaee:flow-call> [0..*]
<javaee:method-call> javaee:faces-config-flow-definition-faces-method-callType </javaee:method-call> [0..*]
<javaee:initializer> javaee:faces-config-flow-definition-initializerType </javaee:initializer> [0..1]
<javaee:finalizer> javaee:faces-config-flow-definition-finalizerType </javaee:finalizer> [0..1]
<javaee:inbound-parameter> javaee:faces-config-flow-definition-inbound-parameterType </javaee:inbound-parameter> [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-flow-definitionType">
<xsd:sequence>
<xsd:group ref=" javaee:descriptionGroup "/>
<xsd:element name="start-node" type=" javaee:java-identifierType " minOccurs="0"/>
<xsd:element name="view" type=" javaee:faces-config-flow-definition-viewType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="switch" type=" javaee:faces-config-flow-definition-switchType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="flow-return" type=" javaee:faces-config-flow-definition-flow-returnType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="navigation-rule" type=" javaee:faces-config-navigation-ruleType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="flow-call" type=" javaee:faces-config-flow-definition-flow-callType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="method-call" type=" javaee:faces-config-flow-definition-faces-method-callType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="initializer" type=" javaee:faces-config-flow-definition-initializerType " minOccurs="0"/>
<xsd:element name="finalizer" type=" javaee:faces-config-flow-definition-finalizerType " minOccurs="0"/>
<xsd:element name="inbound-parameter" type=" javaee:faces-config-flow-definition-inbound-parameterType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID " use="required"/>
</xsd:complexType>
top

Complex Type: faces-config-flow-definition-viewType

Super-types: None
Sub-types: None
Name faces-config-flow-definition-viewType
Abstract no
Documentation

Define a view node in a flow graph.

This element must contain exactly one <vdl-document> element.

XML Instance Representation
<...
id=" xsd:ID [1] ?">
<javaee:vdl-document> javaee:pathType </javaee:vdl-document> [1] ?
</...>
Schema Component Representation
<xsd:complexType name="faces-config-flow-definition-viewType">
<xsd:sequence>
<xsd:element name="vdl-document" type=" javaee:pathType "/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID " use="required"/>
</xsd:complexType>
top

Complex Type: faces-config-from-actionType

Super-types: xsd:string < faces-config-el-expressionType (by restriction) < faces-config-from-actionType (by extension)
Sub-types: None
Name faces-config-from-actionType
Abstract no
Documentation

The "from-action" element contains an action reference expression that must have been executed (by the default ActionListener for handling application level events) in order to select the navigation rule. If not specified, this rule will be relevant no matter which action reference was executed (or if no action reference was executed).

XML Instance Representation
<...
id=" xsd:ID [0..1]">
javaee:faces-config-el-expressionType
</...>
Schema Component Representation
<xsd:complexType name="faces-config-from-actionType">
<xsd:simpleContent>
<xsd:extension base=" javaee:faces-config-el-expressionType ">
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
top

Complex Type: faces-config-from-view-idType

Super-types: javaee:string < faces-config-from-view-idType (by restriction)
Sub-types: None
Name faces-config-from-view-idType
Abstract no
Documentation

The value of from-view-id must contain one of the following values:

  • The exact match for a view identifier that is recognized by the the ViewHandler implementation being used (such as "/index.jsp" if you are using the default ViewHandler).

  • The exact match of a flow node id in the current flow, or a flow id of another flow.

  • A proper prefix of a view identifier, plus a trailing "*" character. This pattern indicates that all view identifiers that match the portion of the pattern up to the asterisk will match the surrounding rule. When more than one match exists, the match with the longest pattern is selected.

  • An "*" character, which means that this pattern applies to all view identifiers.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
javaee:string
</...>
Schema Component Representation
<xsd:complexType name="faces-config-from-view-idType">
<xsd:simpleContent>
<xsd:restriction base=" javaee:string ">
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:restriction>
</xsd:simpleContent>
</xsd:complexType>
top

Complex Type: faces-config-ifType

Super-types: xsd:string < faces-config-el-expressionType (by restriction) < faces-config-ifType (by extension)
Sub-types: None
Name faces-config-ifType
Abstract no
Documentation

The "if" element defines a condition that must resolve to true in order for the navigation case on which it is defined to be matched, with the existing match criteria (action method and outcome) as a prerequiste, if present. The condition is defined declaratively using a value expression in the body of this element. The expression is evaluated at the time the navigation case is being matched. If the "from-outcome" is omitted and this element is present, the navigation handler will match a null outcome and use the condition return value to determine if the case should be considered a match.

When used in a <switch> within a flow, if the expresion returns true, the <from-outcome> sibling element's outcome is used as the id of the node in the flow graph to which control must be passed.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
javaee:faces-config-el-expressionType
</...>
Schema Component Representation
<xsd:complexType name="faces-config-ifType">
<xsd:simpleContent>
<xsd:extension base=" javaee:faces-config-el-expressionType ">
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
top

Complex Type: faces-config-lifecycle-extensionType

Super-types: None
Sub-types: None
Name faces-config-lifecycle-extensionType
Abstract no
Documentation

Extension element for lifecycle. It may contain implementation specific content.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Allow any elements from any namespace (lax validation). [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-lifecycle-extensionType">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-lifecycleType

Super-types: None
Sub-types: None
Name faces-config-lifecycleType
Abstract no
Documentation

The "lifecycle" element provides a mechanism to specify modifications to the behaviour of the default Lifecycle implementation for this web application.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
<javaee:phase-listener> javaee:fully-qualified-classType </javaee:phase-listener> [0..*] ?
<javaee:lifecycle-extension> javaee:faces-config-lifecycle-extensionType </javaee:lifecycle-extension> [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-lifecycleType">
<xsd:sequence>
<xsd:element name="phase-listener" type=" javaee:fully-qualified-classType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="lifecycle-extension" type=" javaee:faces-config-lifecycle-extensionType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-list-entriesType

Super-types: None
Sub-types: None
Name faces-config-list-entriesType
Abstract no
Documentation

The "list-entries" element represents a set of initialization elements for a managed property that is a java.util.List or an array. In the former case, the "value-class" element can optionally be used to declare the Java type to which each value should be converted before adding it to the Collection.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
<javaee:value-class> javaee:faces-config-value-classType </javaee:value-class> [0..1]
Start Choice [0..*]
<javaee:null-value> javaee:faces-config-null-valueType </javaee:null-value> [1]
<javaee:value> javaee:faces-config-valueType </javaee:value> [1]
End Choice
</...>
Schema Component Representation
<xsd:complexType name="faces-config-list-entriesType">
<xsd:sequence>
<xsd:element name="value-class" type=" javaee:faces-config-value-classType " minOccurs="0"/>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="null-value" type=" javaee:faces-config-null-valueType "/>
<xsd:element name="value" type=" javaee:faces-config-valueType "/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-locale-configType

Super-types: None
Sub-types: None
Name faces-config-locale-configType
Abstract no
Documentation

The "locale-config" element allows the app developer to declare the supported locales for this application.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
<javaee:default-locale> javaee:faces-config-default-localeType </javaee:default-locale> [0..1]
<javaee:supported-locale> javaee:faces-config-supported-localeType </javaee:supported-locale> [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-locale-configType">
<xsd:sequence>
<xsd:element name="default-locale" type=" javaee:faces-config-default-localeType " minOccurs="0"/>
<xsd:element name="supported-locale" type=" javaee:faces-config-supported-localeType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-managed-bean-extensionType

Super-types: None
Sub-types: None
Name faces-config-managed-bean-extensionType
Abstract no
Documentation

Extension element for managed-bean. It may contain implementation specific content.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Allow any elements from any namespace (lax validation). [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-managed-bean-extensionType">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-managed-bean-scopeOrNoneType

Super-types: javaee:string < faces-config-managed-bean-scopeOrNoneType (by restriction)
Sub-types: None
Name faces-config-managed-bean-scopeOrNoneType
Abstract no
Documentation [

Defines the legal values for the element's body content, which includes all of the scopes normally used in a web application, plus the "none" value indicating that a created bean should not be stored into any scope. Alternatively, an EL expression may be used as the value of this element. The result of evaluating this expression must by of type java.util.Map.

XML Instance Representation
<...>
javaee:string (pattern = view|request|session|application|none|#\{.*\})
</...>
Schema Component Representation
<xsd:complexType name="faces-config-managed-bean-scopeOrNoneType">
<xsd:simpleContent>
<xsd:restriction base=" javaee:string ">
<xsd:pattern value="view|request|session|application|none|#\{.*\}"/>
</xsd:restriction>
</xsd:simpleContent>
</xsd:complexType>
top

Complex Type: faces-config-managed-beanType

Super-types: None
Sub-types: None
Name faces-config-managed-beanType
Abstract no
Documentation

The "managed-bean" element represents a JavaBean, of a particular class, that will be dynamically instantiated at runtime (by the default VariableResolver implementation) if it is referenced as the first element of a value binding expression, and no corresponding bean can be identified in any scope. In addition to the creation of the managed bean, and the optional storing of it into the specified scope, the nested managed-property elements can be used to initialize the contents of settable JavaBeans properties of the created instance.

XML Instance Representation
<...
eager=" xsd:boolean [0..1] ?"
id=" xsd:ID [0..1]">
Model group reference (not shown): javaee:descriptionGroup [1]
<javaee:managed-bean-name> javaee:java-identifierType </javaee:managed-bean-name> [1] ?
<javaee:managed-bean-class> javaee:fully-qualified-classType </javaee:managed-bean-class> [1] ?
<javaee:managed-bean-scope> javaee:faces-config-managed-bean-scopeOrNoneType </javaee:managed-bean-scope> [1] ?
Start Choice [1]
<javaee:managed-property> javaee:faces-config-managed-propertyType </javaee:managed-property> [0..*]
<javaee:map-entries> javaee:faces-config-map-entriesType </javaee:map-entries> [1]
<javaee:list-entries> javaee:faces-config-list-entriesType </javaee:list-entries> [1]
End Choice
<javaee:managed-bean-extension> javaee:faces-config-managed-bean-extensionType </javaee:managed-bean-extension> [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-managed-beanType">
<xsd:sequence>
<xsd:group ref=" javaee:descriptionGroup "/>
<xsd:element name="managed-bean-name" type=" javaee:java-identifierType "/>
<xsd:element name="managed-bean-class" type=" javaee:fully-qualified-classType "/>
<xsd:element name="managed-bean-scope" type=" javaee:faces-config-managed-bean-scopeOrNoneType "/>
<xsd:choice>
<xsd:element name="managed-property" type=" javaee:faces-config-managed-propertyType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="map-entries" type=" javaee:faces-config-map-entriesType "/>
<xsd:element name="list-entries" type=" javaee:faces-config-list-entriesType "/>
</xsd:choice>
<xsd:element name="managed-bean-extension" type=" javaee:faces-config-managed-bean-extensionType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="eager" type=" xsd:boolean " use="optional"/>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-managed-propertyType

Super-types: None
Sub-types: None
Name faces-config-managed-propertyType
Abstract no
Documentation

The "managed-property" element represents an individual property of a managed bean that will be configured to the specified value (or value set) if the corresponding managed bean is automatically created.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Model group reference (not shown): javaee:descriptionGroup [1]
<javaee:property-name> javaee:string </javaee:property-name> [1] ?
<javaee:property-class> javaee:java-typeType </javaee:property-class> [0..1] ?
Start Choice [1]
<javaee:map-entries> javaee:faces-config-map-entriesType </javaee:map-entries> [1]
<javaee:null-value> javaee:faces-config-null-valueType </javaee:null-value> [1]
<javaee:value> javaee:faces-config-valueType </javaee:value> [1]
<javaee:list-entries> javaee:faces-config-list-entriesType </javaee:list-entries> [1]
End Choice
</...>
Schema Component Representation
<xsd:complexType name="faces-config-managed-propertyType">
<xsd:sequence>
<xsd:group ref=" javaee:descriptionGroup "/>
<xsd:element name="property-name" type=" javaee:string "/>
<xsd:element name="property-class" type=" javaee:java-typeType " minOccurs="0"/>
<xsd:choice>
<xsd:element name="map-entries" type=" javaee:faces-config-map-entriesType "/>
<xsd:element name="null-value" type=" javaee:faces-config-null-valueType "/>
<xsd:element name="value" type=" javaee:faces-config-valueType "/>
<xsd:element name="list-entries" type=" javaee:faces-config-list-entriesType "/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-map-entriesType

Super-types: None
Sub-types: None
Name faces-config-map-entriesType
Abstract no
Documentation

The "map-entries' element represents a set of key-entry pairs that will be added to the computed value of a managed property of type java.util.Map. In addition, the Java class types of the key and entry values may be optionally declared.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
<javaee:key-class> javaee:fully-qualified-classType </javaee:key-class> [0..1] ?
<javaee:value-class> javaee:faces-config-value-classType </javaee:value-class> [0..1]
<javaee:map-entry> javaee:faces-config-map-entryType </javaee:map-entry> [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-map-entriesType">
<xsd:sequence>
<xsd:element name="key-class" type=" javaee:fully-qualified-classType " minOccurs="0"/>
<xsd:element name="value-class" type=" javaee:faces-config-value-classType " minOccurs="0"/>
<xsd:element name="map-entry" type=" javaee:faces-config-map-entryType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-map-entryType

Super-types: None
Sub-types: None
Name faces-config-map-entryType
Abstract no
Documentation

The "map-entry" element reprsents a single key-entry pair that will be added to the computed value of a managed property of type java.util.Map.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
<javaee:key> javaee:string </javaee:key> [1] ?
Start Choice [1]
<javaee:null-value> javaee:faces-config-null-valueType </javaee:null-value> [1]
<javaee:value> javaee:faces-config-valueType </javaee:value> [1]
End Choice
</...>
Schema Component Representation
<xsd:complexType name="faces-config-map-entryType">
<xsd:sequence>
<xsd:element name="key" type=" javaee:string "/>
<xsd:choice>
<xsd:element name="null-value" type=" javaee:faces-config-null-valueType "/>
<xsd:element name="value" type=" javaee:faces-config-valueType "/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-navigation-caseType

Super-types: None
Sub-types: None
Name faces-config-navigation-caseType
Abstract no
Documentation

The "navigation-case" element describes a particular combination of conditions that must match for this case to be executed, and the view id of the component tree that should be selected next.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Model group reference (not shown): javaee:descriptionGroup [1]
<javaee:from-action> javaee:faces-config-from-actionType </javaee:from-action> [0..1]
<javaee:from-outcome> javaee:string </javaee:from-outcome> [0..1] ?
<javaee:if> javaee:faces-config-ifType </javaee:if> [0..1] ?
<javaee:to-view-id> javaee:faces-config-valueType </javaee:to-view-id> [1] ?
<javaee:to-flow-document-id> javaee:java-identifierType </javaee:to-flow-document-id> [0..1] ?
<javaee:redirect> javaee:faces-config-redirectType </javaee:redirect> [0..1]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-navigation-caseType">
<xsd:sequence>
<xsd:group ref=" javaee:descriptionGroup "/>
<xsd:element name="from-action" type=" javaee:faces-config-from-actionType " minOccurs="0"/>
<xsd:element name="from-outcome" type=" javaee:string " minOccurs="0"/>
<xsd:element name="if" type=" javaee:faces-config-ifType " minOccurs="0"/>
<xsd:element name="to-view-id" type=" javaee:faces-config-valueType "/>
<xsd:element name="to-flow-document-id" type=" javaee:java-identifierType " minOccurs="0"/>
<xsd:element name="redirect" type=" javaee:faces-config-redirectType " minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-navigation-rule-extensionType

Super-types: None
Sub-types: None
Name faces-config-navigation-rule-extensionType
Abstract no
Documentation

Extension element for navigation-rule. It may contain implementation specific content.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Allow any elements from any namespace (lax validation). [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-navigation-rule-extensionType">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-navigation-ruleType

Super-types: None
Sub-types: None
Name faces-config-navigation-ruleType
Abstract no
Documentation

The "navigation-rule" element represents an individual decision rule that will be utilized by the default NavigationHandler implementation to make decisions on what view should be displayed next, based on the view id being processed.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Model group reference (not shown): javaee:descriptionGroup [1]
<javaee:from-view-id> javaee:faces-config-from-view-idType </javaee:from-view-id> [1]
<javaee:navigation-case> javaee:faces-config-navigation-caseType </javaee:navigation-case> [0..*]
<javaee:navigation-rule-extension> javaee:faces-config-navigation-rule-extensionType </javaee:navigation-rule-extension> [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-navigation-ruleType">
<xsd:sequence>
<xsd:group ref=" javaee:descriptionGroup "/>
<xsd:element name="from-view-id" type=" javaee:faces-config-from-view-idType "/>
<xsd:element name="navigation-case" type=" javaee:faces-config-navigation-caseType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="navigation-rule-extension" type=" javaee:faces-config-navigation-rule-extensionType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-null-valueType

Super-types: None
Sub-types: None
Name faces-config-null-valueType
Abstract no
Documentation

The "null-value" element indicates that the managed property in which we are nested will be explicitly set to null if our managed bean is automatically created. This is different from omitting the managed property element entirely, which will cause no property setter to be called for this property.

The "null-value" element can only be used when the associated "property-class" identifies a Java class, not a Java primitive.

XML Instance Representation
<...
id=" xsd:ID [0..1]"/>
Schema Component Representation
<xsd:complexType name="faces-config-null-valueType">
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-ordering-orderingType

Super-types: None
Sub-types: None
Name faces-config-ordering-orderingType
Abstract no
Documentation

This element contains a sequence of "id" elements, each of which refers to an application configuration resource by the "id" declared on its faces-config element. This element can also contain a single "others" element which specifies that this document comes before or after other documents within the application.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
<javaee:name> javaee:java-identifierType </javaee:name> [0..*]
<javaee:others> javaee:faces-config-ordering-othersType </javaee:others> [0..1]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-ordering-orderingType">
<xsd:sequence>
<xsd:element name="name" type=" javaee:java-identifierType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="others" type=" javaee:faces-config-ordering-othersType " minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-ordering-othersType

Super-types: None
Sub-types: None
Name faces-config-ordering-othersType
Abstract no
Documentation

This element indicates that the ordering sub-element in which it was placed should take special action regarding the ordering of this application resource relative to other application configuration resources. See section JSF.11.4.6 for the complete specification.

XML Instance Representation
<...
id=" xsd:ID [0..1]"/>
Schema Component Representation
<xsd:complexType name="faces-config-ordering-othersType">
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-orderingType

Super-types: None
Sub-types: None
Name faces-config-orderingType
Abstract no
Documentation

Please see section JSF.11.4.6 for the specification of this element.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
<javaee:after> javaee:faces-config-ordering-orderingType </javaee:after> [0..1]
<javaee:before> javaee:faces-config-ordering-orderingType </javaee:before> [0..1]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-orderingType">
<xsd:sequence>
<xsd:element name="after" type=" javaee:faces-config-ordering-orderingType " minOccurs="0"/>
<xsd:element name="before" type=" javaee:faces-config-ordering-orderingType " minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-property-extensionType

Super-types: None
Sub-types: None
Name faces-config-property-extensionType
Abstract no
Documentation

Extension element for property. It may contain implementation specific content.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Allow any elements from any namespace (lax validation). [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-property-extensionType">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-propertyType

Super-types: None
Sub-types: None
Name faces-config-propertyType
Abstract no
Documentation

The "property" element represents a JavaBean property of the Java class represented by our parent element.

Property names must be unique within the scope of the Java class that is represented by the parent element, and must correspond to property names that will be recognized when performing introspection against that class via java.beans.Introspector.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Model group reference (not shown): javaee:descriptionGroup [1]
<javaee:property-name> javaee:string </javaee:property-name> [1] ?
<javaee:property-class> javaee:java-typeType </javaee:property-class> [1] ?
<javaee:default-value> javaee:faces-config-default-valueType </javaee:default-value> [0..1]
<javaee:suggested-value> javaee:faces-config-suggested-valueType </javaee:suggested-value> [0..1]
<javaee:property-extension> javaee:faces-config-property-extensionType </javaee:property-extension> [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-propertyType">
<xsd:sequence>
<xsd:group ref=" javaee:descriptionGroup "/>
<xsd:element name="property-name" type=" javaee:string "/>
<xsd:element name="property-class" type=" javaee:java-typeType "/>
<xsd:element name="default-value" type=" javaee:faces-config-default-valueType " minOccurs="0"/>
<xsd:element name="suggested-value" type=" javaee:faces-config-suggested-valueType " minOccurs="0"/>
<xsd:element name="property-extension" type=" javaee:faces-config-property-extensionType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-protected-viewsType

Super-types: None
Sub-types: None
Name faces-config-protected-viewsType
Abstract no
Documentation

Any view that matches any of the url-patterns in this element may only be reached from another JSF view in the same web application. Because the runtime is aware of which views are protected, any navigation from an unprotected view to a protected view is automatically subject to protection.

XML Instance Representation
<...>
<javaee:url-pattern> javaee:url-patternType </javaee:url-pattern> [1..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-protected-viewsType">
<xsd:sequence>
<xsd:element name="url-pattern" type=" javaee:url-patternType " maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: faces-config-redirect-redirectParamType

Super-types: None
Sub-types: None
Name faces-config-redirect-redirectParamType
Abstract no
Documentation

The "redirect-param" element, only valid within a "redirect" element, contains child "name" and "value" elements that must be included in the redirect url when the redirect is performed.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
<javaee:name> javaee:string </javaee:name> [1]
<javaee:value> javaee:string </javaee:value> [1]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-redirect-redirectParamType">
<xsd:sequence>
<xsd:element name="name" type=" javaee:string "/>
<xsd:element name="value" type=" javaee:string "/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-redirectType

Super-types: None
Sub-types: None
Name faces-config-redirectType
Abstract no
Documentation

The "redirect" element indicates that navigation to the specified "to-view-id" should be accomplished by performing an HTTP redirect rather than the usual ViewHandler mechanisms.

XML Instance Representation
<...
id=" xsd:ID [0..1]"
include-view-params=" xsd:boolean [0..1]">
<javaee:redirect-param> javaee:faces-config-redirect-redirectParamType </javaee:redirect-param> [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-redirectType">
<xsd:sequence>
<xsd:element name="redirect-param" type=" javaee:faces-config-redirect-redirectParamType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
<xsd:attribute name="include-view-params" type=" xsd:boolean " use="optional"/>
</xsd:complexType>
top

Complex Type: faces-config-redirect-viewParamType

Super-types: None
Sub-types: None
Name faces-config-redirect-viewParamType
Abstract no
Documentation

This element was introduced due to a specification error, and is now deprecated. The correct name for this element is "redirect-param" and its meaning is documented therein. The "view-param" element is maintained to preserve backwards compatibility. Implementations must treat this element the same as "redirect-param".

XML Instance Representation
<...
id=" xsd:ID [0..1]">
<javaee:name> javaee:string </javaee:name> [1]
<javaee:value> javaee:string </javaee:value> [1]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-redirect-viewParamType">
<xsd:sequence>
<xsd:element name="name" type=" javaee:string "/>
<xsd:element name="value" type=" javaee:string "/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-referenced-beanType

Super-types: None
Sub-types: None
Name faces-config-referenced-beanType
Abstract no
Documentation

The "referenced-bean" element represents at design time the promise that a Java object of the specified type will exist at runtime in some scope, under the specified key. This can be used by design time tools to construct user interface dialogs based on the properties of the specified class. The presence or absence of a referenced bean element has no impact on the JavaServer Faces runtime environment inside a web application.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Model group reference (not shown): javaee:descriptionGroup [1]
<javaee:referenced-bean-name> javaee:java-identifierType </javaee:referenced-bean-name> [1] ?
<javaee:referenced-bean-class> javaee:fully-qualified-classType </javaee:referenced-bean-class> [1] ?
</...>
Schema Component Representation
<xsd:complexType name="faces-config-referenced-beanType">
<xsd:sequence>
<xsd:group ref=" javaee:descriptionGroup "/>
<xsd:element name="referenced-bean-name" type=" javaee:java-identifierType "/>
<xsd:element name="referenced-bean-class" type=" javaee:fully-qualified-classType "/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-renderer-extensionType

Super-types: None
Sub-types: None
Name faces-config-renderer-extensionType
Abstract no
Documentation

Extension element for renderer. It may contain implementation specific content.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Allow any elements from any namespace (lax validation). [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-renderer-extensionType">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-rendererType

Super-types: None
Sub-types: None
Name faces-config-rendererType
Abstract no
Documentation

The "renderer" element represents a concrete Renderer implementation class that should be registered under the specified component family and renderer type identifiers, in the RenderKit associated with the parent "render-kit" element. Combinations of component family and renderer type must be unique within the RenderKit associated with the parent "render-kit" element.

Nested "attribute" elements identify generic component attributes that are recognized by this renderer.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Model group reference (not shown): javaee:descriptionGroup [1]
<javaee:component-family> javaee:string </javaee:component-family> [1] ?
<javaee:renderer-type> javaee:string </javaee:renderer-type> [1] ?
<javaee:renderer-class> javaee:fully-qualified-classType </javaee:renderer-class> [1] ?
<javaee:facet> javaee:faces-config-facetType </javaee:facet> [0..*]
<javaee:attribute> javaee:faces-config-attributeType </javaee:attribute> [0..*]
<javaee:renderer-extension> javaee:faces-config-renderer-extensionType </javaee:renderer-extension> [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-rendererType">
<xsd:sequence>
<xsd:group ref=" javaee:descriptionGroup "/>
<xsd:element name="component-family" type=" javaee:string "/>
<xsd:element name="renderer-type" type=" javaee:string "/>
<xsd:element name="renderer-class" type=" javaee:fully-qualified-classType "/>
<xsd:element name="facet" type=" javaee:faces-config-facetType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="attribute" type=" javaee:faces-config-attributeType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="renderer-extension" type=" javaee:faces-config-renderer-extensionType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-render-kit-extensionType

Super-types: None
Sub-types: None
Name faces-config-render-kit-extensionType
Abstract no
Documentation

Extension element for render-kit. It may contain implementation specific content.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Allow any elements from any namespace (lax validation). [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-render-kit-extensionType">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-render-kitType

Super-types: None
Sub-types: None
Name faces-config-render-kitType
Abstract no
Documentation

The "render-kit" element represents a concrete RenderKit implementation that should be registered under the specified render-kit-id. If no render-kit-id is specified, the identifier of the default RenderKit (RenderKitFactory.DEFAULT_RENDER_KIT) is assumed.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Model group reference (not shown): javaee:descriptionGroup [1]
<javaee:render-kit-id> javaee:string </javaee:render-kit-id> [0..1] ?
<javaee:render-kit-class> javaee:fully-qualified-classType </javaee:render-kit-class> [0..1] ?
<javaee:renderer> javaee:faces-config-rendererType </javaee:renderer> [0..*]
<javaee:client-behavior-renderer> javaee:faces-config-client-behavior-rendererType </javaee:client-behavior-renderer> [0..*]
<javaee:render-kit-extension> javaee:faces-config-render-kit-extensionType </javaee:render-kit-extension> [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-render-kitType">
<xsd:sequence>
<xsd:group ref=" javaee:descriptionGroup "/>
<xsd:element name="render-kit-id" type=" javaee:string " minOccurs="0"/>
<xsd:element name="render-kit-class" type=" javaee:fully-qualified-classType " minOccurs="0"/>
<xsd:element name="renderer" type=" javaee:faces-config-rendererType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="client-behavior-renderer" type=" javaee:faces-config-client-behavior-rendererType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="render-kit-extension" type=" javaee:faces-config-render-kit-extensionType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-suggested-valueType

Super-types: javaee:string < faces-config-suggested-valueType (by restriction)
Sub-types: None
Name faces-config-suggested-valueType
Abstract no
Documentation

The "suggested-value" contains the value for the property or attribute in which this element resides. This value is advisory only and is intended for tools to use when populating pallettes.

XML Instance Representation
<...>
javaee:string
</...>
Schema Component Representation
<xsd:complexType name="faces-config-suggested-valueType">
<xsd:simpleContent>
<xsd:restriction base=" javaee:string "/>
</xsd:simpleContent>
</xsd:complexType>
top

Complex Type: faces-config-supported-localeType

Super-types: xsd:string < faces-config-localeType (by restriction) < faces-config-supported-localeType (by extension)
Sub-types: None
Name faces-config-supported-localeType
Abstract no
Documentation

The "supported-locale" element allows authors to declare which locales are supported in this application instance.

To facilitate BCP 47 this element first needs to be parsed by the Locale.forLanguageTag method. If it does not return a Locale with a language the old specification below needs to take effect.

It must be specified as :language:[_:country:[_:variant:]] without the colons, for example "ja_JP_SJIS". The separators between the segments may be '-' or '_'.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
javaee:faces-config-localeType
</...>
Schema Component Representation
<xsd:complexType name="faces-config-supported-localeType">
<xsd:simpleContent>
<xsd:extension base=" javaee:faces-config-localeType ">
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
top

Complex Type: faces-config-system-event-listenerType

Super-types: None
Sub-types: None
Name faces-config-system-event-listenerType
Abstract no
Documentation

The presence of this element within the "application" element in an application configuration resource file indicates the developer wants to add an SystemEventListener to this application instance. Elements nested within this element allow selecting the kinds of events that will be delivered to the listener instance, and allow selecting the kinds of classes that can be the source of events that are delivered to the listener instance.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
<javaee:system-event-listener-class> javaee:fully-qualified-classType </javaee:system-event-listener-class> [1] ?
<javaee:system-event-class> javaee:fully-qualified-classType </javaee:system-event-class> [1] ?
<javaee:source-class> javaee:fully-qualified-classType </javaee:source-class> [0..1] ?
</...>
Schema Component Representation
<xsd:complexType name="faces-config-system-event-listenerType">
<xsd:sequence>
<xsd:element name="system-event-listener-class" type=" javaee:fully-qualified-classType "/>
<xsd:element name="system-event-class" type=" javaee:fully-qualified-classType "/>
<xsd:element name="source-class" type=" javaee:fully-qualified-classType " minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-configType

Super-types: None
Sub-types: None
Name faces-configType
Abstract no
Documentation

The "faces-config" element is the root of the configuration information hierarchy, and contains nested elements for all of the other configuration settings.

XML Instance Representation
<...
metadata-complete=" xsd:boolean [0..1] ?"
id=" xsd:ID [0..1]"
version=" javaee:faces-config-versionType [1]">
Start Choice [0..*]
<javaee:application> javaee:faces-config-applicationType </javaee:application> [1]
<javaee:ordering> javaee:faces-config-orderingType </javaee:ordering> [1]
<javaee:absolute-ordering> javaee:faces-config-absoluteOrderingType </javaee:absolute-ordering> [0..1]
<javaee:factory> javaee:faces-config-factoryType </javaee:factory> [1]
<javaee:component> javaee:faces-config-componentType </javaee:component> [1]
<javaee:converter> javaee:faces-config-converterType </javaee:converter> [1]
<javaee:managed-bean> javaee:faces-config-managed-beanType </javaee:managed-bean> [1]
<javaee:flow-definition> javaee:faces-config-flow-definitionType </javaee:flow-definition> [1]
<javaee:name> javaee:java-identifierType </javaee:name> [0..1] ?
<javaee:navigation-rule> javaee:faces-config-navigation-ruleType </javaee:navigation-rule> [1]
<javaee:protected-views> javaee:faces-config-protected-viewsType </javaee:protected-views> [0..*]
<javaee:referenced-bean> javaee:faces-config-referenced-beanType </javaee:referenced-bean> [1]
<javaee:render-kit> javaee:faces-config-render-kitType </javaee:render-kit> [1]
<javaee:lifecycle> javaee:faces-config-lifecycleType </javaee:lifecycle> [1]
<javaee:validator> javaee:faces-config-validatorType </javaee:validator> [1]
<javaee:behavior> javaee:faces-config-behaviorType </javaee:behavior> [1]
<javaee:faces-config-extension> javaee:faces-config-extensionType </javaee:faces-config-extension> [0..*]
End Choice
</...>
Schema Component Representation
<xsd:complexType name="faces-configType">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="application" type=" javaee:faces-config-applicationType "/>
<xsd:element name="ordering" type=" javaee:faces-config-orderingType "/>
<xsd:element name="absolute-ordering" type=" javaee:faces-config-absoluteOrderingType " minOccurs="0"/>
<xsd:element name="factory" type=" javaee:faces-config-factoryType "/>
<xsd:element name="component" type=" javaee:faces-config-componentType "/>
<xsd:element name="converter" type=" javaee:faces-config-converterType "/>
<xsd:element name="managed-bean" type=" javaee:faces-config-managed-beanType "/>
<xsd:element name="flow-definition" type=" javaee:faces-config-flow-definitionType "/>
<xsd:element name="name" type=" javaee:java-identifierType " minOccurs="0"/>
<xsd:element name="navigation-rule" type=" javaee:faces-config-navigation-ruleType "/>
<xsd:element name="protected-views" type=" javaee:faces-config-protected-viewsType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="referenced-bean" type=" javaee:faces-config-referenced-beanType "/>
<xsd:element name="render-kit" type=" javaee:faces-config-render-kitType "/>
<xsd:element name="lifecycle" type=" javaee:faces-config-lifecycleType "/>
<xsd:element name="validator" type=" javaee:faces-config-validatorType "/>
<xsd:element name="behavior" type=" javaee:faces-config-behaviorType "/>
<xsd:element name="faces-config-extension" type=" javaee:faces-config-extensionType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:choice>
<xsd:attribute name="metadata-complete" type=" xsd:boolean " use="optional"/>
<xsd:attribute name="id" type=" xsd:ID "/>
<xsd:attribute name="version" type=" javaee:faces-config-versionType " use="required"/>
</xsd:complexType>
top

Complex Type: faces-config-validator-extensionType

Super-types: None
Sub-types: None
Name faces-config-validator-extensionType
Abstract no
Documentation

Extension element for validator. It may contain implementation specific content.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Allow any elements from any namespace (lax validation). [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-validator-extensionType">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-validatorType

Super-types: None
Sub-types: None
Name faces-config-validatorType
Abstract no
Documentation

The "validator" element represents a concrete Validator implementation class that should be registered under the specified validator identifier. Validator identifiers must be unique within the entire web application.

Nested "attribute" elements identify generic attributes that may be configured on the corresponding UIComponent in order to affect the operation of the Validator. Nested "property" elements identify JavaBeans properties of the Validator implementation class that may be configured to affect the operation of the Validator. "attribute" and "property" elements are intended to allow component developers to more completely describe their components to tools and users. These elements have no required runtime semantics.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Model group reference (not shown): javaee:descriptionGroup [1]
<javaee:validator-id> javaee:string </javaee:validator-id> [1] ?
<javaee:validator-class> javaee:fully-qualified-classType </javaee:validator-class> [1] ?
<javaee:attribute> javaee:faces-config-attributeType </javaee:attribute> [0..*] ?
<javaee:property> javaee:faces-config-propertyType </javaee:property> [0..*] ?
<javaee:validator-extension> javaee:faces-config-validator-extensionType </javaee:validator-extension> [0..*]
</...>
Schema Component Representation
<xsd:complexType name="faces-config-validatorType">
<xsd:sequence>
<xsd:group ref=" javaee:descriptionGroup "/>
<xsd:element name="validator-id" type=" javaee:string "/>
<xsd:element name="validator-class" type=" javaee:fully-qualified-classType "/>
<xsd:element name="attribute" type=" javaee:faces-config-attributeType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="property" type=" javaee:faces-config-propertyType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="validator-extension" type=" javaee:faces-config-validator-extensionType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>
top

Complex Type: faces-config-value-classType

Super-types: javaee:fully-qualified-classType < faces-config-value-classType (by restriction)
Sub-types: None
Name faces-config-value-classType
Abstract no
Documentation

The "value-class" element defines the Java type to which each "value" element's value will be converted to, prior to adding it to the "list-entries" list for a managed property that is a java.util.List, or a "map-entries" map for a managed property that is a java.util.Map.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
javaee:fully-qualified-classType
</...>
Schema Component Representation
<xsd:complexType name="faces-config-value-classType">
<xsd:simpleContent>
<xsd:restriction base=" javaee:fully-qualified-classType ">
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:restriction>
</xsd:simpleContent>
</xsd:complexType>
top

Simple Type: faces-config-el-expressionType

Super-types: xsd:string < faces-config-el-expressionType (by restriction)
Sub-types:
Name faces-config-el-expressionType
Content
  • Base XSD Type: string
  • pattern = #\{.*\}
Documentation

EL expressions present within a faces config file must start with the character sequence of '#{' and end with '}'.

Schema Component Representation
<xsd:simpleType name="faces-config-el-expressionType">
<xsd:restriction base=" xsd:string ">
<xsd:pattern value="#\{.*\}"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: faces-config-localeType

Super-types: xsd:string < faces-config-localeType (by restriction)
Sub-types:
Name faces-config-localeType
Content
  • Base XSD Type: string
  • pattern = ([a-z]{2})[_|\-]?([\p{L}]{2})?[_|\-]?(\w+)?
Documentation

The localeType defines valid locale defined by ISO-639-1 and ISO-3166.

Schema Component Representation
<xsd:simpleType name="faces-config-localeType">
<xsd:restriction base=" xsd:string ">
<xsd:pattern value="([a-z]{2})[_|\-]?([\p{L}]{2})?[_|\-]?(\w+)?"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: faces-config-valueType

Super-types: None
Sub-types: None
Name faces-config-valueType
Content
Documentation

The "value" element is the String representation of a literal value to which a scalar managed property will be set, or a value binding expression ("#{...}") that will be used to calculate the required value. It will be converted as specified for the actual property type.

Schema Component Representation
<xsd:simpleType name="faces-config-valueType">
<xsd:union memberTypes=" javaee:faces-config-el-expressionType xsd:string"/>
</xsd:simpleType>
top

Simple Type: faces-config-versionType

Super-types: xsd:token < faces-config-versionType (by restriction)
Sub-types: None
Name faces-config-versionType
Content
  • Base XSD Type: token
  • value comes from list: {'2.3'}
Documentation

This type contains the recognized versions of faces-config supported.

Schema Component Representation
<xsd:simpleType name="faces-config-versionType">
<xsd:restriction base=" xsd:token ">
<xsd:enumeration value="2.3"/>
</xsd:restriction>
</xsd:simpleType>
top

Legend

Complex Type:

Schema Component Type

AusAddress

Schema Component Name
Super-types: Address < AusAddress (by extension)
Sub-types:
  • QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
Name AusAddress
Abstract no
The table above displays the properties of this schema component.
XML Instance Representation
<... country="Australia" >
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice [1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1] ?
</...>

The XML Instance Representation table above shows the schema component's content as an XML instance.

Schema Component Representation
<complexType name="AusAddress">
<complexContent>
<extension base=" Address ">
<sequence>
<element name="state" type=" AusStates "/>
<element name="postcode">
<simpleType>
<restriction base=" string ">
<pattern value="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attribute name="country" type=" string " fixed="Australia"/>
</extension>
</complexContent>
</complexType>
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
top

Glossary

Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.

All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all.

Choice Model Group Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice.

Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.

Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods, e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type attribute.

Key Constraint Like Uniqueness Constraint, but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups.

Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil attribute. The xsi:nil attribute is the boolean attribute, nil, from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil attribute set to true, it can be left empty, even though its element declaration may have required content.

Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations.

Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.

Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.

Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.

Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).

Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence.

Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.

Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.

Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.

Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

top