web-facesconfig_1_1.dtd 33 KB

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