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

📄 manualmappinginfo.java

📁 这是一个segy数据显示程序
💻 JAVA
字号:
/* ======================================================================== * JCommon : a free general purpose class library for the Java(tm) platform * ======================================================================== * * (C) Copyright 2000-2004, by Object Refinery Limited and Contributors. *  * Project Info:  http://www.jfree.org/jcommon/index.html * * This library is free software; you can redistribute it and/or modify it under the terms * of the GNU Lesser General Public License as published by the Free Software Foundation; * either version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License along with this * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307, USA. * * [Java is a trademark or registered trademark of Sun Microsystems, Inc.  * in the United States and other countries.] *  * ---------------------- * ManualMappingInfo.java * ---------------------- * (C)opyright 2003, 2004, by Thomas Morgner and Contributors. * * Original Author:  Thomas Morgner; * Contributor(s):   David Gilbert (for Object Refinery Limited); * * $Id: ManualMappingInfo.java,v 1.8 2004/04/26 19:15:49 taqua Exp $ * * Changes  * ------------------------- * 12.11.2003 : Initial version *   */package org.jfree.xml.generator.model;/** * The manual mapping describes, how a certain class is handled in the parser. * This defines the read and write handler implementations to be used to handle * the instantiation or serialisation of the described type. * <p> * Manual mappings will not be created by the generator, they have to be defined * manually. The parser will print warnings, if the definitions are invalid. * <p> * Manual mappings will always override automatic mappings.  */public class ManualMappingInfo {        /** The base class. */    private Class baseClass;        /** The read handler. */    private Class readHandler;        /** The write handler. */    private Class writeHandler;        /** The comments. */    private Comments comments;        /** The source. */    private String source;    /**     * Creates a new manual mapping instance.     *      * @param baseClass  the base class.     * @param readHandler  the read handler class.     * @param writeHandler  the write handler class.     */    public ManualMappingInfo(final Class baseClass, final Class readHandler, final Class writeHandler) {        this.baseClass = baseClass;        this.readHandler = readHandler;        this.writeHandler = writeHandler;    }    /**     * Returns the base class.     *      * @return The base class.     */    public Class getBaseClass() {        return this.baseClass;    }    /**     * Returns the read handler class.     *      * @return The read handler class.     */    public Class getReadHandler() {        return this.readHandler;    }    /**     * Returns the write handler class.     *      * @return The write handler class.     */    public Class getWriteHandler() {        return this.writeHandler;    }    /**     * Returns the comments.     *      * @return The comments.     */    public Comments getComments() {        return this.comments;    }    /**     * Sets the comments.     *      * @param comments  the comments.     */    public void setComments(final Comments comments) {        this.comments = comments;    }    /**     * Returns the source.     *      * @return The source.     */    public String getSource() {        return this.source;    }    /**     * Sets the source.     *      * @param source  the source.     */    public void setSource(final String source) {        this.source = source;    }}

⌨️ 快捷键说明

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