Examples of computeValue()


Examples of org.apache.commons.jxpath.ri.compiler.Expression.computeValue()

     */
    private static String keyFromPredicate(EvalContext context,
                Expression predicate) {
        Expression expr =
            ((NameAttributeTest) predicate).getNameTestExpression();
        return InfoSetUtil.stringValue(expr.computeValue(context));
    }

    /**
     * For a pointer that matches an actual node, returns 0.
     * For a pointer that does not match an actual node, but whose
View Full Code Here

Examples of org.apache.commons.jxpath.ri.compiler.Expression.computeValue()

    private static String keyFromPredicate(EvalContext context,
                Expression predicate)
    {
        Expression expr =
            ((NameAttributeTest) predicate).getNameTestExpression();
        return InfoSetUtil.stringValue(expr.computeValue(context));
    }

    /**
     * For a pointer that matches an actual node, returns 0.
     * For a pointer that does not match an actual node, but whose
View Full Code Here

Examples of org.apache.flex.forks.batik.css.engine.value.ValueManager.computeValue()

            result = getComputedStyle(p, null, propidx);
            sm.putParentRelative(propidx, true);
            sm.putInherited     (propidx, true);
        } else {
            // Maybe is it a relative value.
            result = vm.computeValue(elt, pseudo, this, propidx,
                                     sm, result);
        }
        if (value == null) {
            sm.putValue(propidx, result);
            sm.putNullCascaded(propidx, true);
View Full Code Here

Examples of org.apache.flex.forks.batik.css.engine.value.ValueManager.computeValue()

            result = getComputedStyle(p, null, propidx);
            sm.putParentRelative(propidx, true);
            sm.putInherited     (propidx, true);
        } else {
            // Maybe is it a relative value.
            result = vm.computeValue(elt, pseudo, this, propidx,
                                     sm, result);
        }
        if (value == null) {
            sm.putValue(propidx, result);
            sm.putNullCascaded(propidx, true);
View Full Code Here

Examples of org.crsh.cli.impl.invocation.ParameterMatch.computeValue()

  }

  static void bind(InvocationMatch<?> match, Iterable<ParameterDescriptor> parameters, Object target, Object[] args) throws SyntaxException, InvocationException {
    for (ParameterDescriptor parameter : parameters) {
      ParameterMatch parameterMatch = match.getParameter(parameter);
      Object value = parameterMatch != null ? parameterMatch.computeValue() : null;
      if (value == null) {
        if (parameter.getDeclaredType().isPrimitive() || parameter.isRequired()) {
          if (parameter instanceof ArgumentDescriptor) {
            ArgumentDescriptor argument = (ArgumentDescriptor)parameter;
            throw new SyntaxException("Missing argument " + argument.getName());
View Full Code Here

Examples of org.glassfish.flashlight.impl.core.ComputedParamsHandlerManager.computeValue()

                int size = paramNames.length;
                Object[] tempArgs = args;
                args = new Object[size];
                for (int i = 0; i < size; i++) {
                    if (probeIndices[i] == -1) {
                        args[i] = cphm.computeValue(paramNames[i]);
                    }
                    else {
                        args[i] = tempArgs[probeIndices[i]];
                    }
                }
View Full Code Here

Examples of org.jfree.report.expressions.Expression.computeValue()

    if (ex != null)
    {
      try
      {
        ex.setRuntime(er);
        value = ex.computeValue();
      }
      finally
      {
        ex.setRuntime(null);
      }
View Full Code Here

Examples of org.jfree.report.expressions.Expression.computeValue()

      {
        groupingExpression.setRuntime(ler);
        final Object groupFinished;
        try
        {
          groupFinished = groupingExpression.computeValue();
        }
        finally
        {
          groupingExpression.setRuntime(null);
        }
View Full Code Here

Examples of org.jfree.report.expressions.Expression.computeValue()

      final String name = (String) entry.getKey();
      final Expression expression = (Expression) entry.getValue();
      try
      {
        expression.setRuntime(runtime);
        final Object value = expression.computeValue();
        final StyleKey keyByName =
            StyleKeyRegistry.getRegistry().findKeyByName(name);

        if (value instanceof CSSValue)
        {
View Full Code Here

Examples of org.jfree.report.expressions.Expression.computeValue()

        final String name = (String) entry.getKey();
        final Expression expression = (Expression) entry.getValue();
        try
        {
          expression.setRuntime(runtime);
          final Object value = expression.computeValue();
          if (attributes.isReadOnly())
          {
            attributes = new AttributeMap(attributes);
          }
          attributes.setAttribute(namespace, name, value);
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.