if (m_specifications != null) {
element.addAttribute(new Attribute("specifications", getSpecificationsArray()));
}
element.addAttribute(new Attribute("strategy", getStringStrategy()));
for (int i = 0; i < m_properties.size(); i++) {
element.addElement(((ServiceProperty) m_properties.get(i)).getElement());
}
if (m_controller != null) {
Element ctrl = new Element("controller", "");
ctrl.addAttribute(new Attribute("field", m_controller));