org.apache.myfaces.custom.facelets.tag
Class MethodRule

java.lang.Object
  extended by javax.faces.view.facelets.MetaRule
      extended by org.apache.myfaces.custom.facelets.tag.MethodRule

public final class MethodRule
extends javax.faces.view.facelets.MetaRule

Optional Rule for binding Method[Binding|Expression] properties

Author:
Mike Kienenberger, Jacob Hookom

Constructor Summary
MethodRule(String methodName, Class<?> returnTypeClass, Class<?>[] params)
           
MethodRule(String methodName, String propertyName, Class<?> returnTypeClass, Class<?>[] params)
           
 
Method Summary
 javax.faces.view.facelets.Metadata applyRule(String name, javax.faces.view.facelets.TagAttribute attribute, javax.faces.view.facelets.MetadataTarget meta)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodRule

public MethodRule(String methodName,
                  Class<?> returnTypeClass,
                  Class<?>[] params)

MethodRule

public MethodRule(String methodName,
                  String propertyName,
                  Class<?> returnTypeClass,
                  Class<?>[] params)
Method Detail

applyRule

public javax.faces.view.facelets.Metadata applyRule(String name,
                                                    javax.faces.view.facelets.TagAttribute attribute,
                                                    javax.faces.view.facelets.MetadataTarget meta)
Specified by:
applyRule in class javax.faces.view.facelets.MetaRule


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.