Package jbprocess.bpel.xpath

Examples of jbprocess.bpel.xpath.XpathStringExpression


      ASTNodeData arg = nodeDataStack.peek();
      try {
        if (targetNodeData.xpathExpr != null && arg.xpathExpr != null){
          xpathBinOperation.setOperator(xpathBinOp);
          if (targetNodeData.xpathLiteralType == XpathExprType.STRING_EXPR_TYPE){
            XpathStringExpression newStr = xpathFactory.createString();
            newStr.setString("'" + targetNodeData.xpathLiteralExpr.evaluate() + "'");
            xpathBinOperation.setLeftSide(newStr);
          } else
            xpathBinOperation.setLeftSide(targetNodeData.xpathExpr);
          if (arg.xpathLiteralType == XpathExprType.STRING_EXPR_TYPE){
            XpathStringExpression newStr = xpathFactory.createString();
            newStr.setString("'" + arg.xpathLiteralExpr.evaluate() + "'");
            xpathBinOperation.setRightSide(newStr);
          } else
            xpathBinOperation.setRightSide(arg.xpathExpr);
          invocationData.xpathExpr = xpathBinOperation;
          invocationData.xpathLiteralType = XpathExprType.BOOLEAN_EXPR_TYPE;
View Full Code Here


        literalData.xpathLiteralExpr = boolExpr;
        literalData.xpathExpr = boolExpr;
        resolveTypeReference(literal.getType(),literalData);
        literalData.xpathLiteralType = XpathExprType.BOOLEAN_EXPR_TYPE;
      } else {
        XpathStringExpression strExpr = xpathFactory.createString();
        strExpr.setString(literal.getValue().toString());
        literalData.xpathLiteralExpr = strExpr;
        literalData.xpathExpr = strExpr;
        resolveTypeReference(literal.getType(),literalData);     
        literalData.xpathLiteralType = XpathExprType.STRING_EXPR_TYPE;
      }
View Full Code Here

TOP

Related Classes of jbprocess.bpel.xpath.XpathStringExpression

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.