Abstracting JInstallerAdapter element creation