Java 类org.jivesoftware.smackx.workgroup.packet.UserID 实例源码

项目:EIM    文件:Workgroup.java   
public String getChildElementXML() {
    StringBuilder buf = new StringBuilder();

    buf.append("<join-queue xmlns=\"http://jabber.org/protocol/workgroup\">");
    buf.append("<queue-notifications/>");
    // Add the user unique identification if the session is anonymous
    if (connection.isAnonymous()) {
        buf.append(new UserID(userID).toXML());
    }

    // Append data form text
    buf.append(form.toXML());

    buf.append("</join-queue>");

    return buf.toString();
}
项目:androidPN-client.    文件:Workgroup.java   
public String getChildElementXML() {
    StringBuilder buf = new StringBuilder();

    buf.append("<join-queue xmlns=\"http://jabber.org/protocol/workgroup\">");
    buf.append("<queue-notifications/>");
    // Add the user unique identification if the session is anonymous
    if (connection.isAnonymous()) {
        buf.append(new UserID(userID).toXML());
    }

    // Append data form text
    buf.append(form.toXML());

    buf.append("</join-queue>");

    return buf.toString();
}
项目:xmppsupport_v2    文件:Workgroup.java   
public String getChildElementXML() {
    StringBuilder buf = new StringBuilder();

    buf.append("<join-queue xmlns=\"http://jabber.org/protocol/workgroup\">");
    buf.append("<queue-notifications/>");
    // Add the user unique identification if the session is anonymous
    if (connection.isAnonymous()) {
        buf.append(new UserID(userID).toXML());
    }

    // Append data form text
    buf.append(form.toXML());

    buf.append("</join-queue>");

    return buf.toString();
}
项目:java-bells    文件:Workgroup.java   
public String getChildElementXML() {
    StringBuilder buf = new StringBuilder();

    buf.append("<join-queue xmlns=\"http://jabber.org/protocol/workgroup\">");
    buf.append("<queue-notifications/>");
    // Add the user unique identification if the session is anonymous
    if (connection.isAnonymous()) {
        buf.append(new UserID(userID).toXML());
    }

    // Append data form text
    buf.append(form.toXML());

    buf.append("</join-queue>");

    return buf.toString();
}
项目:telegraph    文件:Workgroup.java   
public String getChildElementXML() {
    StringBuilder buf = new StringBuilder();

    buf.append("<join-queue xmlns=\"http://jabber.org/protocol/workgroup\">");
    buf.append("<queue-notifications/>");
    // Add the user unique identification if the session is anonymous
    if (connection.isAnonymous()) {
        buf.append(new UserID(userID).toXML());
    }

    // Append data form text
    buf.append(form.toXML());

    buf.append("</join-queue>");

    return buf.toString();
}
项目:NewCommunication-Android    文件:Workgroup.java   
public String getChildElementXML() {
    StringBuilder buf = new StringBuilder();

    buf.append("<join-queue xmlns=\"http://jabber.org/protocol/workgroup\">");
    buf.append("<queue-notifications/>");
    // Add the user unique identification if the session is anonymous
    if (connection.isAnonymous()) {
        buf.append(new UserID(userID).toXML());
    }

    // Append data form text
    buf.append(form.toXML());

    buf.append("</join-queue>");

    return buf.toString();
}
项目:Smack    文件:Workgroup.java   
@Override
protected IQChildElementXmlStringBuilder getIQChildElementBuilder(IQChildElementXmlStringBuilder buf) {
    buf.rightAngleBracket();
    buf.append("<queue-notifications/>");
    // Add the user unique identification if the session is anonymous
    if (connection.isAnonymous()) {
        buf.append(new UserID(userID).toXML());
    }

    // Append data form text
    buf.append(form.toXML());

    return buf;
}