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

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

?? tagdata.java

?? 使用java語言編寫的小應用程序
?? JAVA
字號:
/*
 * The Apache Software License, Version 1.1
 *
 * Copyright (c) 1999 The Apache Software Foundation.  All rights 
 * reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer. 
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in
 *    the documentation and/or other materials provided with the
 *    distribution.
 *
 * 3. The end-user documentation included with the redistribution, if
 *    any, must include the following acknowlegement:  
 *       "This product includes software developed by the 
 *        Apache Software Foundation (http://www.apache.org/)."
 *    Alternately, this acknowlegement may appear in the software itself,
 *    if and wherever such third-party acknowlegements normally appear.
 *
 * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
 *    Foundation" must not be used to endorse or promote products derived
 *    from this software without prior written permission. For written 
 *    permission, please contact apache@apache.org.
 *
 * 5. Products derived from this software may not be called "Apache"
 *    nor may "Apache" appear in their names without prior written
 *    permission of the Apache Group.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 * ====================================================================
 *
 * This software consists of voluntary contributions made by many
 * individuals on behalf of the Apache Software Foundation.  For more
 * information on the Apache Software Foundation, please see
 * <http://www.apache.org/>.
 *
 */ 

package javax.servlet.jsp.tagext;

import java.util.Hashtable;

/**
 * Tag instance attribute(s)/value(s); often this data is fully static in the
 * case where none of the attributes have runtime expresssions as their values.
 * Thus this class is intended to expose an immutable interface to a set of
 * immutable attribute/value pairs.
 *
 * This class is cloneable so implementations can create a static instance
 * and then just clone it before adding the request-time expressions.
 */

public class TagData implements Cloneable {
    /**
     * Distinguished value for an attribute to indicate its value
     * is a request-time expression which is not yet available because
     * this TagData instance is being used at translation-time.
     */
    // TODO -- revisit clonable; do we need a clone() method?
    // TODO -- Should we just use an array?
    // TODO -- should there be a factory?

    public static final Object REQUEST_TIME_VALUE = new Object();

    /**
     * Constructor for a TagData
     *
     * For simplicity and speed, we are just using primitive types.
     * A typical constructor may be
     *
     * static final Object[][] att = {{"connection", "conn0"}, {"id", "query0"}};
     * static final TagData td = new TagData(att);
     *
     * In an implementation that uses the clonable approach sketched
     * above all values must be Strings except for those holding the
     * distinguished object REQUEST_TIME_VALUE.

     * @param atts the static attribute and values.  May be null.
     */
    public TagData(Object[] atts[]) {
	if (atts == null) {
	    attributes = new Hashtable();
	} else {
	    attributes = new Hashtable(atts.length);
	}

	if (atts != null) {
	    for (int i = 0; i < atts.length; i++) {
		attributes.put(atts[i][0], atts[i][1]);
	    }
	}
    }

    /**
     * Constructor for a TagData
     *
     * If you already have the attributes in a hashtable, use this
     * constructor. 
     *

     */
    public TagData(Hashtable attrs) {
        this.attributes = attrs;
    }

    /**
     * @return the value of the id attribute or null
     */

    public String getId() {
	return getAttributeString(TagAttributeInfo.ID);
    }

    /**
     * @return the attribute's value object. Returns the
     * distinguished object REQUEST_TIME_VALUE if the value is
     * request time and we are using TagData at translation time.
     * Returns null if the attribute is not set.
     */
    // TODO -- means we cannot distinguish from an unset attribute an
    // TODO -- one that is set to null.

    public Object getAttribute(String attName) {
	return attributes.get(attName);
    }

    /**
     * Set the value of this attribute to be 
     */
    public void setAttribute(String attName,
			     Object value) {
	attributes.put(attName, value);
    }

    /**
     * @return the attribute value string
     *
     * @throw ClassCastException if attribute value is not a String
     */

    public String getAttributeString(String attName) {
	Object o = attributes.get(attName);
	if (o == null) {
	    return null;
	} else {
	    return (String) o;
	}	
    }

    /**
     * Enumerates the attributes
     *@return An enumeration of the attributes in a TagData
     */
    public java.util.Enumeration getAttributes() {
        return attributes.keys();
    };

    // private data

