?? web-facesconfig_1_1.dtd
字號:
<!-- Copyright 2004 Sun Microsystems, Inc. All rights reserved. SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.--><!-- DTD for the JavaServer Faces Application Configuration File (Version 1.1) To support validation of your configuration file(s), include the following DOCTYPE element at the beginning (after the "xml" declaration): <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd"> $Id: web-facesconfig_1_1.dtd,v 1.3 2004/04/27 14:01:47 eburns Exp $--><!-- ==================== Defined Types =================================== --><!-- An "Action" is a String that represents a method binding expression that points at a method with no arguments that returns a String. It must be bracketed with "#{}", for example, "#{cardemo.buyCar}".--><!ENTITY % Action "CDATA"><!-- A "ClassName" is the fully qualified name of a Java class that is instantiated to provide the functionality of the enclosing element.--><!ENTITY % ClassName "CDATA"><!-- An "Identifier" is a string of characters that conforms to the variable naming conventions of the Java programming language (JLS Section ?.?.?).--><!ENTITY % Identifier "CDATA"><!-- A "JavaType" is either the fully qualified name of a Java class that is instantiated to provide the functionality of the enclosing element, or the name of a Java primitive type (such as int or char). The class name or primitive type may optionally be followed by "[]" to indicate that the underlying data must be an array, rather than a scalar variable.--><!ENTITY % JavaType "CDATA"><!-- A "Language" is a lower case two-letter code for a language as defined by ISL-639.--><!ENTITY % Language "CDATA"><!-- A "ResourcePath" is the relative or absolute path to a resource file (such as a logo image).--><!ENTITY % ResourcePath "CDATA"><!-- A "Scope" is the well-known name of a scope in which managed beans may optionally be defined to be created in.--><!ENTITY % Scope "(request|session|application)"><!-- A "ScopeOrNone" element defines the legal values for the <managed-bean-scope> element's body content, which includes all of the scopes respresented by the "Scope" type, plus the "none" value indicating that a created bean should not be stored into any scope.--><!ENTITY % ScopeOrNone "(request|session|application|none)"><!-- A "ViewIdPattern" is a pattern for matching view identifiers in order to determine whether a particular navigation rule should be fired. It 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). - 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.--><!ENTITY % ViewIdPattern "CDATA"><!-- ==================== Top Level Elements ============================== --><!-- The "faces-config" element is the root of the configuration information hierarchy, and contains nested elements for all of the other configuration settings.--><!ELEMENT faces-config ((application|factory|component|converter|managed-bean|navigation-rule|referenced-bean|render-kit|lifecycle|validator)*)><!ATTLIST faces-config xmlns CDATA #FIXED "http://java.sun.com/JSF/Configuration"><!-- ==================== Definition Elements ============================= --><!-- 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.--><!ELEMENT application ((action-listener|default-render-kit-id|message-bundle|navigation-handler|view-handler|state-manager|property-resolver|variable-resolver|locale-config)*)><!-- 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.--><!ELEMENT factory ((application-factory|faces-context-factory|lifecycle-factory|render-kit-factory)*)><!-- 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.--><!ELEMENT attribute (description*, display-name*, icon*, attribute-name, attribute-class, default-value?, suggested-value?, attribute-extension*)><!-- Extension element for attribute. May contain implementation specific content.--><!ELEMENT attribute-extension ANY><!-- 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.--><!ELEMENT component (description*, display-name*, icon*, component-type, component-class, facet*, attribute*, property*, component-extension*)><!-- Extension element for component. May contain implementation specific content.--><!ELEMENT component-extension ANY><!-- Define the name and other design-time information for a facet that is associated with a renderer or a component.--><!ELEMENT facet (description*, display-name*, icon*, facet-name, facet-extension*)><!-- Extension element for facet. May contain implementation specific content.--><!ELEMENT facet-extension ANY><!-- The "facet-name" element represents the facet name under which a UIComponent will be added to its parent. It must be of type "Identifier".--><!ELEMENT facet-name (#PCDATA)><!-- 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.--><!ELEMENT converter (description*, display-name*, icon*, (converter-id | converter-for-class), converter-class, attribute*, property*)><!-- The "icon" element contains "small-icon" and "large-icon" elements that specify the resoruce paths for small and large GIF or JPG icon images used to represent the parent element in a GUI tool.--><!ELEMENT icon (small-icon?, large-icon?)><!ATTLIST icon xml:lang %Language; #IMPLIED><!-- The "lifecycle" element provides a mechanism to specify modifications to the behaviour of the default Lifecycle implementation for this web application.--><!ELEMENT lifecycle (phase-listener*)><!-- The "locale-config" element allows the app developer to declare the supported locales for this application. --><!ELEMENT locale-config (default-locale?, supported-locale*)><!-- 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.--><!ELEMENT managed-bean (description*, display-name*, icon*, managed-bean-name, managed-bean-class, managed-bean-scope, (managed-property* | map-entries | list-entries))><!-- 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.--><!ELEMENT managed-property (description*, display-name*, icon*, property-name, property-class?, (map-entries|null-value|value|list-entries))><!-- 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.--><!ELEMENT map-entry (key, (null-value|value))><!-- 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.--><!ELEMENT map-entries (key-class?, value-class?, map-entry*)><!-- The base name of a resource bundle representing the message resources for this application. See the JavaDocs for the "java.util.ResourceBundle" class for more information on the syntax of resource bundle names.--><!ELEMENT message-bundle (#PCDATA)><!-- 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.--><!ELEMENT navigation-case (description*, display-name*, icon*, from-action?, from-outcome?, to-view-id, redirect?)><!-- 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.--><!ELEMENT navigation-rule (description*, display-name*, icon*, from-view-id?, navigation-case*)><!-- The "property" element represents a JavaBean property of the Java class
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -