org.apache.taglibs.xtags.xpath
Class ReflectionAction
java.lang.Object
org.apache.taglibs.xtags.xpath.ReflectionAction
- All Implemented Interfaces:
- org.dom4j.rule.Action
public class ReflectionAction
- extends java.lang.Object
- implements org.dom4j.rule.Action
Calls a void method on an instance when the action is fired.
- Author:
- James Strachan
Field Summary |
protected static java.lang.Object[] |
NULL_ARGS
|
protected static java.lang.Class[] |
NULL_PARAMS
|
Constructor Summary |
ReflectionAction(java.lang.Object object,
java.lang.reflect.Method method)
|
ReflectionAction(java.lang.Object object,
java.lang.String methodName)
|
Method Summary |
void |
run(org.dom4j.Node node)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NULL_ARGS
protected static final java.lang.Object[] NULL_ARGS
NULL_PARAMS
protected static final java.lang.Class[] NULL_PARAMS
ReflectionAction
public ReflectionAction(java.lang.Object object,
java.lang.String methodName)
ReflectionAction
public ReflectionAction(java.lang.Object object,
java.lang.reflect.Method method)
run
public void run(org.dom4j.Node node)
throws java.lang.Exception
- Specified by:
run
in interface org.dom4j.rule.Action
- Throws:
java.lang.Exception
Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.