    private Hashtable attributes;	// the tagname/value map
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩av中文在线观看| 亚洲第一福利视频在线| 91精品午夜视频| 色哟哟精品一区| 成人性生交大片免费看中文网站| 久久不见久久见中文字幕免费| 日韩av二区在线播放| 日本美女一区二区三区视频| 日韩国产精品久久久久久亚洲| 图片区日韩欧美亚洲| 喷水一区二区三区| 久久电影国产免费久久电影| 国产精品911| av在线不卡免费看| 欧洲一区在线电影| 这里是久久伊人| 精品国产乱码久久久久久1区2区| 精品久久国产字幕高潮| 国产亚洲精品aa午夜观看| 中文字幕的久久| 夜夜精品视频一区二区| 图片区小说区区亚洲影院| 激情图片小说一区| 成人免费视频网站在线观看| 色婷婷综合久久久久中文一区二区 | 三级不卡在线观看| 久久不见久久见免费视频1| 成人激情免费电影网址| 在线观看亚洲一区| 2019国产精品| 亚洲一区二区三区四区五区黄| 捆绑变态av一区二区三区| 国产很黄免费观看久久| 欧美午夜在线一二页| 国产喂奶挤奶一区二区三区| 亚洲午夜在线观看视频在线| 国内成人自拍视频| 91免费精品国自产拍在线不卡| 一本色道久久综合亚洲精品按摩| 91精品国产色综合久久| 日韩毛片精品高清免费| 久久97超碰色| 欧美三级中文字幕在线观看| 欧美一区二区在线视频| 中文字幕佐山爱一区二区免费| 日韩电影在线免费看| 色综合中文字幕国产| 7777女厕盗摄久久久| 国产精品白丝在线| 极品少妇一区二区| 欧美体内she精视频| 中文字幕av不卡| 蜜桃久久精品一区二区| 欧美色国产精品| 中文字幕色av一区二区三区| 国产在线观看一区二区| 在线成人av影院| 亚洲精品一二三区| 成人黄色777网| 久久一二三国产| 免费高清在线一区| 在线综合+亚洲+欧美中文字幕| 亚洲美女一区二区三区| 国产成人精品aa毛片| xf在线a精品一区二区视频网站| 视频一区视频二区中文| 欧美在线999| 亚洲免费av观看| 99re热视频精品| 最新中文字幕一区二区三区| 国产麻豆精品theporn| 精品国产青草久久久久福利| 热久久一区二区| 7777精品伊人久久久大香线蕉| 亚洲乱码中文字幕综合| 一本大道久久a久久综合| 亚洲欧洲成人精品av97| 99精品久久免费看蜜臀剧情介绍| 国产精品午夜电影| 成人美女在线观看| 国产精品久久久久久久久免费丝袜 | 日韩高清一区二区| 91精品国产综合久久婷婷香蕉| 亚洲一区二区三区影院| 欧美亚洲高清一区二区三区不卡| 一区二区三区视频在线看| 91高清视频在线| 五月天丁香久久| 欧美成人福利视频| 国产精品小仙女| 国产精品久久久久久久久免费丝袜 | 亚洲欧美激情插| 欧美视频在线一区| 五月婷婷激情综合| 日韩无一区二区| 国产福利精品一区| 亚洲日本丝袜连裤袜办公室| 91在线观看地址| 午夜精品福利一区二区蜜股av | 国产一区二区h| 中文字幕一区二区三| 色哟哟一区二区| 奇米四色…亚洲| 国产精品乱人伦| 欧美日韩一区高清| 国内成人自拍视频| 亚洲精品菠萝久久久久久久| 在线成人午夜影院| 成人免费黄色大片| 性做久久久久久久久| 久久久久久久国产精品影院| 91视频观看视频| 美腿丝袜亚洲综合| 自拍偷拍亚洲激情| 精品88久久久久88久久久| www.爱久久.com| 日韩成人一区二区| 国产精品沙发午睡系列990531| 欧美亚洲动漫精品| 国产 欧美在线| 午夜成人在线视频| 国产精品久久久久久久久搜平片 | 奇米在线7777在线精品| 国产精品成人一区二区三区夜夜夜 | 亚洲制服丝袜一区| 国产欧美精品区一区二区三区 | 高清久久久久久| 亚洲高清免费一级二级三级| 精品久久久久香蕉网| 欧美性三三影院| av激情亚洲男人天堂| 美女免费视频一区二区| 亚洲综合一区在线| 中日韩免费视频中文字幕| 日韩久久久久久| 欧美日韩夫妻久久| 欧美在线一区二区三区| 成人午夜看片网址| 久久99精品国产91久久来源| 亚洲第一狼人社区| 自拍偷拍欧美激情| 国产精品麻豆视频| 中文字幕不卡在线| 久久九九久久九九| 精品国产伦理网| 精品国产99国产精品| 欧美日韩国产影片| 欧美色图在线观看| 91久久国产综合久久| av在线这里只有精品| 成人动漫一区二区在线| 成人影视亚洲图片在线| 国产高清精品在线| 国内外成人在线| 国产乱妇无码大片在线观看| 韩国av一区二区| 国产一区二区三区久久悠悠色av| 久久国产精品区| 国内精品视频一区二区三区八戒| 精品在线免费视频| 国产一区二区福利视频| 国产成人免费在线观看| 成人性色生活片免费看爆迷你毛片| 国产精品一区二区在线观看不卡| 国产很黄免费观看久久| eeuss鲁片一区二区三区在线看| 99视频热这里只有精品免费| 91污片在线观看| 欧美性videosxxxxx| 欧美日韩国产天堂| 日韩欧美二区三区| 亚洲国产岛国毛片在线| 伊人色综合久久天天| 天天av天天翘天天综合网色鬼国产| 日韩精品91亚洲二区在线观看| 青青草原综合久久大伊人精品| 久久不见久久见免费视频7| 国产超碰在线一区| 欧美专区在线观看一区| 欧美精品免费视频| 久久这里只有精品首页| 中文字幕一区二区三区不卡| 亚洲成av人片一区二区梦乃| 久久精品99国产精品日本| 成人午夜私人影院| 欧美精品在线观看一区二区| 亚洲精品在线免费观看视频| 国产精品不卡在线| 天天综合色天天| fc2成人免费人成在线观看播放 | 99麻豆久久久国产精品免费优播| 在线免费不卡电影| 国产亚洲欧美激情| 五月天一区二区| 成人av午夜电影| 日韩午夜在线播放| 一区二区三区日韩欧美| 激情久久五月天| 欧美日韩综合色| 久久精品日韩一区二区三区|