Java Platform 1.2
Beta 4

Class java.beans.MethodDescriptor

java.lang.Object
  |
  +--java.beans.FeatureDescriptor
        |
        +--java.beans.MethodDescriptor

public class MethodDescriptor
extends FeatureDescriptor
A MethodDescriptor describes a particular method that a Java Bean supports for external access from other components.


Constructor Summary
MethodDescriptor(Method method, ParameterDescriptor[] parameterDescriptors)
           
MethodDescriptor(Method method)
           
 
Method Summary
 Method getMethod()
           
 ParameterDescriptor[] getParameterDescriptors()
           
 
Methods inherited from class java.beans.FeatureDescriptor
attributeNames , getDisplayName , getName , getShortDescription , getValue , isExpert , isHidden , isPreferred , setDisplayName , setExpert , setHidden , setName , setPreferred , setShortDescription , setValue
 
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

Constructor Detail

MethodDescriptor

public MethodDescriptor(Method method)
Parameters:
method - The low-level method information.

MethodDescriptor

public MethodDescriptor(Method method,
                        ParameterDescriptor[] parameterDescriptors)
Parameters:
method - The low-level method information.
parameterDescriptors - Descriptive information for each of the method's parameters.
Method Detail

getMethod

public Method getMethod()
Returns:
The low-level description of the method

getParameterDescriptors

public ParameterDescriptor[] getParameterDescriptors()
Returns:
The locale-independent names of the parameters. May return a null array if the parameter names aren't known.

Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.