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

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

?? tagdata.java

?? 圖書管理系統,用JSP實現,圖書的查詢,添加等功能
?? 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一区二区三区免费野_久草精品视频
精品一区二区三区免费播放| 日韩一级二级三级精品视频| 国产真实精品久久二三区| 免费观看在线色综合| 国产精一品亚洲二区在线视频| 成人在线视频一区二区| 色偷偷成人一区二区三区91| 色综合夜色一区| 欧美日韩精品一区二区| 久久久九九九九| 午夜影院久久久| yourporn久久国产精品| 91精品国产品国语在线不卡| 欧美激情一区在线| 日本 国产 欧美色综合| 成人sese在线| 精品欧美久久久| 蜜乳av一区二区| 欧美精品v国产精品v日韩精品 | 在线免费观看日本欧美| 日韩精品一区二区三区在线播放| 国产精品青草综合久久久久99| 日本女人一区二区三区| 欧美日韩亚洲综合一区| 亚洲免费观看高清在线观看| 国产盗摄一区二区| 欧美国产乱子伦| kk眼镜猥琐国模调教系列一区二区| 久久综合九色综合久久久精品综合| 青青草原综合久久大伊人精品| 欧美日本国产视频| 天天综合色天天| www日韩大片| 国产精品一区二区在线播放| 亚洲欧美自拍偷拍| 色婷婷久久久亚洲一区二区三区| 亚洲精品乱码久久久久久久久 | 91美女福利视频| 国产人久久人人人人爽| 国产精品香蕉一区二区三区| 91麻豆精品国产自产在线| 性久久久久久久久久久久| 成人国产一区二区三区精品| 国产喂奶挤奶一区二区三区| 国产91精品在线观看| 国产午夜三级一区二区三| 99久久精品国产网站| 亚洲美女视频在线| 欧美一级电影网站| 午夜电影一区二区| 精品成人a区在线观看| 国产一区二区三区不卡在线观看| 欧美影院精品一区| 国产一二精品视频| 一区二区高清在线| 欧美电影免费观看高清完整版在| 日韩av一区二区三区| 久久先锋资源网| 精品视频资源站| 成人在线一区二区三区| 日韩国产欧美视频| 一区二区三区中文在线| 26uuu亚洲综合色| 51精品秘密在线观看| 一区二区三区在线免费播放| 一区二区成人在线视频| 欧美三级中文字幕在线观看| 亚洲一区欧美一区| 国产无遮挡一区二区三区毛片日本| 成人免费高清视频| 韩国欧美国产一区| 午夜视黄欧洲亚洲| 亚洲国产精品久久人人爱| 在线综合视频播放| 91精品综合久久久久久| 成人国产视频在线观看| 日本午夜一本久久久综合| 久久看人人爽人人| 久久新电视剧免费观看| 久久综合狠狠综合| 精品国产一区久久| 日韩三级中文字幕| 欧美区一区二区三区| 欧美系列亚洲系列| 欧洲色大大久久| 欧美三区在线视频| 欧美日本免费一区二区三区| 欧美日韩精品免费观看视频| 欧美精品乱码久久久久久| 欧美日韩国产乱码电影| 欧美日韩成人在线一区| 精品免费国产一区二区三区四区| 在线免费视频一区二区| 精品欧美一区二区三区精品久久| 久久亚洲私人国产精品va媚药| 欧美国产亚洲另类动漫| 亚洲伊人色欲综合网| 日韩电影在线免费观看| 成人丝袜视频网| 国产精品资源在线看| 欧美亚洲图片小说| 亚洲精品在线观看视频| 国产亚洲欧美激情| 亚洲地区一二三色| 精品一区二区三区香蕉蜜桃| 99re热视频这里只精品| 欧美日韩成人在线| 亚洲精品视频在线观看免费| 亚洲一区二区在线观看视频| 亚洲成人黄色小说| 北条麻妃国产九九精品视频| 成a人片亚洲日本久久| 欧美成人综合网站| 婷婷综合另类小说色区| 欧美午夜在线一二页| 国产精品久久久久四虎| 国产伦精一区二区三区| 91精品国产综合久久婷婷香蕉 | 欧美性受xxxx黑人xyx| 国产亚洲精品精华液| 国产一区在线观看麻豆| 欧美一区午夜精品| 精品在线观看视频| 久久亚洲一区二区三区四区| 国产aⅴ综合色| 中文字幕巨乱亚洲| 91高清在线观看| 日本最新不卡在线| 国产精品国产精品国产专区不片 | 成人午夜伦理影院| 中文字幕五月欧美| 欧美日韩黄色影视| 亚洲成人免费看| 久久久久久一二三区| 成人av先锋影音| 17c精品麻豆一区二区免费| 成人午夜电影网站| 久久综合综合久久综合| 精品成人佐山爱一区二区| 色综合久久综合| 久久99精品国产麻豆不卡| 日韩毛片精品高清免费| 91免费版pro下载短视频| 乱一区二区av| 精品国产污污免费网站入口 | 亚洲乱码国产乱码精品精98午夜| 欧美性高清videossexo| 91丨porny丨户外露出| 蜜桃视频第一区免费观看| 亚洲最大的成人av| 亚洲最新视频在线观看| 久久这里只有精品视频网| 欧美大尺度电影在线| 91原创在线视频| 成人免费视频视频| 国产精品一区在线| 亚洲成a人在线观看| 香蕉加勒比综合久久| 国产精品入口麻豆九色| 国产精品不卡在线| 亚洲女与黑人做爰| 日韩成人免费电影| 久久精品99久久久| 亚洲国产日韩精品| 日本在线播放一区二区三区| 亚洲欧美一区二区三区极速播放 | 蜜臀av性久久久久蜜臀aⅴ流畅| 欧美亚洲高清一区| 国产精品一区二区x88av| 蜜桃视频一区二区三区| 日韩精品国产精品| 久久99精品久久久久久动态图 | 日韩久久免费av| 久久久久97国产精华液好用吗| 久久品道一品道久久精品| 日本一区二区三区免费乱视频| 国产精品网曝门| 亚洲最大色网站| 久久精品久久综合| 岛国精品在线观看| 色88888久久久久久影院按摩| 欧美在线高清视频| 日韩美女主播在线视频一区二区三区| 精品国产一区二区三区四区四 | 69堂成人精品免费视频| 精品国产网站在线观看| 中文在线一区二区| 日韩高清在线观看| 成人性生交大片| 在线不卡中文字幕| 国产三级精品三级| 亚洲观看高清完整版在线观看| 韩国三级在线一区| 欧美三级日韩在线| 国产精品乱人伦| 日韩国产一区二| 一本大道久久精品懂色aⅴ| 欧美成人三级在线| 亚洲一二三区不卡| 丁香婷婷综合色啪|