public ServerObject(Node node){
  Element elm=(Element)node;
  name=elm.getAttribute(DSConfigMgr.NAME);
  host=elm.getAttribute(DSConfigMgr.HOST);
  port=elm.getAttribute(DSConfigMgr.PORT);
  type=elm.getAttribute(DSConfigMgr.AUTH_TYPE);
}

public ServerObject ( Node node ) { Element elm = ( Element ) node ; name = elm . getAttribute ( DSConfigMgr . NAME ) ; host = elm . getAttribute ( DSConfigMgr . HOST ) ; port = elm . getAttribute ( DSConfigMgr . PORT ) ; type = elm . getAttribute ( DSConfigMgr . AUTH_TYPE ) ; }
constructs a server object .
