| OLD | NEW |
| 1 | 1 |
| 2 class NodeJs extends DOMTypeJs implements Node native "*Node" { | 2 class _NodeJs extends _DOMTypeJs implements Node native "*Node" { |
| 3 | 3 |
| 4 static final int ATTRIBUTE_NODE = 2; | 4 static final int ATTRIBUTE_NODE = 2; |
| 5 | 5 |
| 6 static final int CDATA_SECTION_NODE = 4; | 6 static final int CDATA_SECTION_NODE = 4; |
| 7 | 7 |
| 8 static final int COMMENT_NODE = 8; | 8 static final int COMMENT_NODE = 8; |
| 9 | 9 |
| 10 static final int DOCUMENT_FRAGMENT_NODE = 11; | 10 static final int DOCUMENT_FRAGMENT_NODE = 11; |
| 11 | 11 |
| 12 static final int DOCUMENT_NODE = 9; | 12 static final int DOCUMENT_NODE = 9; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 30 static final int ENTITY_NODE = 6; | 30 static final int ENTITY_NODE = 6; |
| 31 | 31 |
| 32 static final int ENTITY_REFERENCE_NODE = 5; | 32 static final int ENTITY_REFERENCE_NODE = 5; |
| 33 | 33 |
| 34 static final int NOTATION_NODE = 12; | 34 static final int NOTATION_NODE = 12; |
| 35 | 35 |
| 36 static final int PROCESSING_INSTRUCTION_NODE = 7; | 36 static final int PROCESSING_INSTRUCTION_NODE = 7; |
| 37 | 37 |
| 38 static final int TEXT_NODE = 3; | 38 static final int TEXT_NODE = 3; |
| 39 | 39 |
| 40 NamedNodeMapJs get attributes() native "return this.attributes;"; | 40 _NamedNodeMapJs get attributes() native "return this.attributes;"; |
| 41 | 41 |
| 42 String get baseURI() native "return this.baseURI;"; | 42 String get baseURI() native "return this.baseURI;"; |
| 43 | 43 |
| 44 NodeListJs get childNodes() native "return this.childNodes;"; | 44 _NodeListJs get childNodes() native "return this.childNodes;"; |
| 45 | 45 |
| 46 NodeJs get firstChild() native "return this.firstChild;"; | 46 _NodeJs get firstChild() native "return this.firstChild;"; |
| 47 | 47 |
| 48 NodeJs get lastChild() native "return this.lastChild;"; | 48 _NodeJs get lastChild() native "return this.lastChild;"; |
| 49 | 49 |
| 50 String get localName() native "return this.localName;"; | 50 String get localName() native "return this.localName;"; |
| 51 | 51 |
| 52 String get namespaceURI() native "return this.namespaceURI;"; | 52 String get namespaceURI() native "return this.namespaceURI;"; |
| 53 | 53 |
| 54 NodeJs get nextSibling() native "return this.nextSibling;"; | 54 _NodeJs get nextSibling() native "return this.nextSibling;"; |
| 55 | 55 |
| 56 String get nodeName() native "return this.nodeName;"; | 56 String get nodeName() native "return this.nodeName;"; |
| 57 | 57 |
| 58 int get nodeType() native "return this.nodeType;"; | 58 int get nodeType() native "return this.nodeType;"; |
| 59 | 59 |
| 60 String get nodeValue() native "return this.nodeValue;"; | 60 String get nodeValue() native "return this.nodeValue;"; |
| 61 | 61 |
| 62 void set nodeValue(String value) native "this.nodeValue = value;"; | 62 void set nodeValue(String value) native "this.nodeValue = value;"; |
| 63 | 63 |
| 64 DocumentJs get ownerDocument() native "return this.ownerDocument;"; | 64 _DocumentJs get ownerDocument() native "return this.ownerDocument;"; |
| 65 | 65 |
| 66 ElementJs get parentElement() native "return this.parentElement;"; | 66 _ElementJs get parentElement() native "return this.parentElement;"; |
| 67 | 67 |
| 68 NodeJs get parentNode() native "return this.parentNode;"; | 68 _NodeJs get parentNode() native "return this.parentNode;"; |
| 69 | 69 |
| 70 String get prefix() native "return this.prefix;"; | 70 String get prefix() native "return this.prefix;"; |
| 71 | 71 |
| 72 void set prefix(String value) native "this.prefix = value;"; | 72 void set prefix(String value) native "this.prefix = value;"; |
| 73 | 73 |
| 74 NodeJs get previousSibling() native "return this.previousSibling;"; | 74 _NodeJs get previousSibling() native "return this.previousSibling;"; |
| 75 | 75 |
| 76 String get textContent() native "return this.textContent;"; | 76 String get textContent() native "return this.textContent;"; |
| 77 | 77 |
| 78 void set textContent(String value) native "this.textContent = value;"; | 78 void set textContent(String value) native "this.textContent = value;"; |
| 79 | 79 |
| 80 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 80 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 81 | 81 |
| 82 NodeJs appendChild(NodeJs newChild) native; | 82 _NodeJs appendChild(_NodeJs newChild) native; |
| 83 | 83 |
| 84 NodeJs cloneNode(bool deep) native; | 84 _NodeJs cloneNode(bool deep) native; |
| 85 | 85 |
| 86 int compareDocumentPosition(NodeJs other) native; | 86 int compareDocumentPosition(_NodeJs other) native; |
| 87 | 87 |
| 88 bool contains(NodeJs other) native; | 88 bool contains(_NodeJs other) native; |
| 89 | 89 |
| 90 bool dispatchEvent(EventJs event) native; | 90 bool dispatchEvent(_EventJs event) native; |
| 91 | 91 |
| 92 bool hasAttributes() native; | 92 bool hasAttributes() native; |
| 93 | 93 |
| 94 bool hasChildNodes() native; | 94 bool hasChildNodes() native; |
| 95 | 95 |
| 96 NodeJs insertBefore(NodeJs newChild, NodeJs refChild) native; | 96 _NodeJs insertBefore(_NodeJs newChild, _NodeJs refChild) native; |
| 97 | 97 |
| 98 bool isDefaultNamespace(String namespaceURI) native; | 98 bool isDefaultNamespace(String namespaceURI) native; |
| 99 | 99 |
| 100 bool isEqualNode(NodeJs other) native; | 100 bool isEqualNode(_NodeJs other) native; |
| 101 | 101 |
| 102 bool isSameNode(NodeJs other) native; | 102 bool isSameNode(_NodeJs other) native; |
| 103 | 103 |
| 104 bool isSupported(String feature, String version) native; | 104 bool isSupported(String feature, String version) native; |
| 105 | 105 |
| 106 String lookupNamespaceURI(String prefix) native; | 106 String lookupNamespaceURI(String prefix) native; |
| 107 | 107 |
| 108 String lookupPrefix(String namespaceURI) native; | 108 String lookupPrefix(String namespaceURI) native; |
| 109 | 109 |
| 110 void normalize() native; | 110 void normalize() native; |
| 111 | 111 |
| 112 NodeJs removeChild(NodeJs oldChild) native; | 112 _NodeJs removeChild(_NodeJs oldChild) native; |
| 113 | 113 |
| 114 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 114 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 115 | 115 |
| 116 NodeJs replaceChild(NodeJs newChild, NodeJs oldChild) native; | 116 _NodeJs replaceChild(_NodeJs newChild, _NodeJs oldChild) native; |
| 117 } | 117 } |
| OLD | NEW |