1 15 package org.apache.tapestry.spec; 16 17 import java.util.List ; 18 import java.util.Map ; 19 20 import org.apache.hivemind.LocationHolder; 21 import org.apache.hivemind.Resource; 22 import org.apache.tapestry.util.IPropertyHolder; 23 24 31 32 public interface ILibrarySpecification extends IPropertyHolder, LocationHolder 33 { 34 35 39 40 public String getLibrarySpecificationPath(String id); 41 42 48 49 public void setLibrarySpecificationPath(String id, String path); 50 51 54 55 public List getLibraryIds(); 56 57 public String getPageSpecificationPath(String name); 58 59 public void setPageSpecificationPath(String name, String path); 60 61 65 66 public List getPageNames(); 67 68 public void setComponentSpecificationPath(String type, String path); 69 70 public String getComponentSpecificationPath(String type); 71 72 78 79 public List getComponentTypes(); 80 81 85 86 public String getServiceClassName(String name); 87 88 94 95 public List getServiceNames(); 96 97 101 public void setServiceClassName(String name, String className); 102 103 106 107 public String getDescription(); 108 109 112 113 public void setDescription(String description); 114 115 120 121 public Map getExtensionSpecifications(); 122 123 126 127 public void addExtensionSpecification(String name, IExtensionSpecification extension); 128 129 133 134 public List getExtensionNames(); 135 136 139 140 public IExtensionSpecification getExtensionSpecification(String name); 141 142 148 149 public Object getExtension(String name); 150 151 160 161 public Object getExtension(String name, Class typeConstraint); 162 163 167 168 public boolean checkExtension(String name); 169 170 174 175 public void instantiateImmediateExtensions(); 176 177 public String getPublicId(); 178 179 public void setPublicId(String value); 180 181 186 187 public Resource getSpecificationLocation(); 188 189 190 191 public void setSpecificationLocation(Resource specificationLocation); 192 } | Popular Tags |