JavaTM Platform
Standard Ed. 6

java.beans
클래스 MethodDescriptor

java.lang.Object 
  상위를 확장 java.beans.FeatureDescriptor 
      상위를 확장 java.beans.MethodDescriptor


public class MethodDescriptor
extends FeatureDescriptor

MethodDescriptor 는, 그 외의 컴퍼넌트로부터의 외부 액세스를 위해서(때문에) Java Bean 로 지원되는 특정의 메소드를 기술합니다.


생성자 의 개요
MethodDescriptor (Method  method)
          Method 로부터 MethodDescriptor 를 구축합니다.
MethodDescriptor (Method  method, ParameterDescriptor [] parameterDescriptors)
          Method 로부터 MethodDescriptor 를 구축해, 메소드의 각 파라미터에 대해 설명적인 정보를 제공합니다.
 
메소드의 개요
 Method getMethod ()
          이 MethodDescriptor 가 캡슐화하는 메소드를 가져옵니다.
 ParameterDescriptor [] getParameterDescriptors ()
          이 MethodDescriptor 의 메소드의 각 파라미터에 대해 ParameterDescriptor 를 가져옵니다.
 
클래스 java.beans. FeatureDescriptor 로부터 상속된 메소드
attributeNames , getDisplayName , getName , getShortDescription , getValue , isExpert , isHidden , isPreferred , setDisplayName , setExpert , setHidden , setName , setPreferred , setShortDescription , setValue
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

생성자 의 상세

MethodDescriptor

public MethodDescriptor(Method  method)
Method 로부터 MethodDescriptor 를 구축합니다.

파라미터:
method - 저레벨의 메소드 정보

MethodDescriptor

public MethodDescriptor(Method  method,
                        ParameterDescriptor [] parameterDescriptors)
Method 로부터 MethodDescriptor 를 구축해, 메소드의 각 파라미터에 대해 설명적인 정보를 제공합니다.

파라미터:
method - 저레벨의 메소드 정보
parameterDescriptors - 메소드의 각 파라미터에 관한 설명적인 정보
메소드의 상세

getMethod

public Method  getMethod()
이 MethodDescriptor 가 캡슐화하는 메소드를 가져옵니다.

반환값:
메소드의 저레벨인 설명

getParameterDescriptors

public ParameterDescriptor [] getParameterDescriptors()
이 MethodDescriptor 의 메소드의 각 파라미터에 대해 ParameterDescriptor 를 가져옵니다.

반환값:
로케일에 의존하지 않는, 파라미터의 이름. 파라미터명이 불명한 경우, null 배열이 반환되는 일이 있다

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.