⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 spring-webflow.dtd

📁 spring的WEB开发插件,支持多状态WEB开发
💻 DTD
📖 第 1 页 / 共 2 页
字号:

<!--
	Defines state exit logic to be executed.  This logic will always execute when this state is exited 
	regardless of what transition is executed.
-->
<!ELEMENT exit ( action+ )>

<!--
	Defines a decision state: a state that will evaluate one or more expressions to
	decide which state to go to next.
-->
<!ELEMENT decision-state ( property*, entry?, if+, exit? )>

<!--
	Unique identifier of this decision state; must be unique to this flow.
-->
<!ATTLIST decision-state id ID #REQUIRED>

<!--
	Identifier of the decision state implementation exported in the configured registry, typically
	the Spring Bean Factory. This is similar to the <ref bean="myBean"/> notation of
	the Spring beans DTD.
-->
<!ATTLIST decision-state bean CDATA #IMPLIED>

<!--
	Fully qualified implementation class of the decision state exported in the configured registry.
	For this "by type" action lookup to work, there must be exactly one DecisionState implementation
	exported of that type.
-->
<!ATTLIST decision-state classref CDATA #IMPLIED>

<!--
	Fully qualified class of the decision state implementation. An instance of the
	class will be instantiated and possibly autowired depending on the value of the
	autowire attribute.
-->
<!ATTLIST decision-state class CDATA #IMPLIED>
	
<!--
	Dependency (aka collaborator) autowiring options for use when instantiating the decision state 
	implementation with the class attribute.
-->
<!ATTLIST decision-state autowire (no | byName | byType | constructor | autodetect | default) "default">

<!--
	A transition specification that defines a criteria expression and a state to
	transition to if the expression is true. Optionally, this element may also 
	define an 'else' state to transition to if the expression is false.
	The form is:
 	    <if test="${criteria}" then="${toTrueState}" [else="(toFalseState)"]>
-->
<!ELEMENT if EMPTY>

<!--
	The transition criteria expression to be tested.
-->
<!ATTLIST if test CDATA #REQUIRED>

<!--
	The state to transition to if the expression is true.
-->
<!ATTLIST if then IDREF #REQUIRED>

<!--
	The state to transition to if the expression is false (optional).
-->
<!ATTLIST if else IDREF #IMPLIED>

<!--
	Defines a sub flow state: a state that spawns a sub flow when entered. When the
	sub flow completes execution (reaches an end state), the result of subflow execution
	will be used as grounds for a transition out of this state.
-->
<!ELEMENT subflow-state ( property*, entry?, attribute-mapper?, transition+, exit? )>

<!--
	Unique identifier of a subflow state; must be unique to this flow.
-->
<!ATTLIST subflow-state id ID #REQUIRED>

<!--
	Reference to the id of the web flow to be spawned when this subflow state is entered.
-->
<!ATTLIST subflow-state flow CDATA #REQUIRED>

<!--
	Identifier of the subflow state implementation exported in the configured registry, typically
	the Spring Bean Factory. This is similar to the <ref bean="myBean"/> notation of
	the Spring beans DTD.
-->
<!ATTLIST subflow-state bean CDATA #IMPLIED>

<!--
	Fully qualified implementation class of the subflow state exported in the configured registry.
	For this "by type" action lookup to work, there must be exactly one SubflowState implementation
	exported of that type.
-->
<!ATTLIST subflow-state classref CDATA #IMPLIED>

<!--
	Fully qualified class of the subflow state implementation. An instance of the
	class will be instantiated and possibly autowired depending on the value of the
	autowire attribute.
-->
<!ATTLIST subflow-state class CDATA #IMPLIED>
	
<!--
	Dependency (aka collaborator) autowiring options for use when instantiating the subflow state 
	implementation with the class attribute.
-->
<!ATTLIST subflow-state autowire (no | byName | byType | constructor | autodetect | default) "default">

<!--
	An optional mapper that will map attributes from the parent flow to/from the spawned subflow. 
-->
<!ELEMENT attribute-mapper ( input*, output* )>

<!--
	Identifier of the flow attribute mapper implementation exported in the
	configured registry, typically a Spring Bean Factory. This is similar
	to the <ref bean="myBean"/> notation of the Spring beans DTD.
-->
<!ATTLIST attribute-mapper bean CDATA #IMPLIED>

<!--
	Fully qualified implementation class of the flow attribute mapper exported
	in the configured registry. For this "by type" mapper lookup to work, there must
	be exactly one mapper implementation exported of that type.
-->
<!ATTLIST attribute-mapper classref CDATA #IMPLIED>

<!--
	Fully qualified class of the flow attribute mapper implementation. An
	instance of the class will be instantiated and possibly autowired
	depending on the value of the autowire attribute.
-->
<!ATTLIST attribute-mapper class CDATA #IMPLIED>
	
