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

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

?? scriptable.java

?? 主要的怎么樣結(jié)合java 和 javascript!
?? JAVA
字號:
/* -*- 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 * * 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 interface that all objects in JavaScript must implement. * The interface provides for the management of properties and for * performing conversions. * <p> * Host system implementors may find it easier to extend the ScriptableObject * class rather than implementing Scriptable when writing host objects. * <p> * There are many static methods defined in ScriptableObject that perform * the multiple calls to the Scriptable interface needed in order to * manipulate properties in prototype chains. * <p> * * @see org.mozilla.javascript.ScriptableObject * @author Norris Boyd * @author Nick Thompson * @author Brendan Eich */public interface Scriptable {    /**     * Get the name of the set of objects implemented by this Java class.     * This corresponds to the [[Class]] operation in ECMA and is used     * by Object.prototype.toString() in ECMA.<p>     * See ECMA 8.6.2 and 15.2.4.2.     */    public String getClassName();    /**     * Value returned from <code>get</code> if the property is not     * found.     */    public static final Object NOT_FOUND = UniqueTag.NOT_FOUND;    /**     * Get a named property from the object.     *     * Looks property up in this object and returns the associated value     * if found. Returns NOT_FOUND if not found.     * Note that this method is not expected to traverse the prototype     * chain. This is different from the ECMA [[Get]] operation.     *     * Depending on the property selector, the runtime will call     * this method or the form of <code>get</code> that takes an     * integer:     * <table>     * <tr><th>JavaScript code</th><th>Java code</th></tr>     * <tr><td>a.b      </td><td>a.get("b", a)</td></tr>     * <tr><td>a["foo"] </td><td>a.get("foo", a)</td></tr>     * <tr><td>a[3]     </td><td>a.get(3, a)</td></tr>     * <tr><td>a["3"]   </td><td>a.get(3, a)</td></tr>     * <tr><td>a[3.0]   </td><td>a.get(3, a)</td></tr>     * <tr><td>a["3.0"] </td><td>a.get("3.0", a)</td></tr>     * <tr><td>a[1.1]   </td><td>a.get("1.1", a)</td></tr>     * <tr><td>a[-4]    </td><td>a.get(-4, a)</td></tr>     * </table>     * <p>     * The values that may be returned are limited to the following:     * <UL>     * <LI>java.lang.Boolean objects</LI>     * <LI>java.lang.String objects</LI>     * <LI>java.lang.Number objects</LI>     * <LI>org.mozilla.javascript.Scriptable objects</LI>     * <LI>null</LI>     * <LI>The value returned by Context.getUndefinedValue()</LI>     * <LI>NOT_FOUND</LI>     * </UL>     * @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     * @see org.mozilla.javascript.Context#getUndefinedValue     */    public Object get(String name, Scriptable start);    /**     * Get a property from the object selected by an integral index.     *     * Identical to <code>get(String, Scriptable)</code> except that     * an integral index is used to select the property.     *     * @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     * @see org.mozilla.javascript.Scriptable#get(String,Scriptable)     */    public Object get(int index, Scriptable start);    /**     * Indicates whether or not a named property is defined in an object.     *     * Does not traverse the prototype chain.<p>     *     * The property is specified by a String name     * as defined for the <code>get</code> method.<p>     *     * @param name the name of the property     * @param start the object in which the lookup began     * @return true if and only if the named property is found in the object     * @see org.mozilla.javascript.Scriptable#get     * @see org.mozilla.javascript.ScriptableObject#getProperty     */    public boolean has(String name, Scriptable start);    /**     * Indicates whether or not an indexed  property is defined in an object.     *     * Does not traverse the prototype chain.<p>     *     * The property is specified by an integral index     * as defined for the <code>get</code> method.<p>     *     * @param index the numeric index for the property     * @param start the object in which the lookup began     * @return true if and only if the indexed property is found in the object     * @see org.mozilla.javascript.Scriptable#get     * @see org.mozilla.javascript.ScriptableObject#getProperty     */    public boolean has(int index, Scriptable start);    /**     * Sets a named property in this object.     * <p>     * The property is specified by a string name     * as defined for <code>get</code>.     * <p>     * The possible values that may be passed in are as defined for     * <code>get</code>. A class that implements this method may choose     * to ignore calls to set certain properties, in which case those     * properties are effectively read-only.<p>     * For properties defined in a prototype chain,     * use <code>putProperty</code> in ScriptableObject. <p>     * Note that if a property <i>a</i> is defined in the prototype <i>p</i>     * of an object <i>o</i>, then evaluating <code>o.a = 23</code> will cause     * <code>set</code> to be called on the prototype <i>p</i> with     * <i>o</i> as the  <i>start</i> parameter.     * To preserve JavaScript semantics, it is the Scriptable     * object's responsibility to modify <i>o</i>. <p>     * This design allows properties to be defined in prototypes and implemented     * in terms of getters and setters of Java values without consuming slots     * in each instance.<p>     * <p>     * The values that may be set are limited to the following:     * <UL>     * <LI>java.lang.Boolean objects</LI>     * <LI>java.lang.String objects</LI>     * <LI>java.lang.Number objects</LI>     * <LI>org.mozilla.javascript.Scriptable objects</LI>     * <LI>null</LI>     * <LI>The value returned by Context.getUndefinedValue()</LI>     * </UL><p>     * Arbitrary Java objects may be wrapped in a Scriptable by first calling     * <code>Context.toObject</code>. This allows the property of a JavaScript     * object to contain an arbitrary Java object as a value.<p>     * Note that <code>has</code> will be called by the runtime first before     * <code>set</code> is called to determine in which object the     * property is defined.     * Note that this method is not expected to traverse the prototype chain,     * which is different from the ECMA [[Put]] operation.     * @param name the name of the property     * @param start the object whose property is being set     * @param value value to set the property to     * @see org.mozilla.javascript.Scriptable#has     * @see org.mozilla.javascript.Scriptable#get     * @see org.mozilla.javascript.ScriptableObject#putProperty     * @see org.mozilla.javascript.Context#toObject     */    public void put(String name, Scriptable start, Object value);    /**     * Sets an indexed property in this object.     * <p>     * The property is specified by an integral index     * as defined for <code>get</code>.<p>     *     * Identical to <code>put(String, Scriptable, Object)</code> except that     * an integral index is used to select the property.     *     * @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     * @see org.mozilla.javascript.Scriptable#has     * @see org.mozilla.javascript.Scriptable#get     * @see org.mozilla.javascript.Scriptable#put(String,Scriptable,Object)     * @see org.mozilla.javascript.ScriptableObject#putProperty     */    public void put(int index, Scriptable start, Object value);    /**     * Removes a property from this object.     * This operation corresponds to the ECMA [[Delete]] except that     * the no result is returned. The runtime will guarantee that this     * method is called only if the property exists. After this method     * is called, the runtime will call Scriptable.has to see if the     * property has been removed in order to determine the boolean     * result of the delete operator as defined by ECMA 11.4.1.     * <p>     * A property can be made permanent by ignoring calls to remove     * it.<p>     * The property is specified by a String name     * as defined for <code>get</code>.     * <p>     * To delete properties defined in a prototype chain,     * see deleteProperty in ScriptableObject.     * @param name the identifier for the property     * @see org.mozilla.javascript.Scriptable#get     * @see org.mozilla.javascript.ScriptableObject#deleteProperty     */    public void delete(String name);    /**     * Removes a property from this object.     *     * The property is specified by an integral index     * as defined for <code>get</code>.     * <p>     * To delete properties defined in a prototype chain,     * see deleteProperty in ScriptableObject.     *     * Identical to <code>delete(String)</code> except that     * an integral index is used to select the property.     *     * @param index the numeric index for the property     * @see org.mozilla.javascript.Scriptable#get     * @see org.mozilla.javascript.ScriptableObject#deleteProperty     */    public void delete(int index);    /**     * Get the prototype of the object.     * @return the prototype     */    public Scriptable getPrototype();    /**     * Set the prototype of the object.     * @param prototype the prototype to set     */    public void setPrototype(Scriptable prototype);    /**     * Get the parent scope of the object.     * @return the parent scope     */    public Scriptable getParentScope();    /**     * Set the parent scope of the object.     * @param parent the parent scope to set     */    public void setParentScope(Scriptable parent);    /**     * Get an array of property ids.     *     * Not all property ids need be returned. Those properties     * whose ids are not returned are considered non-enumerable.     *     * @return an array of Objects. Each entry in the array is either     *         a java.lang.String or a java.lang.Number     */    public Object[] getIds();    /**     * Get the default value of the object with a given hint.     * The hints are String.class for type String, Number.class for type     * Number, Scriptable.class for type Object, and Boolean.class for     * type Boolean. <p>     *     * A <code>hint</code> of null means "no hint".     *     * See ECMA 8.6.2.6.     *     * @param hint the type hint     * @return the default value     */    public Object getDefaultValue(Class hint);    /**     * The instanceof operator.     *     * <p>     * The JavaScript code "lhs instanceof rhs" causes rhs.hasInstance(lhs) to     * be called.     *     * <p>     * The return value is implementation dependent so that embedded host objects can     * return an appropriate value.  See the JS 1.3 language documentation for more     * detail.     *     * <p>This operator corresponds to the proposed EMCA [[HasInstance]] operator.     *     * @param instance The value that appeared on the LHS of the instanceof     *              operator     *     * @return an implementation dependent value     */    public boolean hasInstance(Scriptable instance);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91色porny在线视频| 亚洲综合色视频| 亚洲欧洲av一区二区三区久久| 国产精品福利影院| 性久久久久久久| 国产**成人网毛片九色 | 久久先锋影音av| 国产精品免费av| 亚洲午夜激情网站| 七七婷婷婷婷精品国产| 成人中文字幕电影| 欧美日韩国产成人在线91| 久久免费精品国产久精品久久久久| 亚洲精品乱码久久久久久久久 | 日韩免费看网站| 中文字幕一区二区三区色视频 | 久久婷婷国产综合精品青草| 亚洲人亚洲人成电影网站色| 成人污视频在线观看| 在线观看一区日韩| 久久久久久9999| 亚洲午夜久久久久久久久电影院| 久久国内精品视频| 欧美亚洲丝袜传媒另类| 国产视频一区二区三区在线观看| 亚洲国产日韩一区二区| 国产91对白在线观看九色| 8v天堂国产在线一区二区| 亚洲天堂成人网| 久久成人免费日本黄色| 欧美无人高清视频在线观看| 国产蜜臀97一区二区三区| 婷婷成人激情在线网| 91无套直看片红桃| 久久精品亚洲精品国产欧美 | 欧美夫妻性生活| 亚洲六月丁香色婷婷综合久久 | 久久综合五月天婷婷伊人| 亚洲一区二区在线观看视频 | 中文字幕一区二区三区不卡| 久久精品久久久精品美女| 欧洲精品一区二区| 中文字幕一区二区不卡| 国产精品1区2区3区| 欧美一区永久视频免费观看| 亚洲一区二区在线免费看| 99久久综合狠狠综合久久| 久久九九全国免费| 美女免费视频一区二区| 欧美理论电影在线| 亚洲精品欧美激情| 91首页免费视频| 中文字幕一区免费在线观看| 成人综合激情网| 久久精品视频在线免费观看| 国内欧美视频一区二区| 欧美xxxxx裸体时装秀| 免费在线看一区| 91精品欧美久久久久久动漫| 亚洲v中文字幕| 欧美日韩一本到| 一区二区三区精品在线| 91高清视频免费看| 亚洲一区二区高清| 欧美日韩精品一区二区三区四区 | 91麻豆国产福利精品| 中文字幕在线一区免费| 丁香婷婷综合激情五月色| 久久精品一二三| 国产98色在线|日韩| 欧美激情一区二区三区不卡 | 日本一区二区成人| 成人免费毛片嘿嘿连载视频| 国产精品网站在线播放| 成人高清免费观看| 最新国产成人在线观看| 色综合天天综合色综合av| 亚洲日本成人在线观看| 在线观看欧美精品| 亚洲444eee在线观看| 欧美一区二区三区免费在线看| 日韩精品视频网站| 久久只精品国产| 在线精品视频一区二区| 亚洲国产美国国产综合一区二区| 欧美日韩aaa| 久久国产夜色精品鲁鲁99| www精品美女久久久tv| 丁香婷婷综合激情五月色| 综合欧美亚洲日本| 欧美日产在线观看| 麻豆成人免费电影| 久久中文娱乐网| 91在线精品一区二区| 亚洲一卡二卡三卡四卡无卡久久| 制服丝袜在线91| 韩国一区二区三区| 亚洲欧洲国产日韩| 欧美精品日韩精品| 国产在线不卡一卡二卡三卡四卡| 中文成人av在线| 91久久精品日日躁夜夜躁欧美| 午夜亚洲国产au精品一区二区| 欧美电影免费提供在线观看| 成人激情小说网站| 亚洲成精国产精品女| ww亚洲ww在线观看国产| 91亚洲精华国产精华精华液| 午夜精品一区二区三区三上悠亚| 欧美www视频| 色综合中文字幕国产 | 欧美亚洲自拍偷拍| 精品一区二区三区免费视频| 一区视频在线播放| 日韩欧美一级二级三级久久久| 国产99久久久精品| 午夜私人影院久久久久| 国产日韩欧美高清在线| 精品视频在线免费观看| 国产精品综合一区二区| 亚洲激情自拍偷拍| 久久综合视频网| 欧美体内she精视频| 国产91精品一区二区| 婷婷六月综合网| 国产精品久久久久久亚洲伦| 337p亚洲精品色噜噜| 99国产精品国产精品毛片| 日韩av成人高清| 自拍偷在线精品自拍偷无码专区| 欧美成人艳星乳罩| 在线免费观看日本欧美| 国产不卡视频在线播放| 日韩av网站免费在线| 伊人夜夜躁av伊人久久| 国产欧美日产一区| 日韩精品自拍偷拍| 精品视频资源站| 91在线国内视频| 国产美女主播视频一区| 日韩激情一二三区| 亚洲欧美国产毛片在线| 久久精品视频一区| 日韩精品一区二区三区中文精品| 色94色欧美sute亚洲线路一ni| 国产成人高清在线| 精品一区二区在线播放| 日韩精品电影在线观看| 一区二区三区蜜桃网| 国产精品久久久久国产精品日日 | 国产成人免费网站| 美女网站在线免费欧美精品| 亚洲一区在线观看免费| 亚洲日本丝袜连裤袜办公室| 国产视频不卡一区| 欧美电影免费观看完整版| 欧美日韩高清在线| 在线这里只有精品| 本田岬高潮一区二区三区| 国内成人免费视频| 美女一区二区三区| 青草国产精品久久久久久| 亚洲一区成人在线| 夜夜亚洲天天久久| 一区二区三区欧美在线观看| 亚洲婷婷在线视频| 成人欧美一区二区三区白人| 国产精品国产三级国产a| 中文字幕欧美日韩一区| 国产三级精品视频| 久久久久国产精品厨房| 精品国产凹凸成av人导航| 日韩无一区二区| 日韩精品一区二区三区中文不卡| 在线91免费看| 欧美一区在线视频| 日韩无一区二区| 精品剧情在线观看| 精品国产乱码久久久久久图片 | 精品系列免费在线观看| 毛片一区二区三区| 老鸭窝一区二区久久精品| 蜜臀av在线播放一区二区三区| 日韩成人dvd| 久久精品久久综合| 国产美女av一区二区三区| 国产成人一区在线| 国产成人免费视频| 北条麻妃国产九九精品视频| 一本一道久久a久久精品| 在线观看网站黄不卡| 欧美精品 日韩| 欧美变态口味重另类| 欧美高清在线视频| 亚洲精品国产无天堂网2021| 亚洲国产精品久久久久秋霞影院| 三级影片在线观看欧美日韩一区二区 | 国产精品一区二区在线播放| 岛国精品在线观看| 色久综合一二码|