亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? abstractfacestag.java

?? struts的源代碼
?? JAVA
字號:
/*
 * Copyright 2002,2004 The Apache Software Foundation.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.apache.struts.faces.taglib;


import javax.faces.component.UIComponent;
import javax.faces.el.ValueBinding;
import javax.faces.webapp.UIComponentTag;


/**
 * <p>Abstract base class for custom component tags for the
 * <em>Struts-Faces Integration Library</em>.</p>
 *
 *
 * @version $Rev: 54934 $ $Date: 2004-10-16 18:07:50 +0100 (Sat, 16 Oct 2004) $
 */

public abstract class AbstractFacesTag extends UIComponentTag {


    // ---------------------------------------------------------- Tag Attributes


    /**
     * <p>The servlet context attribute under which our
     * <code>MessageResources</code> bundle is stored.</p>
     */
    protected String bundle = null;

    public void setBundle(String bundle) {
        this.bundle = bundle;
    }


    /**
     * <p>The CSS style(s) used to render this component.</p>
     */
    protected String style = null;

    public void setStyle(String style) {
        this.style = style;
    }


    /**
     * <p>The CSS style class(es) used to render this component.</p>
     */
    protected String styleClass = null;

    public void setStyleClass(String styleClass) {
        this.styleClass = styleClass;
    }


    /**
     * <p>The literal value to be rendered.</p>
     */
    protected String value = null;

    public void setValue(String value) {
        this.value = value;
    }


    // ---------------------------------------------------------- Public Methods


    /**
     * <p>Return the component type of the component to be created for
     * this tag.</p>
     */
    public abstract String getComponentType();


    /**
     * <p>Return the <code>rendererType</code> to be used for rendering
     * our component.</p>
     */
    public abstract String getRendererType();


    /**
     * <p>Release any variables allocated during use of this tag instance.</p>
     */
    public void release() {

        super.release();
        this.bundle = null;
        this.style = null;
        this.styleClass = null;
        this.value = null;

    }


    // -------------------------------------------------- UIComponentTag Methods


    /**
     * <p>Override attributes set on this tag instance.</p>
     *
     * @param component Component whose attributes should be overridden
     */
    protected void setProperties(UIComponent component) {

        super.setProperties(component);
        setStringAttribute(component, "bundle", bundle);
        setStringAttribute(component, "style", style);
        setStringAttribute(component, "styleClass", styleClass);
        setStringAttribute(component, "value", value);

    }


    // ------------------------------------------------------- Protected Methods


    /**
     * <p>If the specified attribute value is not <code>null</code>
     * use it to either store a value binding expression for the
     * specified attribute name, or store it as the literal value
     * of the attribute.</p>
     *
     * @param component <code>UIComponent</code> whose attribute
     *  is to be set
     * @param name Attribute name
     * @param value Attribute value (or <code>null</code>)
     *
     * @exception NumberFormatException if the value does not
     *  contain a parsable integer
     * @exception ReferenceSyntaxException if the expression has
     *  invalid syntax
     */
    protected void setBooleanAttribute(UIComponent component,
                                       String name, String value) {

        if (value == null) {
            return;
        }
        if (isValueReference(value)) {
            ValueBinding vb =
                getFacesContext().getApplication().createValueBinding(value);
            component.setValueBinding(name, vb);
        } else {
            component.getAttributes().put(name, Boolean.valueOf(value));
        }

    }


    /**
     * <p>If the specified attribute value is not <code>null</code>
     * use it to either store a value binding expression for the
     * specified attribute name, or store it as the literal value
     * of the attribute.</p>
     *
     * @param component <code>UIComponent</code> whose attribute
     *  is to be set
     * @param name Attribute name
     * @param value Attribute value (or <code>null</code>)
     *
     * @exception NumberFormatException if the value does not
     *  contain a parsable integer
     * @exception ReferenceSyntaxException if the expression has
     *  invalid syntax
     */
    protected void setIntegerAttribute(UIComponent component,
                                       String name, String value) {

        if (value == null) {
            return;
        }
        if (isValueReference(value)) {
            ValueBinding vb =
                getFacesContext().getApplication().createValueBinding(value);
            component.setValueBinding(name, vb);
        } else {
            component.getAttributes().put(name, Integer.valueOf(value));
        }

    }


