01: /*
02: * Copyright 2004, 2005, 2006 Odysseus Software GmbH
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
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, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package de.odysseus.calyxo.panels.conf;
17:
18: import java.util.Iterator;
19:
20: import de.odysseus.calyxo.base.conf.Config;
21:
22: /**
23: * Namespace configuration element.
24: * A namespace is a container for named panels, params and lists.
25: *
26: * @author Christoph Beck
27: */
28: public interface NamespaceConfig extends Config {
29: /**
30: * Get {@link ParamConfig} elements
31: */
32: public Iterator getParamConfigs();
33:
34: /**
35: * Get {@link ParamConfig} element by name
36: */
37: public ParamConfig getParamConfig(String name);
38:
39: /**
40: * Get {@link PanelConfig} elements
41: */
42: public Iterator getPanelConfigs();
43:
44: /**
45: * Get {@link PanelConfig} element by name
46: */
47: public PanelConfig getPanelConfig(String name);
48:
49: /**
50: * Get {@link ListConfig} elements
51: */
52: public ListConfig getListConfig(String name);
53:
54: /**
55: * Get {@link ListConfig} element by name
56: */
57: public Iterator getListConfigs();
58: }
|