web-facesconfig_1_0.dtd 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874
  1. <!--
  2. DTD for the JavaServer Faces Application Configuration File (Version 1.0)
  3. To support validation of your configuration file(s), include the following
  4. DOCTYPE element at the beginning (after the "xml" declaration):
  5. <!DOCTYPE faces-config PUBLIC
  6. "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
  7. "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
  8. $Id: web-facesconfig_1_0.dtd,v 1.33 2006/03/27 17:36:05 rogerk Exp $
  9. -->
  10. <!-- ==================== Defined Types =================================== -->
  11. <!--
  12. An "Action" is a String that represents a method binding
  13. expression that points at a method with no arguments that returns a
  14. String. It must be bracketed with "#{}", for example,
  15. "#{cardemo.buyCar}".
  16. -->
  17. <!ENTITY % Action "CDATA">
  18. <!--
  19. A "ClassName" is the fully qualified name of a Java class that is
  20. instantiated to provide the functionality of the enclosing element.
  21. -->
  22. <!ENTITY % ClassName "CDATA">
  23. <!--
  24. An "Identifier" is a string of characters that conforms to the variable
  25. naming conventions of the Java programming language (JLS Section ?.?.?).
  26. -->
  27. <!ENTITY % Identifier "CDATA">
  28. <!--
  29. A "JavaType" is either the fully qualified name of a Java class that is
  30. instantiated to provide the functionality of the enclosing element, or
  31. the name of a Java primitive type (such as int or char). The class name
  32. or primitive type may optionally be followed by "[]" to indicate that
  33. the underlying data must be an array, rather than a scalar variable.
  34. -->
  35. <!ENTITY % JavaType "CDATA">
  36. <!--
  37. A "Language" is a lower case two-letter code for a language as defined
  38. by ISL-639.
  39. -->
  40. <!ENTITY % Language "CDATA">
  41. <!--
  42. A "ResourcePath" is the relative or absolute path to a resource file
  43. (such as a logo image).
  44. -->
  45. <!ENTITY % ResourcePath "CDATA">
  46. <!--
  47. A "Scope" is the well-known name of a scope in which managed beans may
  48. optionally be defined to be created in.
  49. -->
  50. <!ENTITY % Scope "(request|session|application)">
  51. <!--
  52. A "ScopeOrNone" element defines the legal values for the
  53. <managed-bean-scope> element's body content, which includes
  54. all of the scopes respresented by the "Scope" type, plus the
  55. "none" value indicating that a created bean should not be
  56. stored into any scope.
  57. -->
  58. <!ENTITY % ScopeOrNone "(request|session|application|none)">
  59. <!--
  60. A "ViewIdPattern" is a pattern for matching view identifiers in
  61. order to determine whether a particular navigation rule should be
  62. fired. It must contain one of the following values:
  63. - The exact match for a view identifier that is recognized
  64. by the the ViewHandler implementation being used (such as
  65. "/index.jsp" if you are using the default ViewHandler).
  66. - A proper prefix of a view identifier, plus a trailing "*"
  67. character. This pattern indicates that all view identifiers that
  68. match the portion of the pattern up to the asterisk will match the
  69. surrounding rule. When more than one match exists, the match with
  70. the longest pattern is selected.
  71. - An "*" character, which means that this pattern applies to all
  72. view identifiers.
  73. -->
  74. <!ENTITY % ViewIdPattern "CDATA">
  75. <!-- ==================== Top Level Elements ============================== -->
  76. <!--
  77. The "faces-config" element is the root of the configuration information
  78. hierarchy, and contains nested elements for all of the other configuration
  79. settings.
  80. -->
  81. <!ELEMENT faces-config ((application|factory|component|converter|managed-bean|navigation-rule|referenced-bean|render-kit|lifecycle|validator)*)>
  82. <!ATTLIST faces-config
  83. xmlns CDATA #FIXED "http://java.sun.com/JSF/Configuration">
  84. <!-- ==================== Definition Elements ============================= -->
  85. <!--
  86. The "application" element provides a mechanism to define the various
  87. per-application-singleton implementation artifacts for a particular web
  88. application that is utilizing JavaServer Faces. For nested elements
  89. that are not specified, the JSF implementation must provide a suitable
  90. default.
  91. -->
  92. <!ELEMENT application ((action-listener|default-render-kit-id|message-bundle|navigation-handler|view-handler|state-manager|property-resolver|variable-resolver|locale-config)*)>
  93. <!--
  94. The "factory" element provides a mechanism to define the various
  95. Factories that comprise parts of the implementation of JavaServer
  96. Faces. For nested elements that are not specified, the JSF
  97. implementation must provide a suitable default.
  98. -->
  99. <!ELEMENT factory ((application-factory|faces-context-factory|lifecycle-factory|render-kit-factory)*)>
  100. <!--
  101. The "attribute" element represents a named, typed, value associated with
  102. the parent UIComponent via the generic attributes mechanism.
  103. Attribute names must be unique within the scope of the parent (or related)
  104. component.
  105. -->
  106. <!ELEMENT attribute (description*, display-name*, icon*, attribute-name, attribute-class, default-value?, suggested-value?, attribute-extension*)>
  107. <!--
  108. Extension element for attribute. May contain implementation
  109. specific content.
  110. -->
  111. <!ELEMENT attribute-extension ANY>
  112. <!--
  113. The "component" element represents a concrete UIComponent implementation
  114. class that should be registered under the specified type identifier,
  115. along with its associated properties and attributes. Component types must
  116. be unique within the entire web application.
  117. Nested "attribute" elements identify generic attributes that are recognized
  118. by the implementation logic of this component. Nested "property" elements
  119. identify JavaBeans properties of the component class that may be exposed
  120. for manipulation via tools.
  121. -->
  122. <!ELEMENT component (description*, display-name*, icon*, component-type, component-class, attribute*, property*, component-extension*)>
  123. <!--
  124. Extension element for component. May contain implementation
  125. specific content.
  126. -->
  127. <!ELEMENT component-extension ANY>
  128. <!--
  129. The "converter" element represents a concrete Converter implementation
  130. class that should be registered under the specified converter identifier.
  131. Converter identifiers must be unique within the entire web application.
  132. Nested "attribute" elements identify generic attributes that may be
  133. configured on the corresponding UIComponent in order to affect the
  134. operation of the Converter. Nested "property" elements identify JavaBeans
  135. properties of the Converter implementation class that may be configured
  136. to affect the operation of the Converter.
  137. -->
  138. <!ELEMENT converter (description*, display-name*, icon*, (converter-id | converter-for-class), converter-class, attribute*, property*)>
  139. <!--
  140. The "icon" element contains "small-icon" and "large-icon" elements that
  141. specify the resoruce paths for small and large GIF or JPG icon images
  142. used to represent the parent element in a GUI tool.
  143. -->
  144. <!ELEMENT icon (small-icon?, large-icon?)>
  145. <!ATTLIST icon xml:lang %Language; #IMPLIED>
  146. <!--
  147. The "lifecycle" element provides a mechanism to specify
  148. modifications to the behaviour of the default Lifecycle
  149. implementation for this web application.
  150. -->
  151. <!ELEMENT lifecycle (phase-listener*)>
  152. <!--
  153. The "locale-config" element allows the app developer to declare the
  154. supported locales for this application.
  155. -->
  156. <!ELEMENT locale-config (default-locale?, supported-locale*)>
  157. <!--
  158. The "managed-bean" element represents a JavaBean, of a particular class,
  159. that will be dynamically instantiated at runtime (by the default
  160. VariableResolver implementation) if it is referenced as the first element
  161. of a value binding expression, and no corresponding bean can be
  162. identified in any scope. In addition to the creation of the managed bean,
  163. and the optional storing of it into the specified scope, the nested
  164. managed-property elements can be used to initialize the contents of
  165. settable JavaBeans properties of the created instance.
  166. -->
  167. <!ELEMENT managed-bean (description*, display-name*, icon*, managed-bean-name, managed-bean-class, managed-bean-scope, (managed-property* | map-entries | list-entries))>
  168. <!--
  169. The "managed-property" element represents an individual property of a
  170. managed bean that will be configured to the specified value (or value set)
  171. if the corresponding managed bean is automatically created.
  172. -->
  173. <!ELEMENT managed-property (description*, display-name*, icon*, property-name, property-class?, (map-entries|null-value|value|list-entries))>
  174. <!--
  175. The "map-entry" element reprsents a single key-entry pair that
  176. will be added to the computed value of a managed property of type
  177. java.util.Map.
  178. -->
  179. <!ELEMENT map-entry (key, (null-value|value))>
  180. <!--
  181. The "map-entries' element represents a set of key-entry pairs that
  182. will be added to the computed value of a managed property of type
  183. java.util.Map. In addition, the Java class types of the key and entry
  184. values may be optionally declared.
  185. -->
  186. <!ELEMENT map-entries (key-class?, value-class?, map-entry*)>
  187. <!--
  188. The base name of a resource bundle representing the message resources
  189. for this application. See the JavaDocs for the "java.util.ResourceBundle"
  190. class for more information on the syntax of resource bundle names.
  191. -->
  192. <!ELEMENT message-bundle (#PCDATA)>
  193. <!--
  194. The "navigation-case" element describes a particular combination of
  195. conditions that must match for this case to be executed, and the
  196. view id of the component tree that should be selected next.
  197. -->
  198. <!ELEMENT navigation-case (description*, display-name*, icon*, from-action?, from-outcome?, to-view-id, redirect?)>
  199. <!--
  200. The "navigation-rule" element represents an individual decision rule
  201. that will be utilized by the default NavigationHandler
  202. implementation to make decisions on what view should be displayed
  203. next, based on the view id being processed.
  204. -->
  205. <!ELEMENT navigation-rule (description*, display-name*, icon*, from-view-id?, navigation-case*)>
  206. <!--
  207. The "property" element represents a JavaBean property of the Java class
  208. represented by our parent element.
  209. Property names must be unique within the scope of the Java class
  210. that is represented by the parent element, and must correspond to
  211. property names that will be recognized when performing introspection
  212. against that class via java.beans.Introspector.
  213. -->
  214. <!ELEMENT property (description*, display-name*, icon*, property-name, property-class, default-value?, suggested-value?, property-extension*)>
  215. <!--
  216. Extension element for property. May contain implementation
  217. specific content.
  218. -->
  219. <!ELEMENT property-extension ANY>
  220. <!--
  221. The "referenced-bean" element represents at design time the promise
  222. that a Java object of the specified type will exist at runtime in some
  223. scope, under the specified key. This can be used by design time tools
  224. to construct user interface dialogs based on the properties of the
  225. specified class. The presence or absence of a referenced bean
  226. element has no impact on the JavaServer Faces runtime environment
  227. inside a web application.
  228. -->
  229. <!ELEMENT referenced-bean (description*, display-name*, icon*, referenced-bean-name, referenced-bean-class)>
  230. <!--
  231. The "render-kit" element represents a concrete RenderKit implementation
  232. that should be registered under the specified render-kit-id. If no
  233. render-kit-id is specified, the identifier of the default RenderKit
  234. (RenderKitFactory.DEFAULT_RENDER_KIT) is assumed.
  235. -->
  236. <!ELEMENT render-kit (description*, display-name*, icon*, render-kit-id?, render-kit-class?, renderer*)>
  237. <!--
  238. The "renderer" element represents a concrete Renderer implementation
  239. class that should be registered under the specified component family
  240. and renderer type identifiers, in the RenderKit associated with the
  241. parent "render-kit" element. Combinations of component family and renderer
  242. type must be unique within the RenderKit associated with the parent
  243. "render-kit" element.
  244. Nested "attribute" elements identify generic component attributes that
  245. are recognized by this renderer.
  246. -->
  247. <!ELEMENT renderer (description*, display-name*, icon*, component-family, renderer-type, renderer-class, attribute*, renderer-extension*)>
  248. <!--
  249. Extension element for renderer. May contain implementation
  250. specific content.
  251. -->
  252. <!ELEMENT renderer-extension ANY>
  253. <!--
  254. The "validator" element represents a concrete Validator implementation
  255. class that should be registered under the specified validator identifier.
  256. Validator identifiers must be unique within the entire web application.
  257. Nested "attribute" elements identify generic attributes that may be
  258. configured on the corresponding UIComponent in order to affect the
  259. operation of the Validator. Nested "property" elements identify JavaBeans
  260. properties of the Validator implementation class that may be configured
  261. to affect the operation of the Validator.
  262. -->
  263. <!ELEMENT validator (description*, display-name*, icon*, validator-id, validator-class, attribute*, property*)>
  264. <!--
  265. The "list-entries" element represents a set of initialization
  266. elements for a managed property that is a java.util.List or an
  267. array. In the former case, the "value-class" element can optionally
  268. be used to declare the Java type to which each value should be
  269. converted before adding it to the Collection.
  270. -->
  271. <!ELEMENT list-entries (value-class?, (null-value|value)*)>
  272. <!-- ==================== Subordinate Elements ============================ -->
  273. <!--
  274. The "action-listener" element contains the fully qualified class name
  275. of the concrete ActionListener implementation class that will be called
  276. during the Invoke Application phase of the request processing lifecycle.
  277. It must be of type "ClassName".
  278. -->
  279. <!ELEMENT action-listener (#PCDATA)>
  280. <!--
  281. The "application-factory" element contains the fully qualified class
  282. name of the concrete ApplicationFactory implementation class that
  283. will be called when FactoryFinder.getFactory(APPLICATION_FACTORY) is
  284. called. It must be of type "ClassName".
  285. -->
  286. <!ELEMENT application-factory (#PCDATA)>
  287. <!--
  288. The "attribute-class" element represents the Java type of the value
  289. associated with this attribute name. It must be of type "ClassName".
  290. -->
  291. <!ELEMENT attribute-class (#PCDATA)>
  292. <!--
  293. The "attribute-name" element represents the name under which the
  294. corresponding value will be stored, in the generic attributes of the
  295. UIComponent we are related to.
  296. -->
  297. <!ELEMENT attribute-name (#PCDATA)>
  298. <!--
  299. The "component-class" element represents the fully qualified class name
  300. of a concrete UIComponent implementation class. It must be of
  301. type "ClassName".
  302. -->
  303. <!ELEMENT component-class (#PCDATA)>
  304. <!--
  305. The "component-family" element represents the component family for
  306. which the Renderer represented by the parent "renderer" element will be
  307. used.
  308. -->
  309. <!ELEMENT component-family (#PCDATA)>
  310. <!--
  311. The "component-type" element represents the name under which the
  312. corresponding UIComponent class should be registered.
  313. -->
  314. <!ELEMENT component-type (#PCDATA)>
  315. <!--
  316. The "converter-class" element represents the fully qualified class name
  317. of a concrete Converter implementation class. It must be of
  318. type "ClassName".
  319. -->
  320. <!ELEMENT converter-class (#PCDATA)>
  321. <!--
  322. The "converter-for-class" element represents the fully qualified class name
  323. for which a Converter class will be registered. It must be of
  324. type "ClassName".
  325. -->
  326. <!ELEMENT converter-for-class (#PCDATA)>
  327. <!--
  328. The "converter-id" element represents the identifier under which the
  329. corresponding Converter class should be registered.
  330. -->
  331. <!ELEMENT converter-id (#PCDATA)>
  332. <!--
  333. The "default-render-kit-id" element allows the application to define
  334. a renderkit to be used other than the standard one.
  335. -->
  336. <!ELEMENT default-render-kit-id (#PCDATA)>
  337. <!--
  338. The "default-locale" element declares the default locale for this
  339. application instance. It must be specified as
  340. :language:[_:country:[_:variant:]] without the colons, for example
  341. "ja_JP_SJIS". The separators between the segments may be '-' or
  342. '_'.
  343. -->
  344. <!ELEMENT default-locale (#PCDATA)>
  345. <!--
  346. The "default-value" contains the value for the property or attribute
  347. in which this element resides. This value differs from the
  348. "suggested-value" in that the property or attribute must take the
  349. value, whereas in "suggested-value" taking the value is optional.
  350. -->
  351. <!ELEMENT default-value (#PCDATA)>
  352. <!--
  353. The "description" element contains a textual description of the element
  354. it is nested in, optionally flagged with a language code using the
  355. "xml:lang" attribute.
  356. -->
  357. <!ELEMENT description ANY>
  358. <!ATTLIST description xml:lang %Language; #IMPLIED>
  359. <!--
  360. The "display-name" element is a short descriptive name describing the
  361. entity associated with the element it is nested in, intended to be
  362. displayed by tools, and optionally flagged with a language code using
  363. the "xml:lang" attribute.
  364. -->
  365. <!ELEMENT display-name (#PCDATA)>
  366. <!ATTLIST display-name xml:lang %Language; #IMPLIED>
  367. <!--
  368. The "faces-context-factory" element contains the fully qualified
  369. class name of the concrete FacesContextFactory implementation class
  370. that will be called when
  371. FactoryFinder.getFactory(FACES_CONTEXT_FACTORY) is called. It must
  372. be of type "ClassName".
  373. -->
  374. <!ELEMENT faces-context-factory (#PCDATA)>
  375. <!--
  376. The "from-action" element contains an action reference expression
  377. that must have been executed (by the default ActionListener for handling
  378. application level events) in order to select this navigation rule. If
  379. not specified, this rule will be relevant no matter which action reference
  380. was executed (or if no action reference was executed).
  381. This value must be of type "Action".
  382. -->
  383. <!ELEMENT from-action (#PCDATA)>
  384. <!--
  385. The "from-outcome" element contains a logical outcome string returned
  386. by the execution of an application action method selected via an
  387. "actionRef" property (or a literal value specified by an "action"
  388. property) of a UICommand component. If specified, this rule will be
  389. relevant only if the outcome value matches this element's value. If
  390. not specified, this rule will be relevant no matter what the outcome
  391. value was.
  392. -->
  393. <!ELEMENT from-outcome (#PCDATA)>
  394. <!--
  395. The "from-view-id" element contains the view identifier of the view
  396. for which the containing navigation rule is relevant. If no
  397. "from-view" element is specified, this rule applies to navigation
  398. decisions on all views. If this element is not specified, a value
  399. of "*" is assumed, meaning that this navigation rule applies to all
  400. views.
  401. This value must be of type "ViewIdPattern".
  402. -->
  403. <!ELEMENT from-view-id (#PCDATA)>
  404. <!--
  405. The "key" element is the String representation of a map key that
  406. will be stored in a managed property of type java.util.Map.
  407. -->
  408. <!ELEMENT key (#PCDATA)>
  409. <!--
  410. The "key-class" element defines the Java type to which each "key"
  411. element in a set of "map-entry" elements will be converted to. It
  412. must be of type "ClassName". If omitted, "java.lang.String"
  413. is assumed.
  414. -->
  415. <!ELEMENT key-class (#PCDATA)>
  416. <!--
  417. The "large-icon" element contains the resource path to a large (32x32)
  418. icon image. The image may be in either GIF or JPG format.
  419. -->
  420. <!ELEMENT large-icon (#PCDATA)>
  421. <!--
  422. The "lifecycle-factory" element contains the fully qualified class name
  423. of the concrete LifecycleFactory implementation class that will be called
  424. when FactoryFinder.getFactory(LIFECYCLE_FACTORY) is called. It must be
  425. of type "ClassName".
  426. -->
  427. <!ELEMENT lifecycle-factory (#PCDATA)>
  428. <!--
  429. The "managed-bean-class" element represents the fully qualified class
  430. name of the Java class that will be used to instantiate a new instance
  431. if creation of the specified managed bean is requested. It must be of
  432. type "ClassName".
  433. The specified class must conform to standard JavaBeans conventions.
  434. In particular, it must have a public zero-arguments constructor, and
  435. zero or more public property setters.
  436. -->
  437. <!ELEMENT managed-bean-class (#PCDATA)>
  438. <!--
  439. The "managed-bean-name" element represents the attribute name under
  440. which a managed bean will be searched for, as well as stored (unless
  441. the "managed-bean-scope" value is "none"). It must be of type
  442. "Identifier".
  443. -->
  444. <!ELEMENT managed-bean-name (#PCDATA)>
  445. <!--
  446. The "managed-bean-scope" element represents the scope into which a newly
  447. created instance of the specified managed bean will be stored (unless
  448. the value is "none"). It must be of type "ScopeOrNone".
  449. -->
  450. <!ELEMENT managed-bean-scope (#PCDATA)>
  451. <!--
  452. The "navigation-handler" element contains the fully qualified class name
  453. of the concrete NavigationHandler implementation class that will be called
  454. during the Invoke Application phase of the request processing lifecycle,
  455. if the default ActionListener (provided by the JSF implementation) is used.
  456. It must be of type "ClassName".
  457. -->
  458. <!ELEMENT navigation-handler (#PCDATA)>
  459. <!--
  460. The "phase-listener" element contains the fully qualified class
  461. name of the concrete PhaseListener implementation class that will be
  462. registered on the Lifecycle. It must be of type "ClassName".
  463. -->
  464. <!ELEMENT phase-listener (#PCDATA)>
  465. <!--
  466. The "redirect" element indicates that navigation to the specified
  467. "to-view-id" should be accomplished by performing an HTTP redirect
  468. rather than the usual ViewHandler mechanisms.
  469. -->
  470. <!ELEMENT redirect EMPTY>
  471. <!--
  472. The "suggested-value" contains the value for the property or
  473. attribute in which this element resides. This value is advisory
  474. only and is intended for tools to use when populating pallettes.
  475. -->
  476. <!ELEMENT suggested-value (#PCDATA)>
  477. <!--
  478. The "view-handler" element contains the fully qualified class name
  479. of the concrete ViewHandler implementation class that will be called
  480. during the Restore View and Render Response phases of the request
  481. processing lifecycle. The faces implementation must provide a
  482. default implementation of this class
  483. -->
  484. <!ELEMENT view-handler (#PCDATA)>
  485. <!--
  486. The "state-manager" element contains the fully qualified class name
  487. of the concrete StateManager implementation class that will be called
  488. during the Restore View and Render Response phases of the request
  489. processing lifecycle. The faces implementation must provide a
  490. default implementation of this class
  491. -->
  492. <!ELEMENT state-manager (#PCDATA)>
  493. <!--
  494. The "null-value" element indicates that the managed property in which we
  495. are nested will be explicitly set to null if our managed bean is
  496. automatically created. This is different from omitting the managed
  497. property element entirely, which will cause no property setter to be
  498. called for this property.
  499. The "null-value" element can only be used when the associated
  500. "property-class" identifies a Java class, not a Java primitive.
  501. -->
  502. <!ELEMENT null-value EMPTY>
  503. <!--
  504. The "property-class" element represents the Java type of the value
  505. associated with this property name. It must be of type "JavaType".
  506. If not specified, it can be inferred from existing classes; however,
  507. this element should be specified if the configuration file is going
  508. to be the source for generating the corresponding classes.
  509. -->
  510. <!ELEMENT property-class (#PCDATA)>
  511. <!--
  512. The "property-name" element represents the JavaBeans property name
  513. under which the corresponding value may be stored.
  514. -->
  515. <!ELEMENT property-name (#PCDATA)>
  516. <!--
  517. The "property-resolver" element contains the fully qualified class name
  518. of the concrete PropertyResolver implementation class that will be used
  519. during the processing of value binding expressions.
  520. It must be of type "ClassName".
  521. -->
  522. <!ELEMENT property-resolver (#PCDATA)>
  523. <!--
  524. The "referenced-bean-class" element represents the fully qualified class
  525. name of the Java class (either abstract or concrete) or Java interface
  526. implemented by the corresponding referenced bean. It must be of type
  527. "ClassName".
  528. -->
  529. <!ELEMENT referenced-bean-class (#PCDATA)>
  530. <!--
  531. The "referenced-bean-name" element represents the attribute name under
  532. which the corresponding referenced bean may be assumed to be stored,
  533. in one of the scopes defined by the "Scope" type. It must be of type
  534. "Identifier".
  535. -->
  536. <!ELEMENT referenced-bean-name (#PCDATA)>
  537. <!--
  538. The "render-kit-id" element represents an identifier for the
  539. RenderKit represented by the parent "render-kit" element.
  540. -->
  541. <!ELEMENT render-kit-id (#PCDATA)>
  542. <!--
  543. The "render-kit-class" element represents the fully qualified class name
  544. of a concrete RenderKit implementation class. It must be of
  545. type "ClassName".
  546. -->
  547. <!ELEMENT render-kit-class (#PCDATA)>
  548. <!--
  549. The "renderer-class" element represents the fully qualified class name
  550. of a concrete Renderer implementation class. It must be of
  551. type "ClassName".
  552. -->
  553. <!ELEMENT renderer-class (#PCDATA)>
  554. <!--
  555. The "render-kit-factory" element contains the fully qualified class name
  556. of the concrete RenderKitFactory implementation class that will be called
  557. when FactoryFinder.getFactory(RENDER_KIT_FACTORY) is called. It must be
  558. of type "ClassName".
  559. -->
  560. <!ELEMENT render-kit-factory (#PCDATA)>
  561. <!--
  562. The "renderer-type" element represents a renderer type identifier for the
  563. Renderer represented by the parent "renderer" element.
  564. -->
  565. <!ELEMENT renderer-type (#PCDATA)>
  566. <!--
  567. The "small-icon" element contains the resource path to a large (16x16)
  568. icon image. The image may be in either GIF or JPG format.
  569. -->
  570. <!ELEMENT small-icon (#PCDATA)>
  571. <!--
  572. The "supported-locale" element allows authors to declare which
  573. locales are supported in this application instance.
  574. It must be specified as :language:[_:country:[_:variant:]] without
  575. the colons, for example "ja_JP_SJIS". The separators between the
  576. segments may be '-' or '_'.
  577. -->
  578. <!ELEMENT supported-locale (#PCDATA)>
  579. <!--
  580. The "to-view" element contains the view identifier of the next view
  581. that should be displayed if this navigation rule is matched. It
  582. must be of type "ViewId".
  583. -->
  584. <!ELEMENT to-view-id (#PCDATA)>
  585. <!--
  586. The "validator-class" element represents the fully qualified class name
  587. of a concrete Validator implementation class. It must be of
  588. type "ClassName".
  589. -->
  590. <!ELEMENT validator-class (#PCDATA)>
  591. <!--
  592. The "validator-id" element represents the identifier under which the
  593. corresponding Validator class should be registered.
  594. -->
  595. <!ELEMENT validator-id (#PCDATA)>
  596. <!--
  597. The "value" element is the String representation of a literal
  598. value to which a scalar managed property will be set, or a value
  599. binding expression ("#{...}") that will be used to calculate the
  600. required value. It will be converted as specified for the actual
  601. property type.
  602. -->
  603. <!ELEMENT value (#PCDATA)>
  604. <!--
  605. The "value-class" element defines the Java type to which each
  606. "value" element's value will be converted to, prior to adding it to
  607. the "list-entries" list for a managed property that is a
  608. java.util.List, or a "map-entries" map for a managed property that
  609. is a java.util.Map. It must be of type "ClassName". If omitted,
  610. "java.lang.String" is assumed.
  611. -->
  612. <!ELEMENT value-class (#PCDATA)>
  613. <!--
  614. The "variable-resolver" element contains the fully qualified class name
  615. of the concrete VariableResolver implementation class that will be used
  616. during the processing of value binding expressions.
  617. It must be of type "ClassName".
  618. -->
  619. <!ELEMENT variable-resolver (#PCDATA)>
  620. <!-- ============================ Identifier Attributes ==================== -->
  621. <!ATTLIST action-listener id ID #IMPLIED>
  622. <!ATTLIST application id ID #IMPLIED>
  623. <!ATTLIST application-factory id ID #IMPLIED>
  624. <!ATTLIST attribute id ID #IMPLIED>
  625. <!ATTLIST attribute-class id ID #IMPLIED>
  626. <!ATTLIST attribute-extension id ID #IMPLIED>
  627. <!ATTLIST attribute-name id ID #IMPLIED>
  628. <!ATTLIST component id ID #IMPLIED>
  629. <!ATTLIST component-class id ID #IMPLIED>
  630. <!ATTLIST component-extension id ID #IMPLIED>
  631. <!ATTLIST component-family id ID #IMPLIED>
  632. <!ATTLIST component-type id ID #IMPLIED>
  633. <!ATTLIST converter id ID #IMPLIED>
  634. <!ATTLIST converter-class id ID #IMPLIED>
  635. <!ATTLIST converter-for-class id ID #IMPLIED>
  636. <!ATTLIST converter-id id ID #IMPLIED>
  637. <!ATTLIST default-locale id ID #IMPLIED>
  638. <!ATTLIST default-render-kit-id id ID #IMPLIED>
  639. <!ATTLIST default-value id ID #IMPLIED>
  640. <!ATTLIST description id ID #IMPLIED>
  641. <!ATTLIST display-name id ID #IMPLIED>
  642. <!ATTLIST faces-config id ID #IMPLIED>
  643. <!ATTLIST faces-context-factory id ID #IMPLIED>
  644. <!ATTLIST factory id ID #IMPLIED>
  645. <!ATTLIST from-action id ID #IMPLIED>
  646. <!ATTLIST from-outcome id ID #IMPLIED>
  647. <!ATTLIST from-view-id id ID #IMPLIED>
  648. <!ATTLIST icon id ID #IMPLIED>
  649. <!ATTLIST key id ID #IMPLIED>
  650. <!ATTLIST key-class id ID #IMPLIED>
  651. <!ATTLIST large-icon id ID #IMPLIED>
  652. <!ATTLIST lifecycle id ID #IMPLIED>
  653. <!ATTLIST lifecycle-factory id ID #IMPLIED>
  654. <!ATTLIST list-entries id ID #IMPLIED>
  655. <!ATTLIST locale-config id ID #IMPLIED>
  656. <!ATTLIST managed-bean id ID #IMPLIED>
  657. <!ATTLIST managed-bean-class id ID #IMPLIED>
  658. <!ATTLIST managed-bean-name id ID #IMPLIED>
  659. <!ATTLIST managed-bean-scope id ID #IMPLIED>
  660. <!ATTLIST managed-property id ID #IMPLIED>
  661. <!ATTLIST map-entries id ID #IMPLIED>
  662. <!ATTLIST map-entry id ID #IMPLIED>
  663. <!ATTLIST message-bundle id ID #IMPLIED>
  664. <!ATTLIST navigation-case id ID #IMPLIED>
  665. <!ATTLIST navigation-handler id ID #IMPLIED>
  666. <!ATTLIST navigation-rule id ID #IMPLIED>
  667. <!ATTLIST null-value id ID #IMPLIED>
  668. <!ATTLIST phase-listener id ID #IMPLIED>
  669. <!ATTLIST property id ID #IMPLIED>
  670. <!ATTLIST property-class id ID #IMPLIED>
  671. <!ATTLIST property-extension id ID #IMPLIED>
  672. <!ATTLIST property-name id ID #IMPLIED>
  673. <!ATTLIST property-resolver id ID #IMPLIED>
  674. <!ATTLIST redirect id ID #IMPLIED>
  675. <!ATTLIST referenced-bean id ID #IMPLIED>
  676. <!ATTLIST referenced-bean-class id ID #IMPLIED>
  677. <!ATTLIST referenced-bean-name id ID #IMPLIED>
  678. <!ATTLIST render-kit id ID #IMPLIED>
  679. <!ATTLIST render-kit-class id ID #IMPLIED>
  680. <!ATTLIST render-kit-factory id ID #IMPLIED>
  681. <!ATTLIST render-kit-id id ID #IMPLIED>
  682. <!ATTLIST renderer id ID #IMPLIED>
  683. <!ATTLIST renderer-class id ID #IMPLIED>
  684. <!ATTLIST renderer-extension id ID #IMPLIED>
  685. <!ATTLIST renderer-type id ID #IMPLIED>
  686. <!ATTLIST small-icon id ID #IMPLIED>
  687. <!ATTLIST state-manager id ID #IMPLIED>
  688. <!ATTLIST suggested-value id ID #IMPLIED>
  689. <!ATTLIST supported-locale id ID #IMPLIED>
  690. <!ATTLIST to-view-id id ID #IMPLIED>
  691. <!ATTLIST validator id ID #IMPLIED>
  692. <!ATTLIST validator-class id ID #IMPLIED>
  693. <!ATTLIST validator-id id ID #IMPLIED>
  694. <!ATTLIST value id ID #IMPLIED>
  695. <!ATTLIST value-class id ID #IMPLIED>
  696. <!ATTLIST variable-resolver id ID #IMPLIED>
  697. <!ATTLIST view-handler id ID #IMPLIED>