|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object extended by java.beans.FeatureDescriptor extended by java.beans.MethodDescriptor
public class MethodDescriptor
A MethodDescriptor describes a particular method that a Java Bean supports for external access from other components.
Constructor Summary | |
---|---|
MethodDescriptor(Method method)
Constructs a MethodDescriptor from a
Method . |
|
MethodDescriptor(Method method,
ParameterDescriptor[] parameterDescriptors)
Constructs a MethodDescriptor from a
Method providing descriptive information for each
of the method's parameters. |
Method Summary | |
---|---|
Method |
getMethod()
Gets the method that this MethodDescriptor encapsualtes. |
ParameterDescriptor[] |
getParameterDescriptors()
Gets the ParameterDescriptor for each of this MethodDescriptor's method's parameters. |
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 |
---|
public MethodDescriptor(Method method)
MethodDescriptor
from a
Method
.
method
- The low-level method information.public MethodDescriptor(Method method, ParameterDescriptor[] parameterDescriptors)
MethodDescriptor
from a
Method
providing descriptive information for each
of the method's parameters.
method
- The low-level method information.parameterDescriptors
- Descriptive information for each of the
method's parameters.Method Detail |
---|
public Method getMethod()
public ParameterDescriptor[] getParameterDescriptors()
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.