KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > cocoon > portal > layout > LayoutDescription


1 /*
2  * Copyright 1999-2002,2004 The Apache Software Foundation.
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, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.cocoon.portal.layout;
17
18 import java.util.Iterator JavaDoc;
19
20 import org.apache.cocoon.portal.factory.ProducibleDescription;
21
22 /**
23  * A configured layout
24  *
25  * @author <a HREF="mailto:cziegeler@s-und-n.de">Carsten Ziegeler</a>
26  *
27  * @version CVS $Id: LayoutDescription.java 55961 2004-10-29 10:09:02Z cziegeler $
28  */

29 public interface LayoutDescription
30     extends ProducibleDescription {
31
32     /**
33      * @return the default renderer name
34      */

35     String JavaDoc getDefaultRendererName();
36     
37     /**
38      * @return the names of all allowed renderers
39      */

40     Iterator JavaDoc getRendererNames();
41     
42     /**
43      * @return The class name of the item
44      */

45     String JavaDoc getItemClassName();
46 }
47
Popular Tags