|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 모든 클래스 | ||||||||||
개요: 상자 | 필드 | constructor | 메소드 | 상세: 필드 | constructor | 메소드 |
이 인터페이스는 오브젝트가 NamingEnumerations 로 돌려주어질 때, 컨트롤을 돌려주는데 사용됩니다. 예를 들어, 서버가 검색 조작의 결과를 가지는 컨트롤을 돌려 보내는 경우, 서비스 프로바이더는 SearchResult 및 implement HasControls 의 양오브젝트의 NamingEnumeration 를 돌려줍니다.
NamingEnumeration enum = ectx.search((Name) name, filter, sctls); while (enum.hasMore()) { Object entry = enum.next(); // Get search result SearchResult res = (SearchResult) entry; // do something with it // Get entry controls if (entry instanceof HasControls) { Control[] entryCtls = ((HasControls) entry). getControls(); // do something with controls } }
메소드의 개요 | |
Control [] |
getControls ()
이 인터페이스를 구현하는 오브젝트로부터 Control 의 배열을 검출합니다. |
메소드의 상세 |
public Control [] getControls() throws NamingException
NamingException
- 에러이기 때문에 컨트롤을 돌려줄 수 없는 경우
|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 모든 클래스 | ||||||||||
개요: 상자 | 필드 | constructor | 메소드 | 상세: 필드 | constructor | 메소드 |
Java, Java 2 D, 및 JDBC 는 미국 및 그 외의 나라에 있어서의 미국 Sun Microsystems, Inc. 의 상표 혹은 등록상표입니다.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.