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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? elmatchtag.java

?? struts的源代碼
?? JAVA
字號:
/*
 * $Id: ELMatchTag.java 54933 2004-10-16 17:04:52Z germuska $ 
 *
 * Copyright 1999-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.strutsel.taglib.logic;

import org.apache.struts.taglib.logic.MatchTag;
import javax.servlet.jsp.JspException;
import org.apache.strutsel.taglib.utils.EvalHelper;

/**
 * Evalute the nested body content of this tag if the specified value
 * is a substring of the specified variable.
 *<p>
 * This class is a subclass of the class
 * <code>org.apache.struts.taglib.logic.MatchTag</code> which provides most of
 * the described functionality.  This subclass allows all attribute values to
 * be specified as expressions utilizing the JavaServer Pages Standard Library
 * expression language.
 *
 * @version $Rev: 54933 $
 */
public class ELMatchTag extends MatchTag {

    /**
     * Instance variable mapped to "cookie" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    private String cookieExpr;
    /**
     * Instance variable mapped to "header" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    private String headerExpr;
    /**
     * Instance variable mapped to "location" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    private String locationExpr;
    /**
     * Instance variable mapped to "name" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    private String nameExpr;
    /**
     * Instance variable mapped to "parameter" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    private String parameterExpr;
    /**
     * Instance variable mapped to "property" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    private String propertyExpr;
    /**
     * Instance variable mapped to "scope" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    private String scopeExpr;
    /**
     * Instance variable mapped to "value" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    private String valueExpr;

    /**
     * Getter method for "cookie" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public String getCookieExpr() { return (cookieExpr); }
    /**
     * Getter method for "header" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public String getHeaderExpr() { return (headerExpr); }
    /**
     * Getter method for "location" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public String getLocationExpr() { return (locationExpr); }
    /**
     * Getter method for "name" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public String getNameExpr() { return (nameExpr); }
    /**
     * Getter method for "parameter" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public String getParameterExpr() { return (parameterExpr); }
    /**
     * Getter method for "property" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public String getPropertyExpr() { return (propertyExpr); }
    /**
     * Getter method for "scope" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public String getScopeExpr() { return (scopeExpr); }
    /**
     * Getter method for "value" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public String getValueExpr() { return (valueExpr); }

    /**
     * Setter method for "cookie" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public void setCookieExpr(String cookieExpr) { this.cookieExpr = cookieExpr; }
    /**
     * Setter method for "header" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public void setHeaderExpr(String headerExpr) { this.headerExpr = headerExpr; }
    /**
     * Setter method for "location" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public void setLocationExpr(String locationExpr) { this.locationExpr = locationExpr; }
    /**
     * Setter method for "name" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public void setNameExpr(String nameExpr) { this.nameExpr = nameExpr; }
    /**
     * Setter method for "parameter" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public void setParameterExpr(String parameterExpr) { this.parameterExpr = parameterExpr; }
    /**
     * Setter method for "property" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public void setPropertyExpr(String propertyExpr) { this.propertyExpr = propertyExpr; }
    /**
     * Setter method for "scope" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public void setScopeExpr(String scopeExpr) { this.scopeExpr = scopeExpr; }
    /**
     * Setter method for "value" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public void setValueExpr(String valueExpr) { this.valueExpr = valueExpr; }

    /**
     * String value of expression to be evaluated.
     */
    private String   expr;

    /**
     * Returns the string value of the expression.  This value will be
     * evaluated by the JSTL EL engine.
     */
    public  String   getExpr() {
        return (expr);
    }
    
    /**
     * Sets the string value of the expression.  This expression will be
     * evaluated by the JSTL EL engine.
     */
    public  void  setExpr(String expr) {
        this.expr = expr;
    }

    /**
     * Evaluated value of expression.
     */
    private String   exprValue;

    /**
     * Returns the evaluated expression.
     */
    public  String   getExprValue() {
        return (exprValue);
    }

    /**
     * Sets the evaluated expression.
     */
    public  void  setExprValue(String exprValue) {
        this.exprValue  = exprValue;
    }
    
    /**
     * Releases state of custom tag so this instance can be reused.
     */
    public void release()
    {
        super.release();
        setCookieExpr(null);
        setHeaderExpr(null);
        setLocationExpr(null);
        setNameExpr(null);
        setParameterExpr(null);
        setPropertyExpr(null);
        setScopeExpr(null);
        setValueExpr(null);
        setExpr(null);
        setExprValue(null);
    }
    
    /**
     * Process the start tag.
     *
     * @exception JspException if a JSP exception has occurred
     */
    public int doStartTag() throws JspException {
        evaluateExpressions();
        return (super.doStartTag());
    }

