1 16 package org.apache.cocoon.portal.layout.impl; 17 18 import java.util.ArrayList ; 19 import java.util.Iterator ; 20 import java.util.List ; 21 22 import org.apache.cocoon.portal.factory.impl.AbstractProducibleDescription; 23 import org.apache.cocoon.portal.layout.LayoutDescription; 24 25 26 33 public class DefaultLayoutDescription 34 extends AbstractProducibleDescription 35 implements LayoutDescription { 36 37 protected String defaultRendererName; 38 39 protected List rendererNames = new ArrayList (2); 40 41 protected String itemClassName; 42 43 public String getDefaultRendererName() { 44 return defaultRendererName; 45 } 46 47 50 public void setDefaultRendererName(String string) { 51 defaultRendererName = string; 52 } 53 54 57 public Iterator getRendererNames() { 58 return this.rendererNames.iterator(); 59 } 60 61 public void addRendererName(String name) { 62 this.rendererNames.add( name ); 63 } 64 65 68 public String getItemClassName() { 69 return this.itemClassName; 70 } 71 74 public void setItemClassName(String itemClassName) { 75 this.itemClassName = itemClassName; 76 } 77 } 78 | Popular Tags |