Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.axis.encoding
Class MethodTarget  view MethodTarget download MethodTarget.java

java.lang.Object
  extended byorg.apache.axis.encoding.MethodTarget
All Implemented Interfaces:
Target

public class MethodTarget
extends java.lang.Object
implements Target


Field Summary
protected static org.apache.commons.logging.Log log
           
private static java.lang.Class[] objArg
           
private  java.lang.reflect.Method targetMethod
           
private  java.lang.Object targetObject
           
 
Constructor Summary
MethodTarget(java.lang.Object targetObject, java.lang.reflect.Method targetMethod)
          Construct a target whose value is set via a method
MethodTarget(java.lang.Object targetObject, java.lang.String methodName)
          Construct a target whose value is set via a method
 
Method Summary
 void set(java.lang.Object value)
          Set the target's value by invoking the targetMethod.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log

targetObject

private java.lang.Object targetObject

targetMethod

private java.lang.reflect.Method targetMethod

objArg

private static final java.lang.Class[] objArg
Constructor Detail

MethodTarget

public MethodTarget(java.lang.Object targetObject,
                    java.lang.reflect.Method targetMethod)
Construct a target whose value is set via a method


MethodTarget

public MethodTarget(java.lang.Object targetObject,
                    java.lang.String methodName)
             throws java.lang.NoSuchMethodException
Construct a target whose value is set via a method

Method Detail

set

public void set(java.lang.Object value)
         throws org.xml.sax.SAXException
Set the target's value by invoking the targetMethod.

Specified by:
set in interface Target