View Javadoc

1   /*
2    * Copyright 2004-2008 the Seasar Foundation and the Others.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 
13   * either express or implied. See the License for the specific language
14   * governing permissions and limitations under the License.
15   */
16  package org.seasar.uruma.component.spec;
17  
18  import java.util.ArrayList;
19  import java.util.List;
20  
21  import org.seasar.uruma.component.UIElement;
22  import org.seasar.uruma.util.AssertionUtil;
23  
24  /**
25   * GUI コンポーネントの属性パラメータ情報を取得するためのユーティリティクラスです。<br />
26   * 
27   * @author y-komori
28   */
29  public class UIComponentSpecUtil {
30      /**
31       * 指定された GUI コンポーネントに関する属性パラメータ情報のリストを取得します。<br />
32       * 
33       * @param uiElementClass
34       *            GUI コンポーネントの {@link Class} オブジェクト
35       * @return 属性パラメータ情報のリスト
36       */
37      public static List<ParamSpec> getParamSpecs(
38              final Class<? extends UIElement> uiElementClass) {
39          AssertionUtil.assertNotNull("uiElementClass", uiElementClass);
40          List<ParamSpec> result = new ArrayList<ParamSpec>();
41  
42          // TODO 要実装
43  
44          return result;
45      }
46  }