setAttributeByTagName(new String[] {"options", "remote", "host"} , remote.getHost()); setAttributeByTagName(new String[] {"options", "remote", "passwort"} , remote.getNewPassword()); setAttributeByTagName(new String[] {"options", "remote", "port"} , Integer.toString(remote.getXmlPort())); connectionSettings = remote; }
propertyHandler.put("options_remote_host", remote.getHost()); propertyHandler.put("options_remote_passwort", remote.getNewPassword()); propertyHandler.put("options_remote_port", remote.getXmlPort()); connectionSettings = remote; }
    public void onlySaveRemote(ConnectionSettings remote) {        setAttributeByTagName(new String[] {"options", "remote", "host"}                              , remote.getHost());        setAttributeByTagName(new String[] {"options", "remote", "passwort"}                              , remote.getNewPassword());        setAttributeByTagName(new String[] {"options", "remote", "port"}                              , Integer.toString(remote.getXmlPort()));        connectionSettings = remote;    }