appendAttribute(xml, "port", Integer.toString(temp.getPort()));
appendAttribute(xml, "host", temp.getHost());
appendAttribute(xml, "ssl", Boolean.toString(temp.isSSl()));
appendAttribute(xml, "priority", Integer.toString(temp
.getPriority()));
appendAttribute(xml, "hideStatusWindow", Boolean.toString(temp
.hideStatusWindow()));
if (!temp.useProxy(LoginInfo.NO_PROXY))
{
xml.append('>');
appendOpenTag(xml, "<proxy");