    /**
     * Evaluates the condition that is being tested by this particular tag,
     * and returns <code>true</code> if the nested body content of this tag
     * should be evaluated, or <code>false</code> if it should be skipped.
     *
     * @param desired Desired value for a true result
     * @exception JspException if a JSP exception occurs
     */
    protected boolean condition(boolean desired) throws JspException {
        boolean   result   = false;
        if (getExprValue() != null) {
            result   =
                ELMatchSupport.condition(desired, getExprValue(), value,
                                         location, messages, pageContext);
        }
        else {
            result   = super.condition(desired);
        }
        return (result);
    }
    
    /**
     * Processes all attribute values which use the JSTL expression evaluation
     * engine to determine their values.
     *
     * @exception JspException if a JSP exception has occurred
     */
    private void evaluateExpressions() throws JspException {
        String  string  = null;

        if ((string = EvalHelper.evalString("cookie", getCookieExpr(),
                                            this, pageContext)) != null)
            setCookie(string);

        if ((string = EvalHelper.evalString("expr", getExpr(),
                                            this, pageContext)) != null)
            setExprValue(string);

        if ((string = EvalHelper.evalString("header", getHeaderExpr(),
                                            this, pageContext)) != null)
            setHeader(string);

        if ((string = EvalHelper.evalString("location", getLocationExpr(),
                                            this, pageContext)) != null)
            setLocation(string);

        if ((string = EvalHelper.evalString("name", getNameExpr(),
                                            this, pageContext)) != null)
            setName(string);

        if ((string = EvalHelper.evalString("parameter", getParameterExpr(),
                                            this, pageContext)) != null)
            setParameter(string);

        if ((string = EvalHelper.evalString("property", getPropertyExpr(),
                                            this, pageContext)) != null)
            setProperty(string);

        if ((string = EvalHelper.evalString("scope", getScopeExpr(),
                                            this, pageContext)) != null)
            setScope(string);

        if ((string = EvalHelper.evalString("value", getValueExpr(),
                                            this, pageContext)) != null)
            setValue(string);
    }
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
9191久久久久久久久久久| 亚洲一区二区三区爽爽爽爽爽 | 国产传媒日韩欧美成人| 一本色道久久综合亚洲aⅴ蜜桃 | 亚洲成av人片观看| 99re8在线精品视频免费播放| 日韩天堂在线观看| 亚洲精品精品亚洲| 成人va在线观看| 久久综合成人精品亚洲另类欧美| 亚洲国产精品久久久久婷婷884| 福利一区二区在线| 精品国产99国产精品| 日韩av网站在线观看| 91福利视频久久久久| 国产精品女主播av| 成人污视频在线观看| 欧美一区二区国产| 三级一区在线视频先锋| 欧美日韩一区二区三区视频 | 欧洲一区在线电影| 中文字幕亚洲视频| www.欧美亚洲| 国产精品伦理一区二区| 国产精品1区2区| 精品欧美一区二区久久| 蜜臀精品一区二区三区在线观看| 欧美二区三区91| 午夜精品久久久久久久99樱桃| 欧美性做爰猛烈叫床潮| 亚洲综合久久av| 欧美亚洲自拍偷拍| 亚洲成人精品一区二区| 欧美在线观看视频一区二区三区| 亚洲综合视频网| 在线电影欧美成精品| 久久精品国产第一区二区三区| 精品国内二区三区| 国产98色在线|日韩| 中文字幕不卡在线观看| 91网站最新网址| 亚洲夂夂婷婷色拍ww47| 欧美撒尿777hd撒尿| 日欧美一区二区| 欧美成人猛片aaaaaaa| 国产久卡久卡久卡久卡视频精品| 国产午夜亚洲精品午夜鲁丝片| 成人久久视频在线观看| 亚洲女厕所小便bbb| 欧美男男青年gay1069videost| 日本色综合中文字幕| 亚洲精品一线二线三线| av在线不卡免费看| 婷婷夜色潮精品综合在线| 精品理论电影在线| 成人h动漫精品| 亚洲成人一区在线| 2022国产精品视频| 色综合久久久久久久久久久| 日韩av二区在线播放| 久久九九久久九九| 欧美日韩一区二区三区高清| 精品一区二区在线观看| 综合久久给合久久狠狠狠97色| 欧美男人的天堂一二区| 粉嫩av一区二区三区粉嫩| 亚洲一区二区高清| 久久综合av免费| 日本电影欧美片| 国模无码大尺度一区二区三区| 亚洲免费观看在线观看| 欧美成人高清电影在线| 色综合久久九月婷婷色综合| 久久99久久99小草精品免视看| 国产精品国产精品国产专区不片| 日韩一区二区免费视频| 91色视频在线| 国产一区二区三区香蕉 | 狠狠色丁香久久婷婷综合_中 | 久久丝袜美腿综合| 欧美伊人久久久久久午夜久久久久| 久久电影网站中文字幕| 亚洲一区日韩精品中文字幕| 欧美精品一区二区久久婷婷| 91精品91久久久中77777| 国产成人精品亚洲日本在线桃色 | 成人精品国产福利| 日本视频一区二区三区| 亚洲一区二区三区美女| 国产精品传媒入口麻豆| 久久久午夜精品理论片中文字幕| 欧美撒尿777hd撒尿| 972aa.com艺术欧美| 国产精品夜夜嗨| 欧美a一区二区| 麻豆成人91精品二区三区| 亚洲精品中文在线影院| 国产欧美精品一区aⅴ影院 | 亚洲国产成人一区二区三区| 欧美成人vps| 精品少妇一区二区三区免费观看 | 日韩av一区二区三区四区| 亚洲伦理在线免费看| 最新日韩av在线| 国产清纯白嫩初高生在线观看91| 日韩色在线观看| 欧美一级专区免费大片| 91精品国产91综合久久蜜臀| 欧美日韩精品免费观看视频| 色婷婷激情综合| 色综合久久综合| 91激情在线视频| 在线欧美小视频| 欧美日韩在线亚洲一区蜜芽| 欧美视频一区二区三区在线观看 | 偷拍日韩校园综合在线| 亚洲v日本v欧美v久久精品| 亚洲电影第三页| 午夜精品一区在线观看| 亚洲大型综合色站| 日本在线不卡视频| 久久精品72免费观看| 黑人精品欧美一区二区蜜桃 | 欧美系列一区二区| 欧美卡1卡2卡| 欧美va在线播放| 中文字幕精品一区| 亚洲女与黑人做爰| 日韩国产一区二| 国产一区二区电影| kk眼镜猥琐国模调教系列一区二区| 99久久er热在这里只有精品15 | 91丝袜美腿高跟国产极品老师| 成av人片一区二区| 欧美日韩国产综合视频在线观看| 91精品国产91久久久久久一区二区 | 免费久久精品视频| 国产一区二区三区黄视频| 国产精品77777竹菊影视小说| 99久久综合色| 欧美日韩中文字幕一区二区| 欧美大片国产精品| 1024国产精品| 免费观看成人av| 不卡欧美aaaaa| 7777精品久久久大香线蕉| 国产欧美精品一区二区色综合朱莉| 亚洲欧美一区二区久久| 日韩有码一区二区三区| 成人综合婷婷国产精品久久 | 91蜜桃婷婷狠狠久久综合9色| 91麻豆精品国产91| 亚洲国产成人午夜在线一区| 亚洲一级在线观看| 国产成人av一区二区三区在线 | 色婷婷综合激情| 日韩精品在线网站| 亚洲欧美激情小说另类| 美女一区二区三区在线观看| 91亚洲大成网污www| 555夜色666亚洲国产免| 亚洲欧洲成人自拍| 狠狠色丁香九九婷婷综合五月| 在线免费视频一区二区| 国产亲近乱来精品视频| 奇米精品一区二区三区四区| 色丁香久综合在线久综合在线观看| 精品91自产拍在线观看一区| 亚洲综合久久久| 成人av手机在线观看| 精品国产伦一区二区三区观看方式 | 亚洲天堂a在线| 国产乱人伦精品一区二区在线观看 | 国产农村妇女毛片精品久久麻豆| 香蕉久久一区二区不卡无毒影院 | 成人激情av网| 精品国产一区久久| 亚洲国产精品久久久久秋霞影院 | 成人av网在线| 久久久久久久综合狠狠综合| 日日夜夜一区二区| 欧美视频第二页| 亚洲欧美色一区| 成人福利视频网站| 久久久久久久电影| 国产在线一区观看| 欧美岛国在线观看| 蜜臀av一区二区在线观看| 欧美精品日韩一本| 亚洲3atv精品一区二区三区| 欧美亚一区二区| 亚洲国产aⅴ天堂久久| 欧美亚洲日本国产| 亚洲一区二区影院| 在线免费一区三区| 亚洲成av人片在线观看无码| 欧美日韩国产综合一区二区三区| 亚洲综合一区二区| 欧美高清dvd| 乱一区二区av|