selectedElements.setAttribute("exportOutputFolder", "" + jarPackage.areOutputFoldersExported());
	private void xmlWriteSelectedElements(JarPackageData jarPackage, Document document, Element xmlJarDesc) throws DOMException {		Element selectedElements= document.createElement("selectedElements"); //$NON-NLS-1$		xmlJarDesc.appendChild(selectedElements);		selectedElements.setAttribute("exportClassFiles", "" + jarPackage.areClassFilesExported()); //$NON-NLS-2$ //$NON-NLS-1$		selectedElements.setAttribute("exportJavaFiles", "" + jarPackage.areJavaFilesExported()); //$NON-NLS-2$ //$NON-NLS-1$		Object[] elements= jarPackage.getElements();		for (int i= 0; i < elements.length; i++) {			Object element= elements[i];			if (element instanceof IResource)				add((IResource)element, selectedElements, document);			else if (element instanceof IJavaElement)				add((IJavaElement)element, selectedElements, document);			// Note: Other file types are not handled by this writer		}	}