xmlfiledocinterface.java

来自「一款即时通讯软件」· Java 代码 · 共 68 行

JAVA
68
字号
/*
 *   License
 *
 * The contents of this file are subject to the Jabber Open Source License
 * Version 1.0 (the "License").  You may not copy or use this file, in either
 * source code or executable form, except in compliance with the License.  You
 * may obtain a copy of the License at http://www.jabber.com/license/ or at
 * http://www.opensource.org/.  
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied.  See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 *   Copyrights
 *
 * Portions created by or assigned to Jabber.com, Inc. are 
 * Copyright (c) 2000 Jabber.com, Inc.  All Rights Reserved.  Contact
 * information for Jabber.com, Inc. is available at http://www.jabber.com/.
 *
 * Portions Copyright (c) 1999-2000 David Waite 
 *
 *   Acknowledgements
 * 
 * Special thanks to the Jabber Open Source Contributors for their
 * suggestions and support of Jabber.
 * 
 *   Changes
 *
 * dwaite - 20001006
 * Merged all ProtocolHandler code in from sax, as this code will most 
 * probably never be swapped out (a DOM-based implementation would warrant 
 * a substantially different base)
 * @author  David Waite <a href="mailto:dwaite@jabber.com">
 *                      <i>&lt;dwaite@jabber.com&gt;</i></a>
 * @author  $Author: chris $
 * @version $Revision: 1.1 $
 *
 * j.komzak
 * Changed to work with files.
 */

package edu.ou.kmi.buddyspace.xml;

/*
 * XMLFileDocInterface.java
 *
 * Project: BuddySpace
 * (C) Copyright Knowledge Media Institute 2002
 *
 *
 * Created on 28 August 2002, 10:50
 */

import org.jabber.jabberbeans.XMLData;

/**
 * <code>XMLFileDocInterface</code> provides interface for XML storing/reading
 * in/from files.
 *
 * @author  Jiri Komzak, Knowledge Media Institute, Open University, United Kingdom
 */
interface XMLFileDocInterface {
    /** Called when XML data received to store it */
    public void received(XMLData d);
    /** Called when unexpected death */
    public void unexpectedThreadDeath(Exception e);
}

⌨️ 快捷键说明

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