CommentImpl.java
881 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.xfa.dom;
import com.adobe.xfa.Comment;
import com.adobe.xfa.Node;
import com.adobe.xfa.dom.CharacterDataImpl;
import com.adobe.xfa.dom.ParentNode;
class CommentImpl
extends CharacterDataImpl
implements org.w3c.dom.Comment {
CommentImpl(ParentNode parent, Comment newComment) {
super(parent, newComment, newComment.getData());
}
@Override
public String getNodeName() {
return "#comment";
}
@Override
public short getNodeType() {
return 8;
}
@Override
public boolean isEqualNode(org.w3c.dom.Node other) {
if (this == other) {
return true;
}
if (!super.isEqualNode(other)) {
return false;
}
if (!(other instanceof CommentImpl)) {
return false;
}
return true;
}
}