⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xmlstreamfooter.java

📁 一款即时通讯软件
💻 JAVA
字号:
package edu.ou.kmi.buddyspace.xml;

/*
 * XMLStreamFooter.java
 *
 * Project: BuddySpace
 * (C) Copyright Knowledge Media Institute 2002
 *
 *
 * Created on 7 August 2002, 13:21
 */

import org.jabber.jabberbeans.Packet;

/**
 * Class which represents an XMLStream footer - this closes whole
 * communication with jabber server. It is <code>&lt/stream:stream&gt</code>.
 *
 * @author  Jiri Komzak, Knowledge Media Institute, Open University, United Kingdom
 */
public class XMLStreamFooter implements Packet {
    
    /**
     * <code>appendItem</code> appends the XML representation of the
     * XML footer to the specified <code>StringBuffer</code>.
     *
     * @param retval The <code>StringBuffer</code> to append to
     */
    public void appendItem(StringBuffer retval) {
        retval.append("</stream:stream>");
    }
    
    /**
     * <code>toString</code> returns string representation of the tag.
     */
    public String toString() {
        return new String("</stream:stream>");
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -