1 11 package org.eclipse.pde.internal.core.ischema; 12 13 import java.net.URL ; 14 15 import org.eclipse.core.runtime.CoreException; 16 import org.eclipse.pde.core.IBaseModel; 17 import org.eclipse.pde.core.IModelChangeProvider; 18 19 33 public interface ISchema extends ISchemaObject, IBaseModel, IModelChangeProvider { 34 String P_POINT = "pointId"; 36 String P_PLUGIN = "pluginId"; 38 int REFRESH_ADD = 1; 39 40 int REFRESH_DELETE = 2; 41 42 int REFRESH_RENAME = 3; 43 44 51 ISchemaElement findElement(String name); 52 53 66 ISchemaElement[] getCandidateChildren(ISchemaElement element); 67 68 73 IDocumentSection[] getDocumentSections(); 74 75 80 public int getElementCount(); 81 82 88 public int getResolvedElementCount(); 89 90 96 public ISchemaElement[] getElements(); 97 98 104 public ISchemaElement[] getResolvedElements(); 105 106 111 public String getQualifiedPointId(); 112 113 public String getPointId(); 114 115 public void setPointId(String pointId) throws CoreException; 116 117 public String getPluginId(); 118 119 public void setPluginId(String pluginId) throws CoreException; 120 121 129 public ISchemaDescriptor getSchemaDescriptor(); 130 131 136 public URL getURL(); 137 138 146 ISchemaInclude[] getIncludes(); 147 148 153 public boolean isDeperecated(); 154 155 159 public String getDeprecatedSuggestion(); 160 } 161 | Popular Tags |