public Plugin(Document document) throws DocumentException {
public Plugin(Document document) throws DocumentException, EclipseClasspathException {
		public Plugin(Document document) throws DocumentException {			this.document = document;			// Get the plugin id			Node plugin = document.selectSingleNode("//plugin");			if (plugin == null)				throw new DocumentException("No plugin node in plugin descriptor");			pluginId = plugin.valueOf("@id");			if (pluginId.equals(""))				throw new DocumentException("Cannot determine plugin id");			// Extract required plugins			requiredPluginIdList = new LinkedList<String>();			List requiredPluginNodeList = document.selectNodes("//plugin/requires/import");			for (Iterator i = requiredPluginIdList.iterator(); i.hasNext(); ) {				Node node = (Node) i.next();				String requiredPluginId = node.valueOf("@plugin");				requiredPluginIdList.add(requiredPluginId);			}		}