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

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

?? delegator.java

?? 主要的怎么樣結(jié)合java 和 javascript!
?? JAVA
字號(hào):
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * The contents of this file are subject to the Netscape Public * License Version 1.1 (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.mozilla.org/NPL/ * * Software distributed under the License is distributed on an "AS * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or * implied. See the License for the specific language governing * rights and limitations under the License. * * The Original Code is Delegator.java, released Sep 27, 2000. * * The Initial Developer of the Original Code is Matthias Radestock. * <matthias@sorted.org>. Portions created by Matthias Radestock are * Copyright (C) 2000 Matthias Radestock. All Rights Reserved. * * Contributor(s): * * Matthias Radestock, Redfig Ltd (http://www.redfig.com) * Matthias Radestock, LShift Ltd (http://www.lshift.net) * * Alternatively, the contents of this file may be used under the * terms of the GNU Public License (the "GPL"), in which case the * provisions of the GPL are applicable instead of those above. * If you wish to allow use of your version of this file only * under the terms of the GPL and not to allow others to use your * version of this file under the NPL, indicate your decision by * deleting the provisions above and replace them with the notice * and other provisions required by the GPL.  If you do not delete * the provisions above, a recipient may use your version of this * file under either the NPL or the GPL. */// API classpackage org.mozilla.javascript;/** * This is a helper class for implementing wrappers around Scriptable * objects. It implements the Function interface and delegates all * invocations to a delegee Scriptable object. The normal use of this * class involves creating a sub-class and overriding one or more of * the methods. * * A useful application is the implementation of interceptors, * pre/post conditions, debugging. * * @see Function * @see Scriptable * @author Matthias Radestock */public class Delegator implements Function {    protected Scriptable obj = null;    /**     * Create a Delegator prototype.     *     * This constructor should only be used for creating prototype     * objects of Delegator.     *     * @see org.mozilla.javascript.Delegator#construct     */    public Delegator() {    }    /**     * Create a new Delegator that forwards requests to a delegee     * Scriptable object.     *     * @param obj the delegee     * @see org.mozilla.javascript.Scriptable     */    public Delegator(Scriptable obj) {        this.obj = obj;    }    /**     * Crete new Delegator instance.     * The default implementation calls this.getClass().newInstance().     *     * @see #construct(Context cx, Scriptable scope, Object[] args)     */    protected Delegator newInstance()    {        try {            return (Delegator)this.getClass().newInstance();        } catch (Exception ex) {            throw Context.throwAsScriptRuntimeEx(ex);        }    }    /**     * Retrieve the delegee.     *     * @return the delegee     */    public Scriptable getDelegee() {        return obj;    }    /**     * Set the delegee.     *     * @param obj the delegee     * @see org.mozilla.javascript.Scriptable     */    public void setDelegee(Scriptable obj) {        this.obj = obj;    }    /**     * @see org.mozilla.javascript.Scriptable#getClassName     */    public String getClassName() {        return obj.getClassName();    }    /**     * @see org.mozilla.javascript.Scriptable#get     */    public Object get(String name, Scriptable start) {        return obj.get(name,start);    }    /**     * @see org.mozilla.javascript.Scriptable#get     */    public Object get(int index, Scriptable start) {        return obj.get(index,start);        }    /**     * @see org.mozilla.javascript.Scriptable#has     */    public boolean has(String name, Scriptable start) {        return obj.has(name,start);        }    /**     * @see org.mozilla.javascript.Scriptable#has     */    public boolean has(int index, Scriptable start) {        return obj.has(index,start);        }    /**     * @see org.mozilla.javascript.Scriptable#put     */    public void put(String name, Scriptable start, Object value) {        obj.put(name,start,value);    }    /**     * @see org.mozilla.javascript.Scriptable#put     */    public void put(int index, Scriptable start, Object value) {        obj.put(index,start,value);    }    /**     * @see org.mozilla.javascript.Scriptable#delete     */    public void delete(String name) {        obj.delete(name);    }    /**     * @see org.mozilla.javascript.Scriptable#delete     */    public void delete(int index) {        obj.delete(index);    }    /**     * @see org.mozilla.javascript.Scriptable#getPrototype     */    public Scriptable getPrototype() {        return obj.getPrototype();    }    /**     * @see org.mozilla.javascript.Scriptable#setPrototype     */    public void setPrototype(Scriptable prototype) {        obj.setPrototype(prototype);    }    /**     * @see org.mozilla.javascript.Scriptable#getParentScope     */    public Scriptable getParentScope() {        return obj.getParentScope();    }    /**     * @see org.mozilla.javascript.Scriptable#setParentScope     */    public void setParentScope(Scriptable parent) {        obj.setParentScope(parent);    }    /**     * @see org.mozilla.javascript.Scriptable#getIds     */    public Object[] getIds() {        return obj.getIds();    }    /**     * Note that this method does not get forwarded to the delegee if     * the <code>hint</code> parameter is null,     * <code>ScriptRuntime.ScriptableClass</code> or     * <code>ScriptRuntime.FunctionClass</code>. Instead the object     * itself is returned.     *     * @param hint the type hint     * @return the default value     *     * @see org.mozilla.javascript.Scriptable#getDefaultValue     */    public Object getDefaultValue(Class hint) {        return (hint == null ||                hint == ScriptRuntime.ScriptableClass ||                hint == ScriptRuntime.FunctionClass) ?            this : obj.getDefaultValue(hint);    }    /**     * @see org.mozilla.javascript.Scriptable#hasInstance     */    public boolean hasInstance(Scriptable instance) {        return obj.hasInstance(instance);    }    /**     * @see org.mozilla.javascript.Function#call     */    public Object call(Context cx, Scriptable scope, Scriptable thisObj,                       Object[] args)    {        return ((Function)obj).call(cx,scope,thisObj,args);    }    /**     * Note that if the <code>delegee</code> is <code>null</code>,     * this method creates a new instance of the Delegator itself     * rathert than forwarding the call to the     * <code>delegee</code>. This permits the use of Delegator     * prototypes.     *     * @param cx the current Context for this thread     * @param scope an enclosing scope of the caller except     *              when the function is called from a closure.     * @param args the array of arguments     * @return the allocated object     *     * @see Function#construct(Context, Scriptable, Object[])     */    public Scriptable construct(Context cx, Scriptable scope, Object[] args)    {        if (obj == null) {            //this little trick allows us to declare prototype objects for            //Delegators            Delegator n = newInstance();            Scriptable delegee;            if (args.length == 0) {                delegee = new NativeObject();            } else {                delegee = ScriptRuntime.toObject(cx, scope, args[0]);            }            n.setDelegee(delegee);            return n;        }        else {            return ((Function)obj).construct(cx,scope,args);        }    }}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美伊人久久久久久午夜久久久久| 欧美久久高跟鞋激| 国产精品污网站| 国产伦精一区二区三区| 精品国产伦理网| 狠狠狠色丁香婷婷综合久久五月| 日韩一区二区三区在线观看| 日本欧美一区二区| 日韩视频在线永久播放| 久久精品久久精品| 欧美不卡一区二区三区四区| 蜜臀av性久久久久蜜臀av麻豆| 日韩三级在线免费观看| 久久成人18免费观看| www日韩大片| 国产精品一二三四区| 国产日韩视频一区二区三区| 顶级嫩模精品视频在线看| 亚洲国产精品传媒在线观看| 成人91在线观看| 亚洲私人黄色宅男| 欧美在线啊v一区| 一区二区久久久久| 欧美丰满嫩嫩电影| 精品一二线国产| 国产亚洲va综合人人澡精品| av一区二区三区在线| 亚洲视频一区在线| 欧美在线一二三四区| 视频一区欧美精品| 日韩免费看的电影| 国产91综合一区在线观看| 国产精品久久久久久一区二区三区| av不卡免费在线观看| 亚洲一区二区三区四区不卡 | 亚洲成人动漫av| 91精品国产综合久久久蜜臀图片 | 国产精品一区二区在线观看网站 | 亚洲黄色在线视频| 欧美精选一区二区| 激情综合色播激情啊| 欧美激情中文字幕| 日本道精品一区二区三区| 日韩电影一二三区| 久久日一线二线三线suv| 91在线国内视频| 日韩国产在线观看| 国产日产欧产精品推荐色 | 97久久超碰国产精品| 亚洲国产成人tv| 欧美大片国产精品| 成人av资源在线| 天涯成人国产亚洲精品一区av| 精品国产a毛片| 一本大道av伊人久久综合| 日韩国产成人精品| 日本一区二区三区四区| 欧美三级三级三级| 国产精品亚洲午夜一区二区三区| 亚洲丝袜另类动漫二区| 日韩欧美久久一区| 91小宝寻花一区二区三区| 日本中文在线一区| 国产精品伦理一区二区| 91精品福利在线一区二区三区| 丰满少妇在线播放bd日韩电影| 亚洲一区在线视频| 久久久综合九色合综国产精品| 欧洲精品一区二区三区在线观看| 极品销魂美女一区二区三区| 一区二区三区四区在线播放| 精品欧美乱码久久久久久1区2区| 97精品久久久午夜一区二区三区 | 91激情在线视频| 久久精品国产一区二区| 一区二区三区四区不卡在线 | 日本欧美加勒比视频| 中文字幕亚洲在| 337p粉嫩大胆噜噜噜噜噜91av | 大陆成人av片| 视频一区二区欧美| 中文字幕日韩一区二区| 欧美精品一区二区在线观看| 色婷婷综合激情| 国产美女娇喘av呻吟久久| 午夜视频在线观看一区二区三区| 欧美国产成人在线| 精品久久久三级丝袜| 欧美三级乱人伦电影| 成人av动漫在线| 狠狠色综合播放一区二区| 亚洲香肠在线观看| 综合中文字幕亚洲| 久久亚洲私人国产精品va媚药| 欧美久久久久久久久久| 一本大道久久a久久综合| 国产 欧美在线| 激情欧美日韩一区二区| 日韩中文欧美在线| 亚洲综合男人的天堂| 中文字幕欧美一| 国产婷婷一区二区| 亚洲不卡一区二区三区| 国产精品毛片高清在线完整版| 26uuu精品一区二区在线观看| 5858s免费视频成人| 在线看国产一区| 91在线视频免费观看| 国产成人精品午夜视频免费| 久久精品国产亚洲高清剧情介绍| 丝袜美腿亚洲综合| 偷拍与自拍一区| 午夜亚洲国产au精品一区二区| 亚洲自拍另类综合| 一区二区三区欧美久久| 亚洲卡通动漫在线| 亚洲免费观看高清完整版在线观看 | 日韩视频免费观看高清完整版在线观看| 色哦色哦哦色天天综合| 99久久99久久精品免费观看| 成人激情免费网站| 成人网页在线观看| 丁香六月久久综合狠狠色| 国产aⅴ综合色| 粉嫩久久99精品久久久久久夜| 国产夫妻精品视频| 国产suv精品一区二区三区| 国产一区二区三区日韩| 国产真实精品久久二三区| 久久av资源站| 久久99久久99| 国产精品一区二区三区乱码| 国产二区国产一区在线观看| 国产98色在线|日韩| 成人理论电影网| 成人久久视频在线观看| 99re热视频精品| 在线一区二区三区四区| 欧美日韩久久不卡| 欧美一区二区女人| 欧美tickling挠脚心丨vk| 精品国产露脸精彩对白| 国产色一区二区| 国产精品久久看| 亚洲欧美偷拍三级| 亚洲国产日韩精品| 蜜臀久久久99精品久久久久久| 久久91精品国产91久久小草| 国产一本一道久久香蕉| 波波电影院一区二区三区| 91色porny蝌蚪| 欧美视频一二三区| 日韩欧美亚洲国产另类| 国产无遮挡一区二区三区毛片日本| 国产精品久久久久久福利一牛影视| 亚洲精品五月天| 五月婷婷欧美视频| 久99久精品视频免费观看| 成人网男人的天堂| 在线观看免费亚洲| 欧美电影免费观看高清完整版在线观看 | 色哦色哦哦色天天综合| 欧美丰满一区二区免费视频 | 56国语精品自产拍在线观看| 精品伦理精品一区| 日本一区二区三区四区在线视频| 亚洲欧美一区二区久久 | 天堂影院一区二区| 国内精品在线播放| 92国产精品观看| 6080亚洲精品一区二区| 国产色产综合色产在线视频| 亚洲精品菠萝久久久久久久| 日韩国产高清在线| 成人午夜视频福利| 欧美亚洲国产一区二区三区va | 911精品产国品一二三产区| 久久亚洲综合av| 亚洲精品高清在线| 美女久久久精品| a亚洲天堂av| 制服丝袜在线91| 国产精品久久久久9999吃药| 亚洲超碰精品一区二区| 国产成人精品1024| 欧美日韩国产高清一区二区三区| 久久久久九九视频| 亚洲伊人色欲综合网| 国产精品一区二区男女羞羞无遮挡| 久久久三级国产网站| 亚洲综合精品自拍| 国产毛片精品国产一区二区三区| 99视频在线精品| 日韩精品在线一区| 悠悠色在线精品| 国产精品自拍在线| 欧美福利视频导航| 综合亚洲深深色噜噜狠狠网站| 日本成人在线看| 色婷婷av一区二区三区软件|