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

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

?? scriptableobject.java

?? 主要的怎么樣結合java 和 javascript!
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
/* -*- 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 Rhino code, released * May 6, 1999. * * The Initial Developer of the Original Code is Netscape * Communications Corporation.  Portions created by Netscape are * Copyright (C) 1997-1999 Netscape Communications Corporation. All * Rights Reserved. * * Contributor(s): * Norris Boyd * Igor Bukanov * Roger Lawrence * * 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;import java.lang.reflect.*;import java.util.Hashtable;import java.io.*;import org.mozilla.javascript.debug.DebuggableObject;/** * This is the default implementation of the Scriptable interface. This * class provides convenient default behavior that makes it easier to * define host objects. * <p> * Various properties and methods of JavaScript objects can be conveniently * defined using methods of ScriptableObject. * <p> * Classes extending ScriptableObject must define the getClassName method. * * @see org.mozilla.javascript.Scriptable * @author Norris Boyd */public abstract class ScriptableObject implements Scriptable, Serializable,                                                  DebuggableObject{    /**     * The empty property attribute.     *     * Used by getAttributes() and setAttributes().     *     * @see org.mozilla.javascript.ScriptableObject#getAttributes     * @see org.mozilla.javascript.ScriptableObject#setAttributes     */    public static final int EMPTY =     0x00;    /**     * Property attribute indicating assignment to this property is ignored.     *     * @see org.mozilla.javascript.ScriptableObject#put     * @see org.mozilla.javascript.ScriptableObject#getAttributes     * @see org.mozilla.javascript.ScriptableObject#setAttributes     */    public static final int READONLY =  0x01;    /**     * Property attribute indicating property is not enumerated.     *     * Only enumerated properties will be returned by getIds().     *     * @see org.mozilla.javascript.ScriptableObject#getIds     * @see org.mozilla.javascript.ScriptableObject#getAttributes     * @see org.mozilla.javascript.ScriptableObject#setAttributes     */    public static final int DONTENUM =  0x02;    /**     * Property attribute indicating property cannot be deleted.     *     * @see org.mozilla.javascript.ScriptableObject#delete     * @see org.mozilla.javascript.ScriptableObject#getAttributes     * @see org.mozilla.javascript.ScriptableObject#setAttributes     */    public static final int PERMANENT = 0x04;    static void checkValidAttributes(int attributes)    {        final int mask = READONLY | DONTENUM | PERMANENT;        if ((attributes & ~mask) != 0) {            throw new IllegalArgumentException(String.valueOf(attributes));        }    }    public ScriptableObject()    {    }    public ScriptableObject(Scriptable scope, Scriptable prototype)    {        if (scope == null)            throw new IllegalArgumentException();        parentScopeObject = scope;        prototypeObject = prototype;    }    /**     * Return the name of the class.     *     * This is typically the same name as the constructor.     * Classes extending ScriptableObject must implement this abstract     * method.     */    public abstract String getClassName();    /**     * Returns true if the named property is defined.     *     * @param name the name of the property     * @param start the object in which the lookup began     * @return true if and only if the property was found in the object     */    public boolean has(String name, Scriptable start)    {        return null != getNamedSlot(name);    }    /**     * Returns true if the property index is defined.     *     * @param index the numeric index for the property     * @param start the object in which the lookup began     * @return true if and only if the property was found in the object     */    public boolean has(int index, Scriptable start)    {        return null != getSlot(null, index);    }    /**     * Returns the value of the named property or NOT_FOUND.     *     * If the property was created using defineProperty, the     * appropriate getter method is called.     *     * @param name the name of the property     * @param start the object in which the lookup began     * @return the value of the property (may be null), or NOT_FOUND     */    public Object get(String name, Scriptable start)    {        Slot slot = getNamedSlot(name);        if (slot == null) {            return Scriptable.NOT_FOUND;        }        if (slot instanceof GetterSlot) {            GetterSlot gslot = (GetterSlot)slot;            if (gslot.getter != null) {                return getByGetter(gslot, start);            }        }        return slot.value;    }    /**     * Returns the value of the indexed property or NOT_FOUND.     *     * @param index the numeric index for the property     * @param start the object in which the lookup began     * @return the value of the property (may be null), or NOT_FOUND     */    public Object get(int index, Scriptable start)    {        Slot slot = getSlot(null, index);        if (slot == null) {            return Scriptable.NOT_FOUND;        }        return slot.value;    }    /**     * Sets the value of the named property, creating it if need be.     *     * If the property was created using defineProperty, the     * appropriate setter method is called. <p>     *     * If the property's attributes include READONLY, no action is     * taken.     * This method will actually set the property in the start     * object.     *     * @param name the name of the property     * @param start the object whose property is being set     * @param value value to set the property to     */    public void put(String name, Scriptable start, Object value)    {        Slot slot = lastAccess; // Get local copy        if (name != slot.stringKey || slot.wasDeleted != 0) {            int hash = name.hashCode();            slot = getSlot(name, hash);            if (slot == null) {                if (start != this) {                    start.put(name, start, value);                    return;                }                slot = addSlot(name, hash, null);            }            // Note: cache is not updated in put        }        if (start == this && isSealed()) {            throw Context.reportRuntimeError1("msg.modify.sealed", name);        }        if ((slot.attributes & ScriptableObject.READONLY) != 0) {            return;        }        if (slot instanceof GetterSlot) {            GetterSlot gslot = (GetterSlot)slot;            if (gslot.setter != null) {                setBySetter(gslot, start, value);            }            return;        }        if (this == start) {            slot.value = value;        } else {            start.put(name, start, value);        }    }    /**     * Sets the value of the indexed property, creating it if need be.     *     * @param index the numeric index for the property     * @param start the object whose property is being set     * @param value value to set the property to     */    public void put(int index, Scriptable start, Object value)    {        Slot slot = getSlot(null, index);        if (slot == null) {            if (start != this) {                start.put(index, start, value);                return;            }            slot = addSlot(null, index, null);        }        if (start == this && isSealed()) {            throw Context.reportRuntimeError1("msg.modify.sealed",                                              Integer.toString(index));        }        if ((slot.attributes & ScriptableObject.READONLY) != 0) {            return;        }        if (this == start) {            slot.value = value;        } else {            start.put(index, start, value);        }    }    /**     * Removes a named property from the object.     *     * If the property is not found, or it has the PERMANENT attribute,     * no action is taken.     *     * @param name the name of the property     */    public void delete(String name) {        removeSlot(name, name.hashCode());    }    /**     * Removes the indexed property from the object.     *     * If the property is not found, or it has the PERMANENT attribute,     * no action is taken.     *     * @param index the numeric index for the property     */    public void delete(int index) {        removeSlot(null, index);    }    /**     * @deprecated Use {@link #getAttributes(String name)}. The engine always     * ignored the start argument.     */    public final int getAttributes(String name, Scriptable start)    {        return getAttributes(name);    }    /**     * @deprecated Use {@link #getAttributes(int index)}. The engine always     * ignored the start argument.     */    public final int getAttributes(int index, Scriptable start)    {        return getAttributes(index);    }    /**     * @deprecated Use {@link #setAttributes(String name, int attributes)}.     * The engine always ignored the start argument.     */    public final void setAttributes(String name, Scriptable start,                                    int attributes)    {        setAttributes(name, attributes);    }    /**     * @deprecated Use {@link #setAttributes(int index, int attributes)}.     * The engine always ignored the start argument.     */    public void setAttributes(int index, Scriptable start,                              int attributes)    {        setAttributes(index, attributes);    }    /**     * Get the attributes of a named property.     *     * The property is specified by <code>name</code>     * as defined for <code>has</code>.<p>     *     * @param name the identifier for the property     * @return the bitset of attributes     * @exception EvaluatorException if the named property is not found     * @see org.mozilla.javascript.ScriptableObject#has     * @see org.mozilla.javascript.ScriptableObject#READONLY     * @see org.mozilla.javascript.ScriptableObject#DONTENUM

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
粉嫩在线一区二区三区视频| 欧美中文字幕一区二区三区| 国产精品一区二区久激情瑜伽| 久国产精品韩国三级视频| 国产成人一区二区精品非洲| 99视频一区二区三区| 欧美在线啊v一区| 日韩免费福利电影在线观看| 国产精品狼人久久影院观看方式| 一区二区在线观看视频| 亚洲视频网在线直播| 日韩精品亚洲专区| 亚洲国产成人tv| 国产精品 欧美精品| 欧美性猛交xxxx乱大交退制版| 欧美电视剧在线看免费| 一区二区三区欧美| 国产老女人精品毛片久久| 欧美视频三区在线播放| 久久久91精品国产一区二区三区| 伊人开心综合网| 精品在线你懂的| 欧美天堂亚洲电影院在线播放| 久久综合九色综合欧美亚洲| 一区二区三区日韩精品| 国产a久久麻豆| 日韩一级二级三级| 亚洲激情六月丁香| 成人网在线播放| 久久这里只精品最新地址| 亚洲国产一区二区视频| 日韩av高清在线观看| av网站一区二区三区| 久久色在线视频| 蜜臀精品久久久久久蜜臀| 色婷婷久久久亚洲一区二区三区 | 亚洲成人免费影院| 粉嫩一区二区三区性色av| 欧美午夜片在线看| 亚洲精品第1页| 91亚洲精品乱码久久久久久蜜桃 | 国产亚洲综合av| 亚洲电影中文字幕在线观看| hitomi一区二区三区精品| 欧美精品一区二区三区蜜臀| 日韩精品每日更新| 欧美一区二区女人| 婷婷丁香久久五月婷婷| 国产丶欧美丶日本不卡视频| 国产亚洲女人久久久久毛片| 精品亚洲porn| 欧美sm极限捆绑bd| 国产一区二区三区最好精华液| 日韩免费看网站| 激情综合色综合久久综合| 欧美一区二区二区| 亚洲一区二区精品3399| 欧美日韩免费一区二区三区| 亚洲一区二区三区精品在线| 欧美日韩一区小说| 婷婷中文字幕综合| 欧美电影免费观看高清完整版在线| 欧美aⅴ一区二区三区视频| 欧美色手机在线观看| 日日摸夜夜添夜夜添国产精品| 欧美精品少妇一区二区三区| 日本在线播放一区二区三区| 日韩欧美激情在线| 美国精品在线观看| 国产欧美日韩不卡免费| 国产一区二区在线观看免费| 国产精品拍天天在线| 91在线高清观看| 欧美高清一级片在线观看| 91丨九色porny丨蝌蚪| 婷婷六月综合网| 久久久久久久久伊人| 99久久夜色精品国产网站| 亚洲高清免费在线| 久久综合网色—综合色88| www.日韩在线| 亚洲三级在线观看| 欧美久久久久中文字幕| 国产一区二区电影| 亚洲乱码中文字幕| 精品理论电影在线| 色综合久久综合网欧美综合网| 日韩国产欧美在线观看| 久久综合色8888| 成人动漫一区二区在线| 日韩激情一二三区| 成人免费在线视频| 欧美一级日韩免费不卡| 成人18精品视频| 免费高清在线视频一区·| 中文字幕一区二区不卡| 精品久久久久久无| www.在线成人| 三级亚洲高清视频| 亚洲图片欧美激情| 久久精品欧美日韩精品| 欧美日韩三级一区| 成人黄色网址在线观看| 日韩高清一区二区| 亚洲精品少妇30p| 欧美日韩美少妇| 国产在线麻豆精品观看| 午夜一区二区三区视频| 国产精品毛片a∨一区二区三区| 日韩一区二区视频| 精品视频999| 91麻豆文化传媒在线观看| 国产激情偷乱视频一区二区三区| 日韩不卡一二三区| 综合在线观看色| 国产女同性恋一区二区| 欧美成人精品3d动漫h| 69av一区二区三区| 欧美在线色视频| 一本久道久久综合中文字幕| 国产精品亚洲一区二区三区妖精| 一区二区三区在线影院| 亚洲视频在线观看一区| 中文字幕中文字幕在线一区| 久久久久久久久蜜桃| 欧美日韩国产一级片| 色网综合在线观看| av中文一区二区三区| 波多野结衣欧美| hitomi一区二区三区精品| 成人午夜视频免费看| 日韩av电影天堂| 一区二区欧美在线观看| 亚洲一区二区四区蜜桃| 亚洲制服欧美中文字幕中文字幕| 亚洲品质自拍视频网站| 中文字幕一区二区三| 亚洲欧美一区二区三区国产精品| 91同城在线观看| 国产乱码精品一区二区三区忘忧草 | 精品国产亚洲在线| 国产精品人妖ts系列视频| 一卡二卡三卡日韩欧美| 蜜桃视频一区二区| 成人性视频网站| 欧美亚洲一区三区| 久久蜜桃一区二区| 亚洲一区二区欧美| 国产精品一二三| 欧美日韩三级视频| 国产精品嫩草99a| 三级欧美在线一区| 99视频国产精品| 日韩免费看网站| 亚洲主播在线观看| 国产精品456| 欧美亚洲国产一区二区三区| 欧美一区二区三区视频免费 | 午夜精品免费在线观看| 国产成人啪午夜精品网站男同| 一本到高清视频免费精品| 精品99久久久久久| 亚洲成精国产精品女| 成人深夜视频在线观看| 日韩欧美国产电影| 亚洲黄色小视频| 国模少妇一区二区三区| 在线免费观看视频一区| 欧美激情资源网| 久久精品国产网站| 在线观看av不卡| 国产精品色哟哟| 国产一区二区三区四| 欧美少妇性性性| 国产精品久久久久永久免费观看 | 久久网这里都是精品| 午夜精品福利久久久| 成人h版在线观看| 欧美tk—视频vk| 午夜久久福利影院| 色94色欧美sute亚洲13| 国产精品久久久久永久免费观看| 精品亚洲国内自在自线福利| 欧美日韩精品二区第二页| 亚洲日本va午夜在线影院| 国产主播一区二区三区| 91精品国产综合久久久久久久久久| 一区二区三区在线免费视频| 成人aa视频在线观看| 久久久99免费| 国产原创一区二区三区| 日韩三级伦理片妻子的秘密按摩| 亚洲福利视频三区| 欧美亚洲高清一区| 亚洲国产aⅴ天堂久久| 欧美日韩性生活| 亚洲成人一区二区在线观看| 欧美日本不卡视频| 亚洲mv在线观看| 欧美日韩免费视频|