if (name == null)
throw new RuntimeException(_MESSAGES.get("NoComponentName"));
Element componentXML = XmlUtils.createElement(factory, name);
ComponentAddress address = getAddress();
if (address != null)
{
Element addressXML = address.toXML(factory);
componentXML.appendChild(addressXML);
}
String resourceID = getResourceID();