public void load(IXMLElement xml) throws Exception { super.load(xml); final int priority = parameters().getAttribute(PARAM_PRIORITY, 3); this.socials = new MudObjectInterpreter(getName(), priority, this); for (Enumeration enu = xml.enumerateChildren(); enu.hasMoreElements(); ) { IXMLElement nxt = (IXMLElement) enu.nextElement(); String nom = nxt.getName(); if (nom.equals(Social.MARKUP)) { this.socials.addCommand(Social.loadSocial(nxt)); } else if (nom.equals(PROPERTY_SOCIALS)) { loadSocialsElement(nxt); } } }