Examples of resolveFunction()


Examples of org.apache.ode.bpel.compiler.v2.xpath20.JaxpFunctionResolver.resolveFunction()

            if (node != null) {
                funcResolver = (JaxpFunctionResolver) node.getUserData(USER_DATA_KEY_FUNCTION_RESOLVER);
            }
        }

        return funcResolver.resolveFunction(name, 0);
    }

    /**
     * Evaluates function against arguments passed by XQuery
     *
 
View Full Code Here

Examples of org.apache.ode.bpel.elang.xpath20.compiler.JaxpFunctionResolver.resolveFunction()

            JaxpFunctionResolver funcResolver = null;
            if (node != null) {
                funcResolver = (JaxpFunctionResolver) node.getUserData(USER_DATA_KEY_FUNCTION_RESOLVER);
            }
            if (funcResolver != null) {
                function = funcResolver.resolveFunction(name, 0);
            }
        }

        return function;
    }
View Full Code Here

Examples of org.apache.ode.bpel.elang.xpath20.compiler.JaxpFunctionResolver.resolveFunction()

            JaxpFunctionResolver funcResolver = null;
            if (node != null) {
                funcResolver = (JaxpFunctionResolver) node.getUserData(USER_DATA_KEY_FUNCTION_RESOLVER);
            }
            if (funcResolver != null) {
                function = funcResolver.resolveFunction(name, 0);
            }
        }

        return function;
    }
View Full Code Here

Examples of org.apache.ode.bpel.elang.xpath20.runtime.JaxpFunctionResolver.resolveFunction()

            if (node != null) {
                funcResolver = (JaxpFunctionResolver) node.getUserData(USER_DATA_KEY_FUNCTION_RESOLVER);
            }
        }

        return funcResolver.resolveFunction(name, 0);
    }

    /**
     * Evaluates function against arguments passed by XQuery
     *
 
View Full Code Here

Examples of org.apache.ode.bpel.elang.xpath20.runtime.JaxpFunctionResolver.resolveFunction()

            if (node != null) {
                funcResolver = (JaxpFunctionResolver) node.getUserData(USER_DATA_KEY_FUNCTION_RESOLVER);
            }
        }

        return funcResolver.resolveFunction(name, 0);
    }

    /**
     * Evaluates function against arguments passed by XQuery
     *
 
View Full Code Here

Examples of org.apache.ode.bpel.rtrep.v2.xpath20.JaxpFunctionResolver.resolveFunction()

            if (node != null) {
                funcResolver = (JaxpFunctionResolver) node.getUserData(USER_DATA_KEY_FUNCTION_RESOLVER);
            }
        }

        return funcResolver.resolveFunction(name, 0);
    }

    /**
     * Evaluates function against arguments passed by XQuery
     *
 
View Full Code Here

Examples of org.exist.xquery.XQueryContext.resolveFunction()

        final ProcessMonitor pm = db.getProcessMonitor();

            //execute the XQuery
            try {
            final UserDefinedFunction function = context.resolveFunction(functionName, 0);
            if (function != null) {
                  context.getProfiler().traceQueryStart();
                  pm.queryStarted(context.getWatchDog());
                 
                  final FunctionCall call = new FunctionCall(context, function);
View Full Code Here

Examples of org.exist.xquery.XQueryContext.resolveFunction()

   
    final XQueryContext context = compiledQuery.getContext();
        //execute the XQuery
        try {
         
        final UserDefinedFunction function = context.resolveFunction(functionName, urls.length);
        if (function != null) {
          final List<Expression> args = new ArrayList<Expression>(urls.length);
          for (int i = 0; i < urls.length; i++)
            args.add(new LiteralValue(context, new AnyURIValue(urls[i])));
         
View Full Code Here

Examples of org.zkoss.xel.FunctionMapper.resolveFunction()

*/
        return resolveVariable(resolver, (String)_value, ctx);
      }
    } else if (_type == TokenType.FUNCTION) {
      final FunctionMapper mapper = ctx.getFunctionMapper();
      final Function fn = mapper.resolveFunction("", (String)_value);
      if (fn == null) { //cannot find the specified function
        throw new SSErrorXelException(SSError.NAME);
      }
      Object[] args = new Object[getOperands().size()];
      int j = 0;
View Full Code Here

Examples of org.zkoss.xel.FunctionMapper.resolveFunction()

      } else if (_subtype == TokenSubtype.VAR) { //refer to a variable
        sb.append(_value);
      }
    } else if (_type == TokenType.FUNCTION) {
      final FunctionMapper mapper = ctx.getFunctionMapper();
      final Function fn = mapper.resolveFunction("", (String)_value);
      if (fn == null) { //cannot find the specified function
        sb.append(SSError.NAME);
      } else {
        sb.append(_value).append("(");
        Collection opns = getOperands();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.