Author: mszefler
Date: Thu Oct 26 06:05:42 2006
New Revision: 467988

URL: http://svn.apache.org/viewvc?view=rev&rev=467988
Log:
Forgot to checkin


Added:
    
incubator/ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/WhileActivity11.java
   (with props)

Added: 
incubator/ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/WhileActivity11.java
URL: 
http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/WhileActivity11.java?view=auto&rev=467988
==============================================================================
--- 
incubator/ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/WhileActivity11.java
 (added)
+++ 
incubator/ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/WhileActivity11.java
 Thu Oct 26 06:05:42 2006
@@ -0,0 +1,24 @@
+package org.apache.ode.bpel.compiler.bom;
+
+import org.w3c.dom.Element;
+
+/**
+ * BPEL 1.1 version of the /while/ activity.
+ * @author Maciej Szefler - m s z e f l e r @ g m a i l . c o m
+ *
+ */
+public class WhileActivity11 extends WhileActivity {
+
+    public WhileActivity11(Element el) {
+        super(el);
+    }
+
+    @Override
+    public Expression getCondition() {
+        // BPEL 1.1 has the condition in an attribute, not an element.
+        return isAttributeSet("condition") ? 
+                new Expression11(getElement(), 
getElement().getAttributeNode("condition")) : null;
+    }
+
+    
+}

Propchange: 
incubator/ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/WhileActivity11.java
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to