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

📄 listing.java

📁 自动生成JAVA-Struts网站的程序
💻 JAVA
字号:
/* * This class was automatically generated with  * <a href="http://www.castor.org">Castor 0.9.4.3</a>, using an XML * Schema. * $Id: Listing.java,v 1.2 2003/09/05 02:51:42 sutter2k Exp $ */package com.sutternow.templates;  //---------------------------------/ //- Imported classes and packages -///---------------------------------/import java.io.IOException;import java.io.Reader;import java.io.Serializable;import java.io.Writer;import org.exolab.castor.xml.MarshalException;import org.exolab.castor.xml.Marshaller;import org.exolab.castor.xml.Unmarshaller;import org.exolab.castor.xml.ValidationException;import org.xml.sax.ContentHandler;/** * Class Listing. *  * @version $Revision: 1.2 $ $Date: 2003/09/05 02:51:42 $ */public class Listing implements java.io.Serializable {      //--------------------------/     //- Class/Member Variables -/    //--------------------------/    /**     * Field _name     */    private java.lang.String _name;    /**     * Field _description     */    private java.lang.String _description;    /**     * Field _packageBranch     */    private java.lang.String _packageBranch;    /**     * Field _fileSuffix     */    private java.lang.String _fileSuffix;      //----------------/     //- Constructors -/    //----------------/    public Listing() {        super();    } //-- com.sutternow.templates.Listing()      //-----------/     //- Methods -/    //-----------/    /**     * Returns the value of field 'description'.     *      * @return the value of field 'description'.     */    public java.lang.String getDescription()    {        return this._description;    } //-- java.lang.String getDescription()     /**     * Returns the value of field 'fileSuffix'.     *      * @return the value of field 'fileSuffix'.     */    public java.lang.String getFileSuffix()    {        return this._fileSuffix;    } //-- java.lang.String getFileSuffix()     /**     * Returns the value of field 'name'.     *      * @return the value of field 'name'.     */    public java.lang.String getName()    {        return this._name;    } //-- java.lang.String getName()     /**     * Returns the value of field 'packageBranch'.     *      * @return the value of field 'packageBranch'.     */    public java.lang.String getPackageBranch()    {        return this._packageBranch;    } //-- java.lang.String getPackageBranch()     /**     * Method isValid     */    public boolean isValid()    {        try {            validate();        }        catch (org.exolab.castor.xml.ValidationException vex) {            return false;        }        return true;    } //-- boolean isValid()     /**     * Method marshal     *      * @param out     */    public void marshal(java.io.Writer out)        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException    {                Marshaller.marshal(this, out);    } //-- void marshal(java.io.Writer)     /**     * Method marshal     *      * @param handler     */    public void marshal(org.xml.sax.ContentHandler handler)        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException    {                Marshaller.marshal(this, handler);    } //-- void marshal(org.xml.sax.ContentHandler)     /**     * Sets the value of field 'description'.     *      * @param description the value of field 'description'.     */    public void setDescription(java.lang.String description)    {        this._description = description;    } //-- void setDescription(java.lang.String)     /**     * Sets the value of field 'fileSuffix'.     *      * @param fileSuffix the value of field 'fileSuffix'.     */    public void setFileSuffix(java.lang.String fileSuffix)    {        this._fileSuffix = fileSuffix;    } //-- void setFileSuffix(java.lang.String)     /**     * Sets the value of field 'name'.     *      * @param name the value of field 'name'.     */    public void setName(java.lang.String name)    {        this._name = name;    } //-- void setName(java.lang.String)     /**     * Sets the value of field 'packageBranch'.     *      * @param packageBranch the value of field 'packageBranch'.     */    public void setPackageBranch(java.lang.String packageBranch)    {        this._packageBranch = packageBranch;    } //-- void setPackageBranch(java.lang.String)     /**     * Method unmarshal     *      * @param reader     */    public static com.sutternow.templates.Listing unmarshal(java.io.Reader reader)        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException    {        return (com.sutternow.templates.Listing) Unmarshaller.unmarshal(com.sutternow.templates.Listing.class, reader);    } //-- com.sutternow.templates.Listing unmarshal(java.io.Reader)     /**     * Method validate     */    public void validate()        throws org.exolab.castor.xml.ValidationException    {        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();        validator.validate(this);    } //-- void validate() }

⌨️ 快捷键说明

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