NamingResources resources = (NamingResources) aElement;
// Store nested <Ejb> elements
ContextEjb[] ejbs = resources.findEjbs();
storeElementArray(aWriter, indent, ejbs);
// Store nested <Environment> elements
ContextEnvironment[] envs = resources.findEnvironments();
storeElementArray(aWriter, indent, envs);
// Store nested <LocalEjb> elements
ContextLocalEjb[] lejbs = resources.findLocalEjbs();
storeElementArray(aWriter, indent, lejbs);