站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 jaxrpc API Documentation 英文版文档

MethodTarget (JAXRPC API) - JBoss 3.2.7 jaxrpc API Documentation 英文版文档


org.apache.axis.encoding
Class MethodTarget

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

public class MethodTarget
extends Object
implements Target


Constructor Summary
MethodTarget(Object targetObject, Method targetMethod)
          Construct a target whose value is set via a method
MethodTarget(Object targetObject, String methodName)
          Construct a target whose value is set via a method
 
Method Summary
 void set(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
 

Constructor Detail

MethodTarget

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

Parameters:
targetObject - is the object containing the value to be set
targetMethod - is the Method used to set the value

MethodTarget

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

Parameters:
targetObject - is the object containing the value to be set
methodName - is the name of the Method
Method Detail

set

public void set(Object value)
         throws SAXException
Set the target's value by invoking the targetMethod.

Specified by:
set in interface Target
Parameters:
value - is the new Object value
Throws:
SAXException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.