// <env-entry>
EnvEntryImpl[] envEntries = webAppImpl.getEnvEntries();
if (envEntries != null) {
for (int i = 0; i < envEntries.length; i++) {
Element envEntryE = doc.createElement("env-entry");
EnvEntryImpl envEntry = envEntries[i];
addDescriptions(envEntryE, envEntry.getDescriptions());
addTextElement(envEntryE, "env-entry-name", envEntry.getEnvEntryName());
addTextElement(envEntryE, "env-entry-value", envEntry.getEnvEntryValue());
addTextElement(envEntryE, "env-entry-type", envEntry.getEnvEntryType());
webAppE.appendChild(envEntryE);
}
}
// <ejb-ref>