1 11 package org.eclipse.pde.internal.builders; 12 13 import org.eclipse.core.resources.*; 14 import org.w3c.dom.*; 15 16 17 public class PluginErrorReporter extends PluginBaseErrorReporter { 18 19 public PluginErrorReporter(IFile file) { 20 super(file); 21 } 22 23 26 protected void validateTopLevelAttributes(Element element) { 27 super.validateTopLevelAttributes(element); 28 Attr attr = element.getAttributeNode("class"); if (attr != null) 30 validateJavaAttribute(element, attr); 31 } 32 33 protected String getRootElementName() { 34 return "plugin"; } 36 37 } 38 | Popular Tags |