<!--
	Dependency (collaborator) autowiring options for use when instantiating the flow attribute mapper
	implementation with the class attribute.
-->
<!ATTLIST attribute-mapper autowire (no | byName | byType | constructor | autodetect | default) "default">

<!--
	A single input mapping that maps an attribute from this flow to the subflow.
-->
<!ELEMENT input EMPTY>

<!--
	The name of the attribute in this flow to map into the subflow.
	Use this OR the value attribute, not both.
-->
<!ATTLIST input name CDATA #IMPLIED>

<!--
	An expression for the attribute value in this flow's request context to
	map to the subflow. When used, you will also need to specify an 'as'
	attribute. Use this OR the name attribute, not both.
-->
<!ATTLIST input value CDATA #IMPLIED>

<!--
	The name of the target attribute in the subflow. This is optional when used in
	conjunction with the 'name' attribute; by default, the same attribute name will be
	used between this flow and the subflow.
	
	Note: this is required when used in conjunction with the 'value' attribute: you must
	assign a name to the value returned by the expression for storage in the subflow.
-->
<!ATTLIST input as CDATA #IMPLIED>

<!--
	The type of the source attribute to map in this flow; used with the "to" attribute to perform
	a value type conversion during attribute mapping.
-->
<!ATTLIST input from CDATA #IMPLIED>

<!--
	The target type of the target attribute in the subflow; used with the "from" attribute to perform
	a value type conversion during attribute mapping.
-->
<!ATTLIST input to CDATA #IMPLIED>

<!--
	A single output mapping that maps data from the subflow back up to this flow 
	when it resumes.
-->
<!ELEMENT output EMPTY>

<!--
	The name of the attribute in the subflow to map to this flow.
	Use this OR the value attribute, not both.
-->
<!ATTLIST output name CDATA #IMPLIED>

<!--
	An expression for the attribute value in the subflow's request context to
	map to this flow. When used, you also need to specify the 'as' attribute.
	Use this OR the name attribute, not both.
-->
<!ATTLIST output value CDATA #IMPLIED>

<!--
	The name of the target attribute in this flow. This is optional when used in
	conjunction with the 'name' attribute; by default, the same name will be used between
	the subflow and this flow.

	Note: this is required when used in conjunction with the 'value' attribute: you must
	assign a name to the value returned by the expression for storage in this flow.
-->
<!ATTLIST output as CDATA #IMPLIED>

<!--
	The type of the attribute to map from the subflow; used with the "to" attribute to perform
	a value type conversion during attribute mapping.
-->
<!ATTLIST output from CDATA #IMPLIED>

<!--
	The type of the target attribute to set in this flow; used with the "from" attribute to perform
	a value type conversion during attribute mapping.
-->
<!ATTLIST output to CDATA #IMPLIED>

<!--
	Defines an end state: a state that terminates the flow.
-->
<!ELEMENT end-state ( property*, entry? )>

<!--
	Unique identifier of an end state; must be unique to this flow.
-->
<!ATTLIST end-state id ID #REQUIRED>

<!--
	Optional name of the view that is expected to be rendered when this state is reached 
	when there is no parent flow to resume. When not present, this state will be a marker end state.
	A marker end state does request the rendering of a view, it only returns control to the client.
	Use a marker end state when another object is expected to generate the response.

	While this value may be a static view name, it may also be qualified with a prefix to denote a
	specific (possibly custom) ViewDescriptorCreator strategy. The "class:" prefix allows you to 
	define a custom ViewDescriptorCreator implementation (e.g class:example.MyViewDescriptorCreator).
	The "redirect:" prefix triggers creation of a RedirectViewDescriptorCreator which will request a
	redirect to a specific URL (e.g. redirect:/home.htm). The exact capabilities are defined by the 
	installed TextToViewDescriptorCreator.
-->
<!ATTLIST end-state view CDATA #IMPLIED>

<!--
	Identifier of the end state implementation exported in the configured registry, typically
	the Spring Bean Factory. This is similar to the <ref bean="myBean"/> notation of
	the Spring beans DTD.
-->
<!ATTLIST end-state bean CDATA #IMPLIED>

<!--
	Fully qualified implementation class of the end state exported in the configured registry.
	For this "by type" action lookup to work, there must be exactly one EndState implementation
	exported of that type.
-->
<!ATTLIST end-state classref CDATA #IMPLIED>

<!--
	Fully qualified class of the end state implementation. An instance of the
	class will be instantiated and possibly autowired depending on the value of the
	autowire attribute.
-->
<!ATTLIST end-state class CDATA #IMPLIED>
	
<!--
	Dependency (aka collaborator) autowiring options for use when instantiating the end state 
	implementation with the class attribute.
-->
<!ATTLIST end-state autowire (no | byName | byType | constructor | autodetect | default) "default">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -