Examples of allowedValues()


Examples of org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute.allowedValues()

        String name = simpleName.substring(3, 4).toLowerCase(Locale.ENGLISH) + simpleName.substring(4);
        if (ignoredProperties.contains(name)) {
          return;
        }
        PropertyInfo propertyInfo = new PropertyInfo(name);
        propertyInfo.setAllowedValues(uiComponentTagAttribute.allowedValues());
        if (tagAttribute != null) {
          propertyInfo.setBodyContent(tagAttribute.bodyContent());
          propertyInfo.setTagAttribute(true);
        }
        String type;
View Full Code Here

Examples of org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute.allowedValues()

      if (StringUtils.isNotEmpty(attributeTag.defaultValue())) {
        description.append("<br />Default: <code>")
            .append(attributeTag.defaultValue())
            .append("</code>");
      }
      if (attributeTag.allowedValues().length > 0) {
        description.append("<br />Allowed Values: <code>")
            .append(Arrays.toString(attributeTag.allowedValues()))
            .append("</code>");
      }
    }
View Full Code Here

Examples of org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute.allowedValues()

            .append(attributeTag.defaultValue())
            .append("</code>");
      }
      if (attributeTag.allowedValues().length > 0) {
        description.append("<br />Allowed Values: <code>")
            .append(Arrays.toString(attributeTag.allowedValues()))
            .append("</code>");
      }
    }
    ExtensionTag extensionTag = decl.getAnnotation(ExtensionTag.class);
    if (extensionTag != null) {
View Full Code Here

Examples of org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute.allowedValues()

      if (StringUtils.isNotEmpty(attributeTag.defaultValue())) {
        description.append("<br />Default: <code>")
            .append(attributeTag.defaultValue())
            .append("</code>");
      }
      if (attributeTag.allowedValues().length > 0) {
        description.append("<br />Allowed Values: <code>")
            .append(Arrays.toString(attributeTag.allowedValues()))
            .append("</code>");
      }
    }
View Full Code Here

Examples of org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute.allowedValues()

            .append(attributeTag.defaultValue())
            .append("</code>");
      }
      if (attributeTag.allowedValues().length > 0) {
        description.append("<br />Allowed Values: <code>")
            .append(Arrays.toString(attributeTag.allowedValues()))
            .append("</code>");
      }
    }
    ExtensionTag extensionTag = decl.getAnnotation(ExtensionTag.class);
    if (extensionTag != null) {
View Full Code Here

Examples of org.infinispan.config.ConfigurationAttribute.allowedValues()

                     if (childElement) {
                        sb.append("<tr class=\"b\">");
                        sb.append("<td>").append("<code>" + a.name() +"</code>").append("</td>\n");
                       
                        //if allowed values specified for attribute, use it
                        if (a.allowedValues().length() > 0) {
                           sb.append("<td>").append("<code>" + a.allowedValues()+"</code>").append("</td>\n");
                        }
                        //otherwise, reflect method and use parameter as allowed value
                        else if (isSetterMethod(m)) {
                           sb.append("<td>").append("<code>" + m.getParameterTypes()[0].getSimpleName() + "</code>").append("</td>\n");
View Full Code Here

Examples of org.infinispan.config.ConfigurationAttribute.allowedValues()

                        sb.append("<tr class=\"b\">");
                        sb.append("<td>").append("<code>" + a.name() +"</code>").append("</td>\n");
                       
                        //if allowed values specified for attribute, use it
                        if (a.allowedValues().length() > 0) {
                           sb.append("<td>").append("<code>" + a.allowedValues()+"</code>").append("</td>\n");
                        }
                        //otherwise, reflect method and use parameter as allowed value
                        else if (isSetterMethod(m)) {
                           sb.append("<td>").append("<code>" + m.getParameterTypes()[0].getSimpleName() + "</code>").append("</td>\n");
                        }
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.