CryptoMessage v1.3.2版本的 MD5 值为:66c611ce56a11450659dc23697562928
以下内容为反编译后的 MUCInfo.java 源代码,内容仅作参考
package org.jivesoftware.smackx.muc.packet;
import java.util.LinkedList;
import java.util.List;
import org.jivesoftware.smack.db.entities.MultiUserChatItem;
import org.jivesoftware.smack.packet.IQ;
import org.jivesoftware.smackx.vcardtemp.packet.VCard;
public class MUCInfo extends IQ {
public static final String BAN_USER = "ban_user";
public static final String CLEAR_CACHE_ROOM = "clear_cache_room";
public static final String DELETE_INVITE = "delete_invite";
public static final String ELEMENT = "query";
public static final String GET_INVITE_DATE = "get_invite_date";
public static final String INSTRUCTION_GET_INFO = "get_info";
public static final String INSTRUCTION_GET_MUC_LIST = "get_muc_list";
public static final String IS_MEMBER = "is_member";
public static final String NAMESPACE = "http://jabber.org/protocol/muc#muci";
public static final String SET_INVITE_DATE = "set_invite_date";
private String instruction;
private String inviteDate;
private String isMember;
private MultiUserChatItem multiUserChatItem;
private String roomId;
private final List<String> roomIds;
private String userId;
private VCard vCard;
public MUCInfo(String str, String str2, String str3) {
this();
this.instruction = str;
this.roomId = str2;
this.userId = str3;
}
public MUCInfo(String str) {
this();
this.instruction = str;
}
public MUCInfo() {
super("query", NAMESPACE);
this.roomIds = new LinkedList();
}
public VCard getVCard() {
return this.vCard;
}
public void setVCard(VCard vCard) {
this.vCard = vCard;
}
public String getRoomId() {
return this.roomId;
}
public void setRoomId(String str) {
this.roomId = str;
}
public MultiUserChatItem getMultiUserChatItem() {
return this.multiUserChatItem;
}
public void setMultiUserChatItem(MultiUserChatItem multiUserChatItem) {
this.multiUserChatItem = multiUserChatItem;
}
public void setIsMember(String str) {
this.isMember = str;
}
public List<String> getRoomIds() {
return this.roomIds;
}
public Boolean getIsMember() {
return Boolean.valueOf(Boolean.parseBoolean(this.isMember));
}
public String getInviteDate() {
return this.inviteDate;
}
public void setInviteDate(String str) {
this.inviteDate = str;
}
@Override
protected IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(IQ.IQChildElementXmlStringBuilder iQChildElementXmlStringBuilder) {
iQChildElementXmlStringBuilder.rightAngleBracket();
iQChildElementXmlStringBuilder.optElement("instructions", this.instruction);
String str = this.roomId;
if (str != null) {
iQChildElementXmlStringBuilder.optElement("roomId", str);
}
String str2 = this.userId;
if (str2 != null) {
iQChildElementXmlStringBuilder.optElement("userId", str2);
}
return iQChildElementXmlStringBuilder;
}
}