public String getResource() { Element el = getChildByName(NS_JABBER_CLIENT, RESOURCE); if (el != null) { return el.getText(); } else { return Config.getInstance().getProperty(Config.YUP_RESOURCE, "Lampiro"); } }
public String getShow() { Element el = getChildByName(NS_JABBER_CLIENT, SHOW); if (el != null) { return el.getText(); } else { return null; } }
public int getPriority() { Element el = this.getChildByName(NS_JABBER_CLIENT, PRIORITY); if (el != null) { return Integer.parseInt(el.getText()); } else { return 0; } }
public String getStatus() { Element el = this.getChildByName(NS_JABBER_CLIENT, STATUS); if (el != null) { return el.getText(); } else { return null; } }