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

📄 templatesdefs.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: TemplatesDefs.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 TemplatesDefs. *  * @version $Revision: 1.2 $ $Date: 2003/09/05 02:51:42 $ */public class TemplatesDefs implements java.io.Serializable {      //--------------------------/     //- Class/Member Variables -/    //--------------------------/    /**     * Field _beanTemplates     */    private com.sutternow.templates.BeanTemplates _beanTemplates;      //----------------/     //- Constructors -/    //----------------/    public TemplatesDefs() {        super();    } //-- com.sutternow.templates.TemplatesDefs()      //-----------/     //- Methods -/    //-----------/    /**     * Returns the value of field 'beanTemplates'.     *      * @return the value of field 'beanTemplates'.     */    public com.sutternow.templates.BeanTemplates getBeanTemplates()    {        return this._beanTemplates;    } //-- com.sutternow.templates.BeanTemplates getBeanTemplates()     /**     * 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 'beanTemplates'.     *      * @param beanTemplates the value of field 'beanTemplates'.     */    public void setBeanTemplates(com.sutternow.templates.BeanTemplates beanTemplates)    {        this._beanTemplates = beanTemplates;    } //-- void setBeanTemplates(com.sutternow.templates.BeanTemplates)     /**     * Method unmarshal     *      * @param reader     */    public static com.sutternow.templates.TemplatesDefs unmarshal(java.io.Reader reader)        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException    {        return (com.sutternow.templates.TemplatesDefs) Unmarshaller.unmarshal(com.sutternow.templates.TemplatesDefs.class, reader);    } //-- com.sutternow.templates.TemplatesDefs 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 + -