Examples of parameters()


Examples of cn.com.annotations.Link.parameters()

            // 设定链接属性
            if (!StringUtil.isEmpty(link.url())) {
                href = new StringBuilder(link.url());
            }
            // 设定参数列表
            if (link.parameters() != null && link.parameters().length > 0) {
                if (href.indexOf(_PARAMETER_SIGN_CHAR) == -1) {
                    href.append(_PARAMETER_SIGN_CHAR);
                }
                int idx = 0;
                for (String parameter : link.parameters()) {
View Full Code Here

Examples of cn.com.annotations.Link.parameters()

            // 设定链接属性
            if (!StringUtil.isEmpty(link.url())) {
                href = new StringBuilder(link.url());
            }
            // 设定参数列表
            if (link.parameters() != null && link.parameters().length > 0) {
                if (href.indexOf(_PARAMETER_SIGN_CHAR) == -1) {
                    href.append(_PARAMETER_SIGN_CHAR);
                }
                int idx = 0;
                for (String parameter : link.parameters()) {
View Full Code Here

Examples of cn.com.annotations.Link.parameters()

            if (link.parameters() != null && link.parameters().length > 0) {
                if (href.indexOf(_PARAMETER_SIGN_CHAR) == -1) {
                    href.append(_PARAMETER_SIGN_CHAR);
                }
                int idx = 0;
                for (String parameter : link.parameters()) {
                    if (idx++ > 0) {
                        href.append(_PARAMETER_CONCATE_CHAR);
                    }
                    settingLinkHref(href, parameter, e);
                }
View Full Code Here

Examples of com.asakusafw.vocabulary.batch.Batch.parameters()

                    description.getName()));
            return new BatchSpec(batchId);
        } else {
            String comment = normalizeComment(info.comment());
            boolean strict = info.strict();
            List<Parameter> parameters = toParameters(description, info.parameters());
            return new BatchSpec(info.name(), comment, strict, parameters);
        }
    }

    private List<Parameter> toParameters(
View Full Code Here

Examples of com.byteslounge.cdi.annotation.Property.parameters()

                try {
                    Object value = propertyResolverBean.resolveProperty(key, bundleName, ctx);
                    if (logger.isDebugEnabled()) {
                        logger.debug("Resolved property with key " + key + " to " + value);
                    }
                    if (annotation.parameters().length > 0) {
                        if (field.getType().equals(String.class)) {
                            value = MessageUtils.formatMessage((String) value, (Object[]) annotation.parameters());
                        } else {
                            logger.warn("Found property with defined parameters for formatting but property type is not of type "
                                    + String.class.getSimpleName() + ". Skipping message format... [" + field.getDeclaringClass().getSimpleName() + "."
View Full Code Here

Examples of com.gammastream.validity.GSVRule.parameters()

        GSVRule rule;

        rule = new GSVRule("compareTo","com.gammastream.validity.GSVNumberMethods","compareTo","","");
        dict = new NSMutableDictionary();
        rule.setParameters(dict);
        rule.parameters().setObjectForKey("","Operator");
        rule.parameters().setObjectForKey("","RightOperand");
        rules.addObject(rule);

        rule = new GSVRule("isPositiveNumber","com.gammastream.validity.GSVNumberMethods","isPositiveNumber","","");
        rules.addObject(rule);
View Full Code Here

Examples of com.groupon.odo.plugin.ResponseOverride.parameters()

                        // Convert to the right type and get annotation information
                        if (annotation.annotationType().toString().endsWith(Constants.PLUGIN_RESPONSE_OVERRIDE_CLASS)) {
                            ResponseOverride roAnnotation = (ResponseOverride)annotation;
                            newMethod.setHttpCode(roAnnotation.httpCode());
                            description = roAnnotation.description();
                            argNames = roAnnotation.parameters();
                            newMethod.setOverrideVersion(1);
                        }
                        else if(annotation.annotationType().toString().endsWith(Constants.PLUGIN_RESPONSE_OVERRIDE_V2_CLASS)) {
                            com.groupon.odo.plugin.v2.ResponseOverride roAnnotation = (com.groupon.odo.plugin.v2.ResponseOverride) annotation;
                            description = roAnnotation.description();
View Full Code Here

Examples of com.groupon.odo.plugin.ResponseOverride.parameters()

                            newMethod.setOverrideVersion(1);
                        }
                        else if(annotation.annotationType().toString().endsWith(Constants.PLUGIN_RESPONSE_OVERRIDE_V2_CLASS)) {
                            com.groupon.odo.plugin.v2.ResponseOverride roAnnotation = (com.groupon.odo.plugin.v2.ResponseOverride) annotation;
                            description = roAnnotation.description();
                            argNames = roAnnotation.parameters();
                            newMethod.setBlockRequest(roAnnotation.blockRequest());
                            newMethod.setOverrideVersion(2);
                        }
                        else
                            continue;
View Full Code Here

Examples of com.sun.javadoc.ExecutableMemberDoc.parameters()

                hasMethods = true;
            }
            String type = getTypeName(method.isStatic(), false, getReturnType(method));
            writer.println("<tr id=\"__"+id+"\" onclick=\"return on("+ id +")\">");
            writer.println("<td class=\"return\">" + type + "</td><td class=\"method\">");
            Parameter[] params = method.parameters();
            StringBuilder buff = new StringBuilder();
            StringBuilder buffSignature = new StringBuilder(name);
            buff.append('(');
            for (int j = 0; j < params.length; j++) {
                if (j > 0) {
View Full Code Here

Examples of com.sun.javadoc.MethodDoc.parameters()

    MethodDoc[] methods = targetClass.methods();
    outer : for (int i = 0; i < methods.length; ++i) {
      MethodDoc methodDoc = methods[i];
      if (methodSig.startsWith(methodDoc.name())) {
        possibleOverloads += "\n" + methodDoc.flatSignature();
        Parameter[] tryParams = methodDoc.parameters();
        if (resolvedParamTypes.length != tryParams.length) {
          // param count mismatch
          continue outer;
        }
        for (int j = 0; j < tryParams.length; ++j) {
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.