Package jbprocess.bpel.xpath

Examples of jbprocess.bpel.xpath.XpathVariableRefExpression


      fieldRefData.xsdPropQName = new QName(el.getTargetNamespace(),el.getName(),schemaNsPrefixMap.get(el.getTargetNamespace()));
    }   
   
    fieldRefData.variable = resolveVariable(fieldRefData.scopeStack,reference.getSimpleName());
    if (fieldRefData.variable != null){
      XpathVariableRefExpression xpathVarRef = xpathFactory.createVariableReference();
      xpathVarRef.setVariableName(fieldRefData.variable.getName());
      xpathVarRef.setType(fieldRefData.xsdTypeQName);
      XpathTypeMapping xpathTypeMap = xpathFactory.createTypeMapping();
      XpathExprType varXpathType = xpathTypeMap.getXpathExprType(reference.getType().getQualifiedName());
      xpathVarRef.setXpathType(varXpathType);
      fieldRefData.xpathExpr = xpathVarRef;
    }
    fieldRefData.partnerLink = fieldPartnerLinkMap.get(reference.getDeclaration());
    if (fieldRefData.partnerLink != null){
      fieldRefData.portType = typePortTypeMap.get(reference.getType().getDeclaration());
View Full Code Here


      refNodeData.xsdPropQName = new QName(el.getTargetNamespace(),el.getName(),schemaNsPrefixMap.get(el.getTargetNamespace()));
    }   
   
    refNodeData.variable = resolveVariable(refNodeData.scopeStack,reference.getSimpleName());
    if (refNodeData.variable != null){
      XpathVariableRefExpression xpathVarRef = xpathFactory.createVariableReference();
      xpathVarRef.setVariableName(refNodeData.variable.getName());
      xpathVarRef.setType(refNodeData.xsdTypeQName);
      XpathTypeMapping xpathTypeMap = xpathFactory.createTypeMapping();
      XpathExprType varXpathType = xpathTypeMap.getXpathExprType(reference.getType().getQualifiedName());
      xpathVarRef.setXpathType(varXpathType);
      refNodeData.xpathExpr = xpathVarRef;
    }
   
    exitReference(reference);
  }
View Full Code Here

      // add increment activity to curr scope
          operandNodeData.scopeStack.peek().addActivity(assign);
     
      // set variable reference = temp variable
          operandNodeData.variable = tmpVar;
          XpathVariableRefExpression xpathVarRef = xpathFactory.createVariableReference();
          xpathVarRef.setVariableName(tmpVar.getName());
          xpathVarRef.setType(typeNodeData.xsdTypeQName);
          operandNodeData.xpathExpr = xpathVarRef;
         
        } catch (Exception e) {}
     
      }
View Full Code Here

TOP

Related Classes of jbprocess.bpel.xpath.XpathVariableRefExpression

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.