    /**
     * <p>If the specified attribute value is not <code>null</code>
     * use it to either store a value binding expression for the
     * specified attribute name, or store it as the literal value
     * of the attribute.</p>
     *
     * @param component <code>UIComponent</code> whose attribute
     *  is to be set
     * @param name Attribute name
     * @param value Attribute value (or <code>null</code>)
     *
     * @exception ReferenceSyntaxException if the expression has
     *  invalid syntax
     */
    protected void setStringAttribute(UIComponent component,
                                      String name, String value) {

        if (value == null) {
            return;
        }
        if (isValueReference(value)) {
            ValueBinding vb =
                getFacesContext().getApplication().createValueBinding(value);
            component.setValueBinding(name, vb);
        } else {
            component.getAttributes().put(name, value);
        }

    }
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久久久久久久电影| 国产精品视频第一区| 亚洲人午夜精品天堂一二香蕉| 视频一区二区三区入口| 色综合天天做天天爱| 久久久久国产精品麻豆| 麻豆精品视频在线观看| 欧美日韩国产a| 亚洲欧美区自拍先锋| 不卡的av电影在线观看| 国产婷婷色一区二区三区 | 国产精品国产精品国产专区不片| 国产专区综合网| 日韩免费看的电影| 成人久久视频在线观看| 国产欧美综合在线观看第十页| av中文字幕在线不卡| 亚洲成人一区二区在线观看| 久久综合久久99| 欧美视频在线观看一区| 精品国产自在久精品国产| 成人app下载| 三级不卡在线观看| 国产精品女人毛片| 欧美一级理论片| 色综合色综合色综合| 免费在线观看一区| 亚洲日本青草视频在线怡红院 | 国产精品第13页| 欧美日本国产一区| 91麻豆国产福利在线观看| 乱一区二区av| 亚洲线精品一区二区三区 | 国产黄人亚洲片| 日韩av电影天堂| 国产性天天综合网| 欧美另类久久久品| 91一区二区三区在线观看| 精品系列免费在线观看| 人禽交欧美网站| 亚洲成人自拍偷拍| 国产偷国产偷亚洲高清人白洁| 成人午夜激情片| 国产精品九色蝌蚪自拍| 日韩手机在线导航| 国产成人精品免费在线| 亚洲成人av电影| 亚洲欧美电影院| 中文字幕免费不卡| 欧美成人福利视频| 欧美日韩国产综合一区二区| 在线精品视频一区二区| 91首页免费视频| 久久综合狠狠综合久久激情| 91精品免费观看| 久久综合久久鬼色中文字| 欧美极品aⅴ影院| 国产精品欧美一级免费| 亚洲女同ⅹxx女同tv| 亚洲精品视频免费看| 午夜精品影院在线观看| 久久精品99国产国产精| 国产成人免费av在线| 一本一本久久a久久精品综合麻豆| 欧洲一区二区三区在线| 日韩欧美一二三四区| 欧美xxxxx裸体时装秀| 国产精品视频yy9299一区| 亚洲综合在线第一页| 日本美女视频一区二区| 黄色小说综合网站| 99久久婷婷国产综合精品电影| 欧美三级韩国三级日本三斤 | 天天亚洲美女在线视频| 不卡的av电影| 日韩欧美国产综合在线一区二区三区| www激情久久| 午夜婷婷国产麻豆精品| 不卡一卡二卡三乱码免费网站| 欧美亚洲动漫精品| 国产精品素人视频| 国产麻豆精品一区二区| 亚洲国产电影在线观看| 日本麻豆一区二区三区视频| 成人性视频免费网站| 日韩一级片在线播放| 亚洲男人的天堂网| 99精品视频在线观看免费| 精品国产凹凸成av人导航| 午夜视频在线观看一区二区三区| 狠狠色综合播放一区二区| 日韩一区二区在线免费观看| 亚洲大片一区二区三区| 91老师片黄在线观看| 中文字幕一区日韩精品欧美| 国产精品羞羞答答xxdd| 国产日韩精品一区二区三区| 国产一二三精品| 中文字幕+乱码+中文字幕一区| 国内成+人亚洲+欧美+综合在线| 欧美一区二区三区思思人| 亚洲免费观看高清完整版在线观看熊| 国产成人在线免费观看| 欧美国产国产综合| 99精品在线免费| 亚洲国产欧美在线| 欧美一区二区美女| 国产成人在线影院| 亚洲精品国产a| 日韩欧美国产高清| 国产成人综合精品三级| 成人欧美一区二区三区1314 | 全国精品久久少妇| 国产日韩精品一区二区三区| 99久久精品情趣| 午夜精品福利久久久| 26uuu亚洲综合色欧美 | 国产一区二区三区在线看麻豆| 国产精品丝袜91| 日韩午夜在线观看视频| 国产aⅴ综合色| 日韩1区2区日韩1区2区| 亚洲欧洲精品成人久久奇米网| 欧美高清性hdvideosex| 91视频xxxx| 丁香激情综合国产| 日韩精品福利网| 亚洲蜜桃精久久久久久久| 午夜精品久久久久影视| 中文一区二区完整视频在线观看| 欧美日韩成人综合天天影院| 99视频一区二区| 不卡av在线网| 成人精品在线视频观看| 激情欧美一区二区| 九色综合狠狠综合久久| 日本不卡高清视频| 亚洲电影欧美电影有声小说| 国产精品女人毛片| 久久久久亚洲蜜桃| 欧美成人aa大片| 久久久噜噜噜久噜久久综合| 日韩精品资源二区在线| 制服视频三区第一页精品| 欧美日韩电影在线| 欧美日韩精品一区视频| 欧美视频在线播放| 欧美日韩成人综合| 日韩欧美高清一区| 日韩免费在线观看| 欧美一区二区人人喊爽| 欧美精品v国产精品v日韩精品| 99精品国产热久久91蜜凸| av电影在线观看完整版一区二区| 99国产精品一区| 日本精品免费观看高清观看| 91官网在线观看| 日韩女优av电影在线观看| 精品美女在线播放| 1区2区3区欧美| 蜜桃av一区二区| 国产精品一二三四| 欧美日韩精品系列| 日韩一级片在线观看| 久久久久久电影| 亚洲一区在线播放| 韩国女主播一区| 91免费看片在线观看| 欧美成va人片在线观看| 亚洲综合一区二区精品导航| 蜜臀久久久99精品久久久久久| 国产高清在线精品| 欧美亚洲国产一区二区三区| 欧美人xxxx| 一级中文字幕一区二区| 极品少妇一区二区| 欧美日韩精品欧美日韩精品一| 久久九九久精品国产免费直播| 一二三四社区欧美黄| 99精品热视频| 国产精品久久久久久久久图文区 | 国产精品自拍三区| 久久免费美女视频| 国产乱对白刺激视频不卡 | 不卡视频在线看| 欧美韩国日本综合| 国内精品国产成人国产三级粉色 | 色综合天天综合色综合av | 欧美一卡二卡三卡四卡| 午夜精彩视频在线观看不卡| 成人小视频在线| 国产精品久久久久久久久久免费看| 国产一区二区日韩精品| 日韩精品一区二区三区老鸭窝| 日本在线播放一区二区三区| 欧美一区二区性放荡片| 日本不卡一二三区黄网| 日韩欧美你懂的| 国产a久久麻豆| 亚洲精选视频免费看|