Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ConfigurationElement |
|
| 1.0;1 |
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.rcp.configuration; | |
17 | ||
18 | import java.io.Writer; | |
19 | ||
20 | import org.eclipse.core.runtime.IConfigurationElement; | |
21 | ||
22 | /** | |
23 | * <code>ConfigurationElement</code> を表すインターフェースです。<br /> | |
24 | * | |
25 | * @see IConfigurationElement | |
26 | * @author y-komori | |
27 | */ | |
28 | public interface ConfigurationElement { | |
29 | /** | |
30 | * {@link ConfigurationWriter} を設定します。<br /> | |
31 | * | |
32 | * @param writer | |
33 | * {@link ConfigurationWriter} オブジェクト | |
34 | */ | |
35 | public void setConfigurationWriter(ConfigurationWriter writer); | |
36 | ||
37 | /** | |
38 | * 指定した {@link Writer} に対してコンフィグレーションを書き出します。<br /> | |
39 | * | |
40 | * @param writer | |
41 | * コンフィグレーション書き出し対象の {@link Writer} オブジェクト | |
42 | */ | |
43 | public void writeConfiguration(Writer writer); | |
44 | ||
45 | /** | |
46 | * コンフィグレーション書き出し時のインデントレベルを設定します。<br /> | |
47 | * | |
48 | * @param level | |
49 | * インデントレベル | |
50 | */ | |
51 | public void setLevel(int level); | |
52 | } |