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

📄 coreattributes.java

📁 intra_mart是日本NDD公司开发的著名企业应用解决方案中间件。集成了J2ee服务器
💻 JAVA
字号:
/*
 * CoreAttributes.java
 *
 * Created on 2002/01/28, 15:15
 */

package jp.co.intra_mart.framework.base.web.tag.attribute;

import java.io.IOException;

/**
 * 僐傾懏惈偱偡丅
 *
 * @author INTRAMART
 * @version 1.0
 */
public class CoreAttributes extends GenericAttributes {

    /**
     * class
     */
    private String tagClass;

    /**
     * style
     */
    private String style;

    /**
     * title
     */
    private String title;

    /**
     * CoreAttributes傪怴婯偵惗惉偟傑偡丅
     */
    public CoreAttributes() {
        super();
        setTagClass(null);
        setStyle(null);
        setTitle(null);
    }

    /**
     * 懏惈<CODE>class</CODE>偺抣傪庢摼偟傑偡丅
     *
     * @return class
     */
    public String getTagClass() {
        return this.tagClass;
    }

    /**
     * 懏惈<CODE>class</CODE>偺抣傪愝掕偟傑偡丅
     *
     * @param tagClass class
     */
    public void setTagClass(String tagClass) {
        this.tagClass = tagClass;
    }

    /**
     * 懏惈<CODE>style</CODE>偺抣傪庢摼偟傑偡丅
     *
     * @return style
     */
    public String getStyle() {
        return this.style;
    }

    /**
     * 懏惈<CODE>style</CODE>偺抣傪愝掕偟傑偡丅
     *
     * @param style style
     */
    public void setStyle(String style) {
        this.style = style;
    }

    /**
     * 懏惈<CODE>title</CODE>偺抣傪庢摼偟傑偡丅
     *
     * @return title
     */
    public String getTitle() {
        return this.title;
    }

    /**
     * 懏惈<CODE>title</CODE>偺抣傪愝掕偟傑偡丅
     *
     * @param title title
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 懏惈偺撪梕傪昞帵偟傑偡丅
     *
     * @throws IOException 弌椡拞偵椺奜偑敪惗
     */
    public void printAttributes() throws IOException {
        // class
        getTagWriter().printAttribute("class", getTagClass());

        // style
        getTagWriter().printAttribute("style", getStyle());

        // title
        getTagWriter().printAttribute("title", getTitle());
    }
}

⌨️ 快捷键说明

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