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

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

?? valueexpression.java

?? java屬性邦定的(JSR-295)的一個實現
?? JAVA
字號:
/*
 * Copyright (C) 2007 Sun Microsystems, Inc. All rights reserved. Use is
 * subject to license terms.
 */

package org.jdesktop.el;

import java.util.Collections;
import java.util.List;

/**
 * An <code>Expression</code> that can get or set a value.
 *
 * <p>In previous incarnations of this API, expressions could only be
 * read. <code>ValueExpression</code> objects can now be used both to
 * retrieve a value and to set a value. Expressions that can have a value
 * set on them are referred to as l-value expressions. Those that
 * cannot are referred to as r-value expressions. Not all r-value expressions
 * can be used as l-value expressions (e.g. <code>"${1+1}"</code> or 
 * <code>"${firstName} ${lastName}"</code>). See the EL Specification for
 * details. Expressions that cannot be used as l-values must always 
 * return <code>true</code> from <code>isReadOnly()</code>.</p>
 *
 * <p>The <code>{@link ExpressionFactory#createValueExpression}</code> method
 * can be used to parse an expression string and return a concrete instance
 * of <code>ValueExpression</code> that encapsulates the parsed expression.
 * The {@link FunctionMapper} is used at parse time, not evaluation time, 
 * so one is not needed to evaluate an expression using this class.  
 * However, the {@link ELContext} is needed at evaluation time.</p>
 *
 * <p>The {@link #getValue}, {@link #setValue}, {@link #isReadOnly} and
 * {@link #getType} methods will evaluate the expression each time they are
 * called. The {@link ELResolver} in the <code>ELContext</code> is used to 
 * resolve the top-level variables and to determine the behavior of the
 * <code>.</code> and <code>[]</code> operators. For any of the four methods,
 * the {@link ELResolver#getValue} method is used to resolve all properties 
 * up to but excluding the last one. This provides the <code>base</code> 
 * object. At the last resolution, the <code>ValueExpression</code> will 
 * call the corresponding {@link ELResolver#getValue}, 
 * {@link ELResolver#setValue}, {@link ELResolver#isReadOnly} or 
 * {@link ELResolver#getType} method, depending on which was called on 
 * the <code>ValueExpression</code>.
 * </p>
 *
 * <p>See the notes about comparison, serialization and immutability in 
 * the {@link Expression} javadocs.
 *
 * @see ELResolver
 * @see Expression
 * @see ExpressionFactory
 * @since JSP 2.1
 */
public abstract class ValueExpression
    extends Expression
{
    private Object source;
    
    /**
     * Sets the source of the expression. For ValueExpressions that have a 
     * source, any identifiers are evaluated relative to the source. For
     * example, if the expression {@code "${first.name}"} has a source,
     * then {@code "first"} is evaluated relative to the source.
     *
     * @param source the initial source for identifiers; may be {@code null}
     */
    public void setSource(Object source) {
        this.source = source;
    }

    /**
     * Returns the source of the expression.
     *
     * @return the source of the expression
     */
    public Object getSource() {
        return source;
    }
    
    /**
     * Evaluates the expression relative to the provided context, and 
     * returns the resulting value.
     *
     * <p>The resulting value is automatically coerced to the type
     * returned by <code>getExpectedType()</code>, which was
     * provided to the <code>ExpressionFactory</code> when this
     * expression was created.</p>
     *
     * @param context The context of this evaluation.
     * @return The result of the expression evaluation.
     * @throws NullPointerException if context is <code>null</code>.
     * @throws PropertyNotFoundException if one of the property
     *     resolutions failed because a specified variable or property 
     *     does not exist or is not readable.
     * @throws ELException if an exception was thrown while performing
     *     property or variable resolution. The thrown exception
     *     must be included as the cause property of this exception, if
     *     available.
     */
    public abstract Object getValue(ELContext context);
    
    public Result getResult(ELContext context, boolean trackResolvedObjects) throws PropertyNotFoundException, 
            ELException {
        Object value = getValue(context);
        List<ResolvedProperty> resolved = Collections.emptyList();
        return new Result(Result.Type.VALUE, value, resolved);
    }

    /**
     * Evaluates the expression relative to the provided context, and 
     * sets the result to the provided value.
     *
     * @param context The context of this evaluation.
     * @param value The new value to be set.
     * @throws NullPointerException if context is <code>null</code>.
     * @throws PropertyNotFoundException if one of the property
     *     resolutions failed because a specified variable or property 
     *     does not exist or is not readable.
     * @throws PropertyNotWritableException if the final variable or
     *     property resolution failed because the specified
     *     variable or property is not writable.
     * @throws ELException if an exception was thrown while attempting to
     *     set the property or variable. The thrown exception
     *     must be included as the cause property of this exception, if
     *     available.
     */
    public abstract void setValue(ELContext context, Object value);
    
    /**
     * Evaluates the expression relative to the provided context, and 
     * returns <code>true</code> if a call to {@link #setValue} will 
     * always fail.
     *
     * @param context The context of this evaluation.
     * @return <code>true</code> if the expression is read-only or
     *     <code>false</code> if not.
     * @throws NullPointerException if context is <code>null</code>.
     * @throws PropertyNotFoundException if one of the property
     *     resolutions failed because a specified variable or property 
     *     does not exist or is not readable.
     * @throws ELException if an exception was thrown while performing
     *     property or variable resolution. The thrown exception
     *     must be included as the cause property of this exception, if
     *     available.
     *     * @throws NullPointerException if context is <code>null</code>
     */
    public abstract boolean isReadOnly(ELContext context);
    
    /**
     * Evaluates the expression relative to the provided context, and 
     * returns the most general type that is acceptable for an object to be 
     * passed as the <code>value</code> parameter in a future call 
     * to the {@link #setValue} method.
     *
     * <p>This is not always the same as <code>getValue().getClass()</code>.
     * For example, in the case of an expression that references an 
     * array element, the <code>getType</code> method will return the 
     * element type of the array, which might be a superclass of the type 
     * of the actual element that is currently in the specified 
     * array element.</p>
     *
     * @param context The context of this evaluation.
     * @return the most general acceptable type; otherwise undefined.
     * @throws NullPointerException if context is <code>null</code>.
     * @throws PropertyNotFoundException if one of the property
     *     resolutions failed because a specified variable or property 
     *     does not exist or is not readable.
     * @throws ELException if an exception was thrown while performing
     *     property or variable resolution. The thrown exception
     *     must be included as the cause property of this exception, if
     *     available.
     */
    public abstract Class<?> getType(ELContext context);
    
    /**
     * Returns the type the result of the expression will be coerced to 
     * after evaluation.
     *
     * @return the <code>expectedType</code> passed to the
     *     <code>ExpressionFactory.createValueExpression</code> method
     *     that created this <code>ValueExpression</code>.
     */
    public abstract Class<?> getExpectedType();
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99精品国产一区二区三区不卡| 看片的网站亚洲| 精品视频1区2区3区| 久久精品国产网站| 国产精品的网站| 欧美v日韩v国产v| 色综合天天做天天爱| 国产伦精品一区二区三区视频青涩| 2021中文字幕一区亚洲| 91丨九色丨蝌蚪丨老版| 91视频com| 91福利区一区二区三区| 在线观看日韩毛片| 欧美日韩精品综合在线| 欧美日韩精品欧美日韩精品一综合| 色菇凉天天综合网| 欧美日韩在线三级| 欧美一区2区视频在线观看| 日韩一区二区中文字幕| 日韩三级精品电影久久久| 精品国产乱码久久久久久蜜臀| 精品日韩欧美在线| 国产拍欧美日韩视频二区| 中文成人av在线| 成人午夜免费视频| av不卡在线播放| 日本电影亚洲天堂一区| 7777精品伊人久久久大香线蕉超级流畅| 欧美久久一二区| 久久亚洲二区三区| 日韩一区中文字幕| 日韩极品在线观看| 国产成人亚洲综合a∨猫咪| 91丨九色丨黑人外教| 91麻豆精品国产综合久久久久久 | 日韩电影在线观看网站| 免费在线观看视频一区| 国产精品夜夜嗨| 91福利在线看| 久久夜色精品国产欧美乱极品| 中文字幕一区二区三区精华液 | 91精品国产一区二区三区| 26uuuu精品一区二区| 国产精品午夜久久| 婷婷夜色潮精品综合在线| 国产aⅴ精品一区二区三区色成熟| 色噜噜狠狠一区二区三区果冻| 欧美成人一区二区三区在线观看| 国产精品成人网| 伦理电影国产精品| 欧美性极品少妇| 亚洲国产精品成人综合| 日韩精品免费专区| 91久久精品国产91性色tv | 成人精品视频.| 欧美老人xxxx18| 亚洲视频综合在线| 国产精品99久久久久久久vr| 欧美三级资源在线| 综合久久综合久久| 国内久久婷婷综合| 欧美午夜电影网| 国产精品二区一区二区aⅴ污介绍| 蜜臀av一级做a爰片久久| 91激情在线视频| 中文字幕中文乱码欧美一区二区 | 中文字幕欧美激情| 国产一区二区三区四区五区美女 | 久久久久亚洲综合| 依依成人综合视频| 国产成人精品免费一区二区| 日韩一区二区在线看片| 亚洲永久精品国产| 91在线视频网址| 国产欧美日韩另类一区| 韩国精品免费视频| 欧美tk—视频vk| 久久国产夜色精品鲁鲁99| 欧美一区二区三区视频免费播放 | 国产成人福利片| 久久久精品国产免费观看同学| 日韩电影在线免费| 日韩精品一区二| 日本 国产 欧美色综合| 69久久99精品久久久久婷婷| 天天综合色天天| 欧美久久久影院| 日本成人在线看| 欧美大度的电影原声| 久久99精品一区二区三区三区| 欧美一区二区三区的| 久久疯狂做爰流白浆xx| 精品欧美乱码久久久久久1区2区| 麻豆精品在线看| 精品久久人人做人人爱| 国产成人午夜精品5599| 国产精品久久精品日日| 91蝌蚪国产九色| 亚洲va欧美va人人爽| 91精品国产福利在线观看| 国产中文一区二区三区| 国产精品视频第一区| 色婷婷av一区| 日韩**一区毛片| 欧美经典一区二区| 91亚洲资源网| 日韩国产欧美一区二区三区| 2023国产精品| 色综合久久综合| 日韩精品一二区| 国产精品亲子伦对白| 欧美精品自拍偷拍| 国产高清不卡一区| 亚洲一区在线免费观看| 精品国产伦一区二区三区观看方式| 成人性生交大片免费看视频在线 | 亚洲女人****多毛耸耸8| 欧美三级三级三级爽爽爽| 裸体在线国模精品偷拍| 中文字幕一区二区三| 在线播放视频一区| 99精品欧美一区二区蜜桃免费| 亚洲精品日韩一| 精品国产三级a在线观看| 91同城在线观看| 激情深爱一区二区| 亚洲精品视频在线观看免费| 2017欧美狠狠色| 欧美精品粉嫩高潮一区二区| 成人sese在线| 玖玖九九国产精品| 亚洲国产成人porn| 国产精品理论片在线观看| 欧美刺激脚交jootjob| 欧美日韩黄色影视| 99re在线精品| 国产精品影音先锋| 人禽交欧美网站| 夜色激情一区二区| 一区免费观看视频| wwwwww.欧美系列| 精品视频999| 在线观看亚洲一区| 国产91丝袜在线18| 国产在线麻豆精品观看| 蜜臀国产一区二区三区在线播放| 亚洲综合一区二区精品导航| 国产视频一区在线观看| 精品国内二区三区| 日韩一区二区免费电影| 欧美日韩久久一区| 欧洲另类一二三四区| 色综合久久久久| 不卡的av在线| 成人三级伦理片| 粉嫩久久99精品久久久久久夜| 韩国女主播成人在线| 激情成人综合网| 蜜桃av噜噜一区二区三区小说| 午夜伊人狠狠久久| 午夜精品一区在线观看| 视频一区二区三区在线| 天天综合日日夜夜精品| 丝袜诱惑制服诱惑色一区在线观看 | www.亚洲激情.com| 不卡av电影在线播放| 成人一区二区三区视频在线观看| 国产成人一级电影| 97久久精品人人做人人爽50路| 99久久久国产精品免费蜜臀| av不卡免费电影| 欧美在线看片a免费观看| 欧美日韩精品欧美日韩精品一 | 欧美久久久久久蜜桃| 日韩一级完整毛片| 精品99999| 国产精品―色哟哟| 一区二区三区精品视频| 婷婷一区二区三区| 国产一区二区三区电影在线观看| 国产一区二区三区电影在线观看| 不卡一区二区中文字幕| 欧美综合色免费| 欧美一区二区成人6969| 久久久精品欧美丰满| 亚洲人成7777| 日本亚洲一区二区| 国产传媒一区在线| 日本福利一区二区| 精品剧情v国产在线观看在线| 久久久精品国产免费观看同学| 亚洲精品国产精华液| 捆绑变态av一区二区三区| 不卡的电影网站| 欧美一级国产精品| 中文字幕一区二区三区四区| 日韩av在线发布| 91美女蜜桃在线| 欧美电视剧在线观看完整版| 亚洲人快播电影网|