Package com.sun.facelets.tag

Examples of com.sun.facelets.tag.MethodRule$MethodBindingMetadata


     */
    private MetaRule getItemLabelMethodRule() {
        final Class[] paramList = new Class[] { Object.class };

        logger.info("getItemLabelMethodRule");
        return new MethodRule(ITEM_LABEL_METHOD_ATTRIBUTE_NAME, String.class,
                paramList);
    }
View Full Code Here


    private MetaRule getSuggestedItemsMethodRule(TagAttribute maxItems) {
        final Class[] paramList = maxItems == null ? new Class[] { String.class }
                : new Class[] { String.class, Integer.class };

        logger.info("getSuggestedItemsMethodRule: " + maxItems);
        return new MethodRule(SUGGESTED_ITEMS_METHOD_ATTRIBUTE_NAME,
                List.class, paramList);
    }
View Full Code Here

  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
    Class[] itemSelectEventClass = new Class[]{ItemSelectEvent.class};
   
    metaRuleset.addRule(new MethodRule("itemSelectListener", List.class, itemSelectEventClass));
   
    return metaRuleset;
  }
View Full Code Here

  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
    Class[] paramList = new Class[]{String.class};
   
    MetaRule metaRule = new MethodRule("completeMethod", List.class, paramList);
    metaRuleset.addRule(metaRule);
   
    return metaRuleset;
  }
View Full Code Here

  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
    Class[] eventClasses = new Class[]{DragDropEvent.class};
   
    metaRuleset.addRule(new MethodRule("dropListener", null, eventClasses));
   
    return metaRuleset; 
  }
View Full Code Here

  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
    Class[] fileUploadEventClass = new Class[]{FileUploadEvent.class};
   
    metaRuleset.addRule(new MethodRule("fileUploadListener", List.class, fileUploadEventClass));
   
    return metaRuleset;
  }
View Full Code Here

  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
    Class[] eventClasses = new Class[]{RateEvent.class};
   
    metaRuleset.addRule(new MethodRule("rateListener", null, eventClasses));
   
    return metaRuleset; 
  }
View Full Code Here

    MetaRuleset metaRuleset = super.createMetaRuleset(type);
    Class[] selectEventClasses = new Class[]{NodeSelectEvent.class};
    Class[] expandEventClasses = new Class[]{NodeExpandEvent.class};
    Class[] collapseEventClasses = new Class[]{NodeCollapseEvent.class};
   
    metaRuleset.addRule(new MethodRule("nodeSelectListener", List.class, selectEventClasses));
    metaRuleset.addRule(new MethodRule("nodeExpandListener", List.class, expandEventClasses));
    metaRuleset.addRule(new MethodRule("nodeCollapseListener", List.class, collapseEventClasses));
   
    return metaRuleset;
  }
View Full Code Here

  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
    Class[] paramList = new Class[]{String.class, String[].class};
   
    MetaRule metaRule = new MethodRule("commandHandler", String.class, paramList);
    metaRuleset.addRule(metaRule);
   
    return metaRuleset;
  }
View Full Code Here

  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
    Class[] eventClasses = new Class[]{IdleEvent.class};
   
    metaRuleset.addRule(new MethodRule("idleListener", null, eventClasses));
   
    return metaRuleset; 
  }
View Full Code Here

TOP

Related Classes of com.sun.facelets.tag.MethodRule$MethodBindingMetadata

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.