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

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

?? xmlctor.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-2000 Netscape Communications Corporation. All * Rights Reserved. * * Contributor(s): * Igor Bukanov * * 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. */package org.mozilla.javascript.xmlimpl;import org.mozilla.javascript.*;class XMLCtor extends IdFunctionObject{    static final long serialVersionUID = -8708195078359817341L;    private static final Object XMLCTOR_TAG = new Object();    private XMLLibImpl lib;    XMLCtor(XML xml, Object tag, int id, int arity)    {        super(xml, tag, id, arity);        this.lib = xml.lib;        activatePrototypeMap(MAX_FUNCTION_ID);    }    private void writeSetting(Scriptable target)    {        for (int i = 1; i <= MAX_INSTANCE_ID; ++i) {            int id = super.getMaxInstanceId() + i;            String name = getInstanceIdName(id);            Object value = getInstanceIdValue(id);            ScriptableObject.putProperty(target, name, value);        }    }    private void readSettings(Scriptable source)    {        for (int i = 1; i <= MAX_INSTANCE_ID; ++i) {            int id = super.getMaxInstanceId() + i;            String name = getInstanceIdName(id);            Object value = ScriptableObject.getProperty(source, name);            if (value == ScriptableObject.NOT_FOUND) {                continue;            }            switch (i) {              case Id_ignoreComments:              case Id_ignoreProcessingInstructions:              case Id_ignoreWhitespace:              case Id_prettyPrinting:                if (!(value instanceof Boolean)) {                    continue;                }                break;              case Id_prettyIndent:                if (!(value instanceof Number)) {                    continue;                }                break;              default:                throw new IllegalStateException();            }            setInstanceIdValue(id, value);        }    }// #string_id_map#    private static final int        Id_ignoreComments               = 1,        Id_ignoreProcessingInstructions = 2,        Id_ignoreWhitespace             = 3,        Id_prettyIndent                 = 4,        Id_prettyPrinting               = 5,        MAX_INSTANCE_ID                 = 5;    protected int getMaxInstanceId()    {        return super.getMaxInstanceId() + MAX_INSTANCE_ID;    }    protected int findInstanceIdInfo(String s) {        int id;// #generated# Last update: 2004-07-19 13:03:52 CEST        L0: { id = 0; String X = null; int c;            L: switch (s.length()) {            case 12: X="prettyIndent";id=Id_prettyIndent; break L;            case 14: c=s.charAt(0);                if (c=='i') { X="ignoreComments";id=Id_ignoreComments; }                else if (c=='p') { X="prettyPrinting";id=Id_prettyPrinting; }                break L;            case 16: X="ignoreWhitespace";id=Id_ignoreWhitespace; break L;            case 28: X="ignoreProcessingInstructions";id=Id_ignoreProcessingInstructions; break L;            }            if (X!=null && X!=s && !X.equals(s)) id = 0;        }// #/generated#        if (id == 0) return super.findInstanceIdInfo(s);        int attr;        switch (id) {          case Id_ignoreComments:          case Id_ignoreProcessingInstructions:          case Id_ignoreWhitespace:          case Id_prettyIndent:          case Id_prettyPrinting:            attr = PERMANENT | DONTENUM;            break;          default: throw new IllegalStateException();        }        return instanceIdInfo(attr, super.getMaxInstanceId() + id);    }// #/string_id_map#    protected String getInstanceIdName(int id)    {        switch (id - super.getMaxInstanceId()) {          case Id_ignoreComments:               return "ignoreComments";          case Id_ignoreProcessingInstructions: return "ignoreProcessingInstructions";          case Id_ignoreWhitespace:             return "ignoreWhitespace";          case Id_prettyIndent:                 return "prettyIndent";          case Id_prettyPrinting:               return "prettyPrinting";        }        return super.getInstanceIdName(id);    }    protected Object getInstanceIdValue(int id)    {        switch (id - super.getMaxInstanceId()) {          case Id_ignoreComments:            return ScriptRuntime.wrapBoolean(lib.ignoreComments);          case Id_ignoreProcessingInstructions:            return ScriptRuntime.wrapBoolean(lib.ignoreProcessingInstructions);          case Id_ignoreWhitespace:            return ScriptRuntime.wrapBoolean(lib.ignoreWhitespace);          case Id_prettyIndent:            return ScriptRuntime.wrapInt(lib.prettyIndent);          case Id_prettyPrinting:            return ScriptRuntime.wrapBoolean(lib.prettyPrinting);        }        return super.getInstanceIdValue(id);    }    protected void setInstanceIdValue(int id, Object value)    {        switch (id - super.getMaxInstanceId()) {          case Id_ignoreComments:            lib.ignoreComments = ScriptRuntime.toBoolean(value);            return;          case Id_ignoreProcessingInstructions:            lib.ignoreProcessingInstructions = ScriptRuntime.toBoolean(value);            return;          case Id_ignoreWhitespace:            lib.ignoreWhitespace = ScriptRuntime.toBoolean(value);            return;          case Id_prettyIndent:            lib.prettyIndent = ScriptRuntime.toInt32(value);            return;          case Id_prettyPrinting:            lib.prettyPrinting = ScriptRuntime.toBoolean(value);            return;        }        super.setInstanceIdValue(id, value);    }// #string_id_map#    private static final int        Id_defaultSettings              = 1,        Id_settings                     = 2,        Id_setSettings                  = 3,        MAX_FUNCTION_ID                 = 3;    protected int findPrototypeId(String s)    {        int id;// #generated# Last update: 2004-07-19 13:03:52 CEST        L0: { id = 0; String X = null;            int s_length = s.length();            if (s_length==8) { X="settings";id=Id_settings; }            else if (s_length==11) { X="setSettings";id=Id_setSettings; }            else if (s_length==15) { X="defaultSettings";id=Id_defaultSettings; }            if (X!=null && X!=s && !X.equals(s)) id = 0;        }// #/generated#        return id;    }// #/string_id_map#    protected void initPrototypeId(int id)    {        String s;        int arity;        switch (id) {          case Id_defaultSettings:  arity=0; s="defaultSettings";  break;          case Id_settings:         arity=0; s="settings";         break;          case Id_setSettings:      arity=1; s="setSettings";      break;          default: throw new IllegalArgumentException(String.valueOf(id));        }        initPrototypeMethod(XMLCTOR_TAG, id, s, arity);    }    public Object execIdCall(IdFunctionObject f, Context cx, Scriptable scope,                             Scriptable thisObj, Object[] args)    {        if (!f.hasTag(XMLCTOR_TAG)) {            return super.execIdCall(f, cx, scope, thisObj, args);        }        int id = f.methodId();        switch (id) {          case Id_defaultSettings: {            lib.defaultSettings();            Scriptable obj = cx.newObject(scope);            writeSetting(obj);            return obj;          }          case Id_settings: {            Scriptable obj = cx.newObject(scope);            writeSetting(obj);            return obj;          }          case Id_setSettings: {            Scriptable obj = null;            if (args.length == 0                || args[0] == null                || args[0] == Undefined.instance)            {                lib.defaultSettings();            } else if (args[0] instanceof Scriptable) {                readSettings((Scriptable)args[0]);            }            return Undefined.instance;          }        }        throw new IllegalArgumentException(String.valueOf(id));    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一级精品视频在线观看宜春院| 日本最新不卡在线| 精品福利在线导航| 欧美性色黄大片| aa级大片欧美| 成人性生交大片免费看中文网站| 亚洲一级二级三级在线免费观看| 国产精品全国免费观看高清| 亚洲精品在线三区| 欧美大片免费久久精品三p| 777奇米成人网| 91论坛在线播放| 99久久99精品久久久久久| 国产精品一区二区三区四区| 激情丁香综合五月| 毛片av中文字幕一区二区| 日韩福利电影在线| 午夜视黄欧洲亚洲| 日韩综合小视频| 日韩国产一二三区| 日韩高清在线电影| 日韩电影一区二区三区四区| 天天av天天翘天天综合网色鬼国产| 伊人开心综合网| 亚洲一二三四区| 亚洲一区二区高清| 首页欧美精品中文字幕| 日本成人在线一区| 精品一区精品二区高清| 天天爽夜夜爽夜夜爽精品视频| 一区二区三区不卡视频| 亚洲444eee在线观看| 日韩av成人高清| 日韩精品一级二级 | 日韩午夜激情视频| 日韩一区二区电影网| 精品免费国产一区二区三区四区| 日韩午夜小视频| 亚洲视频图片小说| 26uuu亚洲| 日本一区二区电影| 国产精品久久久久久妇女6080| 中文字幕亚洲综合久久菠萝蜜| 中文字幕日本不卡| 亚洲成人在线网站| 激情综合五月婷婷| 大美女一区二区三区| 一本一本久久a久久精品综合麻豆 一本一道波多野结衣一区二区 | 性做久久久久久久免费看| 日本麻豆一区二区三区视频| 日本sm残虐另类| 激情av综合网| 97精品视频在线观看自产线路二| 欧美在线免费播放| 精品久久久久久久久久久久久久久久久 | 国产欧美精品国产国产专区| 中文字幕亚洲区| 午夜婷婷国产麻豆精品| 狠狠色丁香久久婷婷综合_中| 成人高清免费在线播放| 欧美日韩国产综合视频在线观看| 日韩一区二区中文字幕| 久久亚洲二区三区| 亚洲欧美国产毛片在线| 蜜臀av一区二区在线免费观看| 免费成人在线视频观看| 成人app软件下载大全免费| 欧美日韩精品专区| 国产精品久久影院| 日韩精品三区四区| 99re在线视频这里只有精品| 欧美精品久久99久久在免费线| xf在线a精品一区二区视频网站| 亚洲日本在线视频观看| 老司机一区二区| 91精品国产综合久久久久久久| 亚洲欧美一区二区三区极速播放| 国产成人亚洲精品青草天美 | 一区二区免费在线播放| 成人综合婷婷国产精品久久蜜臀 | 六月丁香婷婷久久| 欧美日韩国产另类不卡| 一区二区三区在线视频免费观看| 国产成人午夜视频| 久久在线免费观看| 九一久久久久久| 日韩一级高清毛片| 偷窥少妇高潮呻吟av久久免费| 在线观看亚洲a| 一区二区三区精品在线观看| av网站一区二区三区| 国产精品福利一区二区| 福利一区二区在线| 欧美经典一区二区三区| 国产伦精品一区二区三区在线观看 | 91激情在线视频| 最新国产成人在线观看| 成人福利视频在线| 亚洲国产高清aⅴ视频| 成人a级免费电影| 国产精品国产三级国产有无不卡 | 国产精品亚洲人在线观看| 欧美成人欧美edvon| 精品一区二区三区免费观看| 欧美大尺度电影在线| 久久99国产乱子伦精品免费| 欧美成人精品高清在线播放| 午夜一区二区三区在线观看| 88在线观看91蜜桃国自产| 日本亚洲免费观看| 2021中文字幕一区亚洲| 成人做爰69片免费看网站| 国产精品高潮呻吟久久| 色综合天天综合狠狠| 亚洲高清免费观看 | 国产欧美精品在线观看| voyeur盗摄精品| 亚洲午夜久久久久久久久电影院| 欧美视频中文字幕| 美女脱光内衣内裤视频久久网站 | 欧美性猛片aaaaaaa做受| 午夜a成v人精品| 精品久久久久久久久久久久包黑料 | 成人精品视频一区二区三区尤物| 国产精品毛片大码女人| 色哟哟精品一区| 青青草97国产精品免费观看 | 日韩一区在线免费观看| 欧美亚洲尤物久久| 另类小说视频一区二区| 欧美经典一区二区| 欧美日韩一区二区三区免费看| 看电视剧不卡顿的网站| 国产精品热久久久久夜色精品三区| 色88888久久久久久影院野外| 日韩综合小视频| 国产网站一区二区| 在线免费观看视频一区| 男女性色大片免费观看一区二区 | 亚洲精品成a人| 日韩一二三区不卡| 丰满放荡岳乱妇91ww| 亚洲国产成人高清精品| 久久久不卡影院| 欧美在线999| 国产精品自产自拍| 亚洲成av人影院| 国产农村妇女精品| 欧美绝品在线观看成人午夜影视| 国产精品 欧美精品| 亚洲国产成人av好男人在线观看| 久久免费偷拍视频| 欧美无人高清视频在线观看| 麻豆中文一区二区| 一区二区欧美视频| 国产日产亚洲精品系列| 欧美亚洲一区二区在线| 精品亚洲porn| 亚洲国产欧美另类丝袜| 中文在线资源观看网站视频免费不卡| 在线观看视频一区| 国产一区二区三区免费在线观看| 亚洲一区二区综合| 国产精品福利一区| 久久亚洲欧美国产精品乐播 | 亚洲欧洲精品成人久久奇米网| 日韩欧美国产一区二区三区| 日本久久一区二区| 粉嫩在线一区二区三区视频| 免费观看日韩电影| 亚洲午夜精品一区二区三区他趣| 国产日韩v精品一区二区| 91精品国产综合久久久久久漫画| 91免费观看在线| 国产成人av在线影院| 久久99精品国产.久久久久| 三级成人在线视频| 亚洲一区电影777| 亚洲欧美激情视频在线观看一区二区三区| wwwwww.欧美系列| 日韩欧美国产麻豆| 91精品久久久久久久91蜜桃| 在线观看日韩国产| 国产91对白在线观看九色| 久久er精品视频| 日本aⅴ免费视频一区二区三区 | 蜜桃av一区二区在线观看| 亚欧色一区w666天堂| 一区二区成人在线| 最新久久zyz资源站| 国产精品久久久久影院| 国产欧美日韩三级| 国产免费观看久久| 国产人伦精品一区二区| 国产日本欧洲亚洲| 中文字幕国产一区| 欧美高清一级片在线观看| 国产日韩欧美精品在线| 国产欧美精品一区aⅴ影院 | 亚洲一线二线三线视频|