jEdit.addMode(mode);
mode.init();
	public void endElement(String name)	{		if(name.equals("MODE"))		{			Mode mode = new Mode(modeName);			Object path;			if(resource)			{				path = jEdit.class.getResource(directory					+ '/' + file);			}			else				path = MiscUtilities.constructPath(directory,file);			mode.setProperty("file",path);			if(filenameGlob != null)				mode.setProperty("filenameGlob",filenameGlob);			if(firstlineGlob != null)				mode.setProperty("firstlineGlob",firstlineGlob);			jEdit.addMode(mode);			modeName = file = filenameGlob = firstlineGlob = null;		}	}