?? dom2.js
字號:
/**
* Created by Thu Aug 17 02:17:02 UTC+0800 2006
*/
_JSVM_Namespace.runtimeEnvironment
.JSVM.getClassloader().loadLib(new function()
{
this.manifest =
{
'name' : 'w3c dom level2',
'uri' : 'dom2.js',
'version' : '1.0',
'lastModified' : 'Thu Aug 17 02:17:02 UTC+0800 2006',
'author' : 'wch',
'remark' : ''
};
this.entity =
{
'org.w3c.dom.Attr' : '(function(){_$package("org.w3c.dom");var Node=_$import("org.w3c.dom.Node");var $class=org.w3c.dom.Attr=function(){return $Attr.apply(this,arguments);};var Attr=$class;$class.$extends(Node);var $Attr=function(name,value){$class.$super.call(this,Node.ATTRIBUTE_NODE);this.__name=name;this.__value=value;this.__ownerElement=null;};Attr.prototype.getName=function(){return this.__name;};Attr.prototype.getSpecified=function(){return(typeof(this.__value)=="undefined");};Attr.prototype.getValue=function(){return this.__value;};Attr.prototype.setValue=function(value){this.__value=value;};Attr.prototype.getOwnerElement=function(){return this.__ownerElement;}})();' ,
'org.w3c.dom.Document' : '(function(){_$package("org.w3c.dom");var HashMap=_$import("js.util.HashMap");var Node=_$import("org.w3c.dom.Node");var $class=org.w3c.dom.Document=function(){return $Document.apply(this,arguments);};var Document=$class;$class.$extends(Node);var $Document=function(){$class.$super.call(this,Node.DOCUMENT_NODE);};Document.prototype.getDoctype=function(){};Document.prototype.getImplementation=function(){};Document.prototype.getDocumentElement=function(){};Document.prototype.createElement=function(tagName){};Document.prototype.createTextNode=function(data){};Document.prototype.createAttribute=function(name){};Document.prototype.getElementsByTagName=function(tagName){};Document.prototype.getElementById=function(elementId){}})();' ,
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -