[jboss-svn-commits] JBL Code SVN: r13590 - labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Language.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Jul 17 21:57:17 EDT 2007


Author: mark.proctor at jboss.com
Date: 2007-07-17 21:57:17 -0400 (Tue, 17 Jul 2007)
New Revision: 13590

Modified:
   labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Language/Section-Rule.xml
   labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Language/lhs.png
   labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Language/lhs.svg
Log:
-updated the lhs image to say conditionaElement instead of pattern

Modified: labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Language/Section-Rule.xml
===================================================================
--- labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Language/Section-Rule.xml	2007-07-18 01:27:23 UTC (rev 13589)
+++ labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Language/Section-Rule.xml	2007-07-18 01:57:17 UTC (rev 13590)
@@ -40,22 +40,23 @@
   The rule is terminated by the keyword "end". Rules cannot be nested of
   course.</para>
 
-  <programlisting>rule "Hello World"
-    salience 10
+  <programlisting>rule "&lt;name&gt;"
+    &lt;attribute&gt;*
 when
-  
+    &lt;constraint&gt;*
 then
+    &lt;action&gt;*
 end</programlisting>
 
   <section>
     <title>Left Hand Side</title>
 
     <para>The Left Hand Side (LHS) is a common name for the conditional part
-    of the rule.</para>
+    of the rule. It consists of zero or more Conditional Elements; whch are
+    covered in detail in a later secion of this Chapter. If the LHS is left
+    empty it is re-written as eval(true), which means the rule is always
+    true.</para>
 
-    <para>To interpret the following diagram, refer to the sections below for
-    the details.</para>
-
     <figure>
       <title>Left Hand Side</title>
 
@@ -239,11 +240,11 @@
 
       <mediaobject>
         <imageobject>
-          <imagedata align="center" fileref="column.svg" format="SVG" role="" />
+          <imagedata align="center" fileref="pattern.svg" format="SVG" role="" />
         </imageobject>
 
         <imageobject>
-          <imagedata align="center" fileref="column.png" format="PNG" role="" />
+          <imagedata align="center" fileref="pattern.png" format="PNG" role="" />
         </imageobject>
       </mediaobject>
     </figure>

Modified: labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Language/lhs.png
===================================================================
(Binary files differ)

Modified: labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Language/lhs.svg
===================================================================
--- labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Language/lhs.svg	2007-07-18 01:27:23 UTC (rev 13589)
+++ labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Language/lhs.svg	2007-07-18 01:57:17 UTC (rev 13590)
@@ -1,33 +1,38 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated by Microsoft Visio 11.0, SVG Export, v1.0 lhs.svg Page-1 --><svg xmlns="http://www.w3.org/2000/svg" xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" xmlns:xlink="http://www.w3.org/1999/xlink" width="1.48536in" height="0.477498in" viewBox="0 0 106.946 34.3799" xml:space="preserve" color-interpolation-filters="sRGB" class="st5" preserveAspectRatio="xMidYMid meet" zoomAndPan="magnify" version="1.0" contentScriptType="text/ecmascript" contentStyleType="text/css">
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+<!-- Generated by Microsoft Visio 11.0, SVG Export, v1.0 lhs.svg Page-1 -->
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="2.01454in"
+		height="0.484719in" viewBox="0 0 145.047 34.8997" xml:space="preserve" color-interpolation-filters="sRGB" class="st5">
 	<v:documentProperties v:langID="1033" v:metric="true" v:viewMarkup="false"/>
 
-	<style type="text/css" xml:space="preserve">
-	
+	<style type="text/css">
+	<![CDATA[
 		.st1 {fill:#e8eef7;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.24}
 		.st2 {fill:#000000;font-family:Arial;font-size:0.666664em;font-style:italic}
 		.st3 {marker-end:url(#mrkr2-9);stroke:#4677bf;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.24}
 		.st4 {fill:#4677bf;fill-opacity:1;stroke:#4677bf;stroke-opacity:1;stroke-width:0.08695652173913}
 		.st5 {fill:none;fill-rule:evenodd;font-size:12;overflow:visible;stroke-linecap:square;stroke-miterlimit:3}
-	
+	]]>
 	</style>
 
 	<defs id="Markers">
 		<g id="lend2">
 			<path d="M 1 1 L 0 0 L 1 -1 L 1 1 " style="stroke:none"/>
 		</g>
-		<marker xmlns="http://www.w3.org/TR/xhtml1/transitional" overflow="visible" id="mrkr2-9" class="st4" v:arrowType="2" v:arrowSize="2" v:setback="11.5" refX="-11.5" orient="auto" markerUnits="strokeWidth" preserveAspectRatio="xMidYMid meet">
-			<use xmlns="http://www.w3.org/2000/svg" xlink:href="#lend2" transform="scale(-11.5,-11.5) " xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
+		<marker id="mrkr2-9" class="st4" v:arrowType="2" v:arrowSize="2" v:setback="11.5" refX="-11.5" orient="auto"
+				markerUnits="strokeWidth">
+			<use xlink:href="#lend2" transform="scale(-11.5,-11.5) "/>
 		</marker>
 	</defs>
 	<g v:mID="0" v:index="1" v:groupContext="foregroundPage">
-		<title content="structured text">Page-1</title>
-		<v:pageProperties v:drawingScale="0.0393701" v:pageScale="0.0393701" v:drawingUnits="24" v:shadowOffsetX="8.50394" v:shadowOffsetY="-8.50394"/>
+		<title>Page-1</title>
+		<v:pageProperties v:drawingScale="0.0393701" v:pageScale="0.0393701" v:drawingUnits="24" v:shadowOffsetX="8.50394"
+				v:shadowOffsetY="-8.50394"/>
 		<v:layer v:name="Flowchart" v:index="0"/>
 		<v:layer v:name="Connector" v:index="1"/>
 		<g id="shape84-1" v:mID="84" v:groupContext="shape" v:layerMember="0" transform="translate(28.1683,-2.13018)">
-			<title content="structured text">Process.84</title>
-			<desc content="structured text">pattern</desc>
+			<title>Process.84</title>
+			<desc>conditionalElement</desc>
 			<v:custProps>
 				<v:cp v:nameU="Cost" v:lbl="Cost" v:type="7" v:format="@" v:langID="1033"/>
 				<v:cp v:nameU="Duration" v:lbl="Duration" v:type="2" v:langID="1033"/>
@@ -37,36 +42,37 @@
 				<v:ud v:nameU="visVersion" v:val="VT0(11):26"/>
 			</v:userDefs>
 			<v:textBlock v:margins="rect(2,2,2,2)" v:tabSpace="42.5197"/>
-			<v:textRect cx="21.4689" cy="27.71" width="42.94" height="13.3396"/>
-			<rect x="0" y="21.0402" width="42.9378" height="13.3396" rx="2.83465" ry="2.83465" class="st1"/>
-			<text x="9.02" y="30.11" class="st2" v:langID="2057"><v:paragraph v:horizAlign="1"/><v:tabList/>pattern</text>		</g>
-		<g id="shape92-4" v:mID="92" v:groupContext="shape" v:layerMember="1" transform="translate(71.1061,-5.0483)">
-			<title content="structured text">Dynamic connector.92</title>
-			<path d="M0 30.63 L6.59 30.63 A5.66929 5.66929 -180 0 0 12.26 24.96 L12.26 14.62 A5.66929 5.66929 -180 0 0 6.59 8.95        L-15.8 8.95 A5.66929 5.66929 -180 0 0 -21.47 14.62 L-21.47 21.2" class="st3"/>
+			<v:textRect cx="40.6028" cy="28.2299" width="81.21" height="13.3396"/>
+			<rect x="0" y="21.5601" width="81.2056" height="13.3396" rx="2.83465" ry="2.83465" class="st1"/>
+			<text x="6.8" y="30.63" class="st2" v:langID="2057"><v:paragraph v:horizAlign="1"/><v:tabList/>conditionalElement</text>		</g>
+		<g id="shape92-4" v:mID="92" v:groupContext="shape" v:layerMember="1" transform="translate(109.374,-5.0483)">
+			<title>Dynamic connector.92</title>
+			<path d="M0 31.15 L5.31 31.15 A5.31496 5.31496 -180 0 0 10.63 25.83 L10.63 19.52 A5.66929 5.66929 -180 0 0 4.96 13.85
+						 L-35.29 13.85 A5.31496 5.31496 -180 0 0 -40.6 19.16 L-40.6 21.72" class="st3"/>
 		</g>
 		<g id="shape130-10" v:mID="130" v:groupContext="shape" v:layerMember="1;0" transform="translate(0.24,-2.96391)">
-			<title content="structured text">On-page reference.130</title>
+			<title>On-page reference.130</title>
 			<v:userDefs>
 				<v:ud v:nameU="visVersion" v:val="VT0(11):26"/>
 			</v:userDefs>
 			<v:textBlock v:margins="rect(2,2,2,2)" v:tabSpace="42.5197"/>
-			<path d="M0 28.54 A5.83609 5.83609 0 1 1 11.67 28.54 A5.83609 5.83609 0 0 1 0 28.54 Z" class="st1"/>
+			<path d="M0 29.06 A5.83609 5.83609 0 1 1 11.67 29.06 A5.83609 5.83609 0 0 1 0 29.06 Z" class="st1"/>
 		</g>
 		<g id="shape131-12" v:mID="131" v:groupContext="shape" v:layerMember="1" transform="translate(11.9122,-1.71339)">
-			<title content="structured text">Dynamic connector.131</title>
-			<path d="M0 27.29 L13.5 27.29" class="st3"/>
+			<title>Dynamic connector.131</title>
+			<path d="M0 27.81 L13.5 27.81" class="st3"/>
 		</g>
-		<g id="shape132-17" v:mID="132" v:groupContext="shape" v:layerMember="1;0" transform="translate(95.0338,-2.96391)">
-			<title content="structured text">On-page reference.132</title>
+		<g id="shape132-17" v:mID="132" v:groupContext="shape" v:layerMember="1;0" transform="translate(133.135,-2.96391)">
+			<title>On-page reference.132</title>
 			<v:userDefs>
 				<v:ud v:nameU="visVersion" v:val="VT0(11):26"/>
 			</v:userDefs>
 			<v:textBlock v:margins="rect(2,2,2,2)" v:tabSpace="42.5197"/>
-			<path d="M0 28.54 A5.83609 5.83609 0 1 1 11.67 28.54 A5.83609 5.83609 0 0 1 0 28.54 Z" class="st1"/>
+			<path d="M0 29.06 A5.83609 5.83609 0 1 1 11.67 29.06 A5.83609 5.83609 0 0 1 0 29.06 Z" class="st1"/>
 		</g>
-		<g id="shape133-19" v:mID="133" v:groupContext="shape" v:layerMember="1" transform="translate(71.1061,-1.71339)">
-			<title content="structured text">Dynamic connector.133</title>
-			<path d="M0 27.29 L21.17 27.29" class="st3"/>
+		<g id="shape133-19" v:mID="133" v:groupContext="shape" v:layerMember="1" transform="translate(109.374,-1.71339)">
+			<title>Dynamic connector.133</title>
+			<path d="M0 27.81 L21 27.81" class="st3"/>
 		</g>
 	</g>
-</svg>
\ No newline at end of file
+</svg>




More information about the jboss-svn-commits mailing list