write the descriptor class to a DOM tree and return it
Node subNode = super.writeDescriptor(parent, nodeName, descriptor);
writeLocalizedDescriptions(subNode, descriptor);
appendTextChild(subNode, EjbTagNames.ROLE_NAME, descriptor.getRoleName());
return subNode;