public class org.apache.xml.utils.DOMHelper
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.xml.utils.DOMHelper
super_class: java.lang.Object
{
java.util.Hashtable m_NSInfos;
descriptor: Ljava/util/Hashtable;
flags: (0x0000)
protected static final org.apache.xml.utils.NSInfo m_NSInfoUnProcWithXMLNS;
descriptor: Lorg/apache/xml/utils/NSInfo;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected static final org.apache.xml.utils.NSInfo m_NSInfoUnProcWithoutXMLNS;
descriptor: Lorg/apache/xml/utils/NSInfo;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected static final org.apache.xml.utils.NSInfo m_NSInfoUnProcNoAncestorXMLNS;
descriptor: Lorg/apache/xml/utils/NSInfo;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected static final org.apache.xml.utils.NSInfo m_NSInfoNullWithXMLNS;
descriptor: Lorg/apache/xml/utils/NSInfo;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected static final org.apache.xml.utils.NSInfo m_NSInfoNullWithoutXMLNS;
descriptor: Lorg/apache/xml/utils/NSInfo;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected static final org.apache.xml.utils.NSInfo m_NSInfoNullNoAncestorXMLNS;
descriptor: Lorg/apache/xml/utils/NSInfo;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected java.util.Vector m_candidateNoAncestorXMLNS;
descriptor: Ljava/util/Vector;
flags: (0x0004) ACC_PROTECTED
protected org.w3c.dom.Document m_DOMFactory;
descriptor: Lorg/w3c/dom/Document;
flags: (0x0004) ACC_PROTECTED
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new org.apache.xml.utils.NSInfo
dup
iconst_0
1: iconst_1
2: invokespecial org.apache.xml.utils.NSInfo.<init>:(ZZ)V
putstatic org.apache.xml.utils.DOMHelper.m_NSInfoUnProcWithXMLNS:Lorg/apache/xml/utils/NSInfo;
3: new org.apache.xml.utils.NSInfo
dup
iconst_0
4: iconst_0
5: invokespecial org.apache.xml.utils.NSInfo.<init>:(ZZ)V
putstatic org.apache.xml.utils.DOMHelper.m_NSInfoUnProcWithoutXMLNS:Lorg/apache/xml/utils/NSInfo;
6: new org.apache.xml.utils.NSInfo
dup
iconst_0
iconst_0
iconst_2
invokespecial org.apache.xml.utils.NSInfo.<init>:(ZZI)V
7: putstatic org.apache.xml.utils.DOMHelper.m_NSInfoUnProcNoAncestorXMLNS:Lorg/apache/xml/utils/NSInfo;
8: new org.apache.xml.utils.NSInfo
dup
iconst_1
9: iconst_1
10: invokespecial org.apache.xml.utils.NSInfo.<init>:(ZZ)V
putstatic org.apache.xml.utils.DOMHelper.m_NSInfoNullWithXMLNS:Lorg/apache/xml/utils/NSInfo;
11: new org.apache.xml.utils.NSInfo
dup
iconst_1
12: iconst_0
13: invokespecial org.apache.xml.utils.NSInfo.<init>:(ZZ)V
putstatic org.apache.xml.utils.DOMHelper.m_NSInfoNullWithoutXMLNS:Lorg/apache/xml/utils/NSInfo;
14: new org.apache.xml.utils.NSInfo
dup
iconst_1
iconst_0
iconst_2
invokespecial org.apache.xml.utils.NSInfo.<init>:(ZZI)V
15: putstatic org.apache.xml.utils.DOMHelper.m_NSInfoNullNoAncestorXMLNS:Lorg/apache/xml/utils/NSInfo;
16: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield org.apache.xml.utils.DOMHelper.m_NSInfos:Ljava/util/Hashtable;
2: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield org.apache.xml.utils.DOMHelper.m_candidateNoAncestorXMLNS:Ljava/util/Vector;
3: aload 0
aconst_null
putfield org.apache.xml.utils.DOMHelper.m_DOMFactory:Lorg/w3c/dom/Document;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/xml/utils/DOMHelper;
public static org.w3c.dom.Document createDocument(boolean);
descriptor: (Z)Lorg/w3c/dom/Document;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: invokestatic javax.xml.parsers.DocumentBuilderFactory.newInstance:()Ljavax/xml/parsers/DocumentBuilderFactory;
astore 1
start local 1 1: aload 1
iconst_1
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setNamespaceAware:(Z)V
2: aload 1
iconst_1
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setValidating:(Z)V
3: iload 0
ifeq 7
4: aload 1
ldc "http://javax.xml.XMLConstants/feature/secure-processing"
iconst_1
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setFeature:(Ljava/lang/String;Z)V
5: goto 7
6: StackMap locals: int javax.xml.parsers.DocumentBuilderFactory
StackMap stack: javax.xml.parsers.ParserConfigurationException
pop
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.xml.parsers.DocumentBuilderFactory.newDocumentBuilder:()Ljavax/xml/parsers/DocumentBuilder;
astore 2
start local 2 8: aload 2
invokevirtual javax.xml.parsers.DocumentBuilder.newDocument:()Lorg/w3c/dom/Document;
astore 3
start local 3 9: aload 3
10: areturn
end local 3 end local 2 end local 1 11: StackMap locals: int
StackMap stack: javax.xml.parsers.ParserConfigurationException
pop
12: new java.lang.RuntimeException
dup
13: ldc "ER_CREATEDOCUMENT_NOT_SUPPORTED"
aconst_null
14: invokestatic org.apache.xml.res.XMLMessages.createXMLMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
15: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 isSecureProcessing Z
1 11 1 dfactory Ljavax/xml/parsers/DocumentBuilderFactory;
8 11 2 docBuilder Ljavax/xml/parsers/DocumentBuilder;
9 11 3 outNode Lorg/w3c/dom/Document;
Exception table:
from to target type
4 5 6 Class javax.xml.parsers.ParserConfigurationException
0 10 11 Class javax.xml.parsers.ParserConfigurationException
MethodParameters:
Name Flags
isSecureProcessing
public static org.w3c.dom.Document createDocument();
descriptor: ()Lorg/w3c/dom/Document;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
invokestatic org.apache.xml.utils.DOMHelper.createDocument:(Z)Lorg/w3c/dom/Document;
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean shouldStripSourceNode(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xml/utils/DOMHelper;
0 1 1 textNode Lorg/w3c/dom/Node;
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
textNode
public java.lang.String getUniqueID(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "N"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xml/utils/DOMHelper;
0 1 1 node Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
node
public static boolean isNodeAfter(org.w3c.dom.Node, org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=11, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpeq 1
aload 0
aload 1
invokestatic org.apache.xml.utils.DOMHelper.isNodeTheSame:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
istore 2
start local 2 3: aload 0
invokestatic org.apache.xml.utils.DOMHelper.getParentOfNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 3
start local 3 4: aload 1
invokestatic org.apache.xml.utils.DOMHelper.getParentOfNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 4
start local 4 5: aload 3
aload 4
if_acmpeq 6
aload 3
aload 4
invokestatic org.apache.xml.utils.DOMHelper.isNodeTheSame:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
ifeq 9
6: StackMap locals: int org.w3c.dom.Node org.w3c.dom.Node
StackMap stack:
aload 3
ifnull 54
7: aload 3
aload 0
aload 1
invokestatic org.apache.xml.utils.DOMHelper.isNodeAfterSibling:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
istore 2
8: goto 54
9: StackMap locals:
StackMap stack:
iconst_2
istore 5
start local 5 10: iconst_2
istore 6
start local 6 11: goto 14
12: StackMap locals: int int
StackMap stack:
iinc 5 1
13: aload 3
invokestatic org.apache.xml.utils.DOMHelper.getParentOfNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 3
14: StackMap locals:
StackMap stack:
aload 3
ifnonnull 12
15: goto 18
16: StackMap locals:
StackMap stack:
iinc 6 1
17: aload 4
invokestatic org.apache.xml.utils.DOMHelper.getParentOfNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 4
18: StackMap locals:
StackMap stack:
aload 4
ifnonnull 16
19: aload 0
astore 7
start local 7 20: aload 1
astore 8
start local 8 21: iload 5
iload 6
if_icmpge 29
22: iload 6
iload 5
isub
istore 9
start local 9 23: iconst_0
istore 10
start local 10 24: goto 27
25: StackMap locals: org.w3c.dom.Node org.w3c.dom.Node int org.w3c.dom.Node org.w3c.dom.Node int int org.w3c.dom.Node org.w3c.dom.Node int int
StackMap stack:
aload 8
invokestatic org.apache.xml.utils.DOMHelper.getParentOfNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 8
26: iinc 10 1
StackMap locals:
StackMap stack:
27: iload 10
iload 9
if_icmplt 25
end local 10 end local 9 28: goto 36
29: StackMap locals:
StackMap stack:
iload 5
iload 6
if_icmple 36
30: iload 5
iload 6
isub
istore 9
start local 9 31: iconst_0
istore 10
start local 10 32: goto 35
33: StackMap locals: int int
StackMap stack:
aload 7
invokestatic org.apache.xml.utils.DOMHelper.getParentOfNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 7
34: iinc 10 1
StackMap locals:
StackMap stack:
35: iload 10
iload 9
if_icmplt 33
end local 10 end local 9 36: StackMap locals:
StackMap stack:
aconst_null
astore 9
start local 9 37: aconst_null
astore 10
start local 10 38: goto 53
39: StackMap locals: org.w3c.dom.Node org.w3c.dom.Node
StackMap stack:
aload 7
aload 8
if_acmpeq 40
aload 7
aload 8
invokestatic org.apache.xml.utils.DOMHelper.isNodeTheSame:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
ifeq 49
40: StackMap locals:
StackMap stack:
aload 9
ifnonnull 45
41: iload 5
iload 6
if_icmpge 42
iconst_1
goto 43
StackMap locals:
StackMap stack:
42: iconst_0
StackMap locals:
StackMap stack: int
43: istore 2
44: goto 54
45: StackMap locals:
StackMap stack:
aload 7
aload 9
46: aload 10
47: invokestatic org.apache.xml.utils.DOMHelper.isNodeAfterSibling:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
istore 2
48: goto 54
49: StackMap locals:
StackMap stack:
aload 7
astore 9
50: aload 7
invokestatic org.apache.xml.utils.DOMHelper.getParentOfNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 7
51: aload 8
astore 10
52: aload 8
invokestatic org.apache.xml.utils.DOMHelper.getParentOfNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 8
53: StackMap locals:
StackMap stack:
aload 7
ifnonnull 39
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 54: StackMap locals: org.w3c.dom.Node org.w3c.dom.Node int org.w3c.dom.Node org.w3c.dom.Node
StackMap stack:
iload 2
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 55 0 node1 Lorg/w3c/dom/Node;
0 55 1 node2 Lorg/w3c/dom/Node;
3 55 2 isNodeAfter Z
4 55 3 parent1 Lorg/w3c/dom/Node;
5 55 4 parent2 Lorg/w3c/dom/Node;
10 54 5 nParents1 I
11 54 6 nParents2 I
20 54 7 startNode1 Lorg/w3c/dom/Node;
21 54 8 startNode2 Lorg/w3c/dom/Node;
23 28 9 adjust I
24 28 10 i I
31 36 9 adjust I
32 36 10 i I
37 54 9 prevChild1 Lorg/w3c/dom/Node;
38 54 10 prevChild2 Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
node1
node2
public static boolean isNodeTheSame(org.w3c.dom.Node, org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
instanceof org.apache.xml.dtm.ref.DTMNodeProxy
ifeq 2
aload 1
instanceof org.apache.xml.dtm.ref.DTMNodeProxy
ifeq 2
1: aload 0
checkcast org.apache.xml.dtm.ref.DTMNodeProxy
aload 1
checkcast org.apache.xml.dtm.ref.DTMNodeProxy
invokevirtual org.apache.xml.dtm.ref.DTMNodeProxy.equals:(Lorg/w3c/dom/Node;)Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
if_acmpne 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 node1 Lorg/w3c/dom/Node;
0 4 1 node2 Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
node1
node2
private static boolean isNodeAfterSibling(org.w3c.dom.Node, org.w3c.dom.Node, org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=12, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 1
invokeinterface org.w3c.dom.Node.getNodeType:()S
istore 4
start local 4 2: aload 2
invokeinterface org.w3c.dom.Node.getNodeType:()S
istore 5
start local 5 3: iconst_2
iload 4
if_icmpeq 7
4: iconst_2
iload 5
if_icmpne 7
5: iconst_0
istore 3
6: goto 50
7: StackMap locals: int int int
StackMap stack:
iconst_2
iload 4
if_icmpne 11
8: iconst_2
iload 5
if_icmpeq 11
9: iconst_1
istore 3
10: goto 50
11: StackMap locals:
StackMap stack:
iconst_2
iload 4
if_icmpne 33
12: aload 0
invokeinterface org.w3c.dom.Node.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 6
start local 6 13: aload 6
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
istore 7
start local 7 14: iconst_0
istore 8
start local 8 15: iconst_0
istore 9
start local 9 16: iconst_0
istore 10
start local 10 17: goto 31
18: StackMap locals: org.w3c.dom.Node org.w3c.dom.Node org.w3c.dom.Node int int int org.w3c.dom.NamedNodeMap int int int int
StackMap stack:
aload 6
iload 10
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
astore 11
start local 11 19: aload 1
aload 11
if_acmpeq 20
aload 1
aload 11
invokestatic org.apache.xml.utils.DOMHelper.isNodeTheSame:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
ifeq 25
20: StackMap locals: org.w3c.dom.Node
StackMap stack:
iload 9
ifeq 23
21: iconst_0
istore 3
22: goto 50
23: StackMap locals:
StackMap stack:
iconst_1
istore 8
24: goto 30
25: StackMap locals:
StackMap stack:
aload 2
aload 11
if_acmpeq 26
aload 2
aload 11
invokestatic org.apache.xml.utils.DOMHelper.isNodeTheSame:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
ifeq 30
26: StackMap locals:
StackMap stack:
iload 8
ifeq 29
27: iconst_1
istore 3
28: goto 50
29: StackMap locals:
StackMap stack:
iconst_1
istore 9
end local 11 30: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
31: iload 10
iload 7
if_icmplt 18
end local 10 end local 9 end local 8 end local 7 end local 6 32: goto 50
33: StackMap locals: org.w3c.dom.Node org.w3c.dom.Node org.w3c.dom.Node int int int
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 6
start local 6 34: iconst_0
istore 7
start local 7 35: iconst_0
istore 8
start local 8 36: goto 49
37: StackMap locals: org.w3c.dom.Node int int
StackMap stack:
aload 1
aload 6
if_acmpeq 38
aload 1
aload 6
invokestatic org.apache.xml.utils.DOMHelper.isNodeTheSame:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
ifeq 43
38: StackMap locals:
StackMap stack:
iload 8
ifeq 41
39: iconst_0
istore 3
40: goto 50
41: StackMap locals:
StackMap stack:
iconst_1
istore 7
42: goto 48
43: StackMap locals:
StackMap stack:
aload 2
aload 6
if_acmpeq 44
aload 2
aload 6
invokestatic org.apache.xml.utils.DOMHelper.isNodeTheSame:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
ifeq 48
44: StackMap locals:
StackMap stack:
iload 7
ifeq 47
45: iconst_1
istore 3
46: goto 50
47: StackMap locals:
StackMap stack:
iconst_1
istore 8
48: StackMap locals:
StackMap stack:
aload 6
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 6
49: StackMap locals:
StackMap stack:
aload 6
ifnonnull 37
end local 8 end local 7 end local 6 50: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 parent Lorg/w3c/dom/Node;
0 51 1 child1 Lorg/w3c/dom/Node;
0 51 2 child2 Lorg/w3c/dom/Node;
1 51 3 isNodeAfterSibling Z
2 51 4 child1type S
3 51 5 child2type S
13 32 6 children Lorg/w3c/dom/NamedNodeMap;
14 32 7 nNodes I
15 32 8 found1 Z
16 32 9 found2 Z
17 32 10 i I
19 30 11 child Lorg/w3c/dom/Node;
34 50 6 child Lorg/w3c/dom/Node;
35 50 7 found1 Z
36 50 8 found2 Z
MethodParameters:
Name Flags
parent
child1
child2
public short getLevel(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)S
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_1
istore 2
start local 2 1: goto 3
2: StackMap locals: int
StackMap stack:
iload 2
iconst_1
iadd
i2s
istore 2
3: StackMap locals:
StackMap stack:
aload 1
invokestatic org.apache.xml.utils.DOMHelper.getParentOfNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
dup
astore 1
ifnonnull 2
4: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/xml/utils/DOMHelper;
0 5 1 n Lorg/w3c/dom/Node;
1 5 2 level S
MethodParameters:
Name Flags
n
public java.lang.String getNamespaceForPrefix(java.lang.String, org.w3c.dom.Element);
descriptor: (Ljava/lang/String;Lorg/w3c/dom/Element;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 2
astore 4
start local 4 1: aconst_null
astore 5
start local 5 2: aload 1
ldc "xml"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
3: ldc "http://www.w3.org/XML/1998/namespace"
astore 5
4: goto 23
5: StackMap locals: org.apache.xml.utils.DOMHelper java.lang.String org.w3c.dom.Element top org.w3c.dom.Node java.lang.String
StackMap stack:
aload 1
ldc "xmlns"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: ldc "http://www.w3.org/2000/xmlns/"
astore 5
7: goto 23
8: StackMap locals:
StackMap stack:
aload 1
ldc ""
if_acmpne 10
9: ldc "xmlns"
goto 11
10: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "xmlns:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: StackMap locals:
StackMap stack: java.lang.String
astore 6
start local 6 12: goto 19
start local 3 13: StackMap locals: org.apache.xml.utils.DOMHelper java.lang.String org.w3c.dom.Element int org.w3c.dom.Node java.lang.String java.lang.String
StackMap stack:
iload 3
iconst_1
if_icmpne 18
14: aload 4
checkcast org.w3c.dom.Element
aload 6
invokeinterface org.w3c.dom.Element.getAttributeNode:(Ljava/lang/String;)Lorg/w3c/dom/Attr;
astore 7
start local 7 15: aload 7
ifnull 18
16: aload 7
invokeinterface org.w3c.dom.Attr.getNodeValue:()Ljava/lang/String;
astore 5
17: goto 23
end local 7 18: StackMap locals:
StackMap stack:
aload 4
invokestatic org.apache.xml.utils.DOMHelper.getParentOfNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 4
end local 3 19: StackMap locals: org.apache.xml.utils.DOMHelper java.lang.String org.w3c.dom.Element top org.w3c.dom.Node java.lang.String java.lang.String
StackMap stack:
aload 4
ifnull 23
aload 5
ifnonnull 23
20: aload 4
invokeinterface org.w3c.dom.Node.getNodeType:()S
dup
istore 3
start local 3 21: iconst_1
if_icmpeq 13
22: iload 3
iconst_5
if_icmpeq 13
end local 6 end local 3 23: StackMap locals:
StackMap stack:
aload 5
areturn
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/apache/xml/utils/DOMHelper;
0 24 1 prefix Ljava/lang/String;
0 24 2 namespaceContext Lorg/w3c/dom/Element;
13 19 3 type I
21 23 3 type I
1 24 4 parent Lorg/w3c/dom/Node;
2 24 5 namespace Ljava/lang/String;
12 23 6 declname Ljava/lang/String;
15 18 7 attr Lorg/w3c/dom/Attr;
MethodParameters:
Name Flags
prefix
namespaceContext
public java.lang.String getNamespaceOfNode(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=20, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.w3c.dom.Node.getNodeType:()S
istore 5
start local 5 1: iconst_2
iload 5
if_icmpeq 10
2: aload 0
getfield org.apache.xml.utils.DOMHelper.m_NSInfos:Ljava/util/Hashtable;
aload 1
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 3: aload 6
ifnonnull 4
aconst_null
goto 5
StackMap locals: org.apache.xml.utils.DOMHelper org.w3c.dom.Node top top top int java.lang.Object
StackMap stack:
4: aload 6
checkcast org.apache.xml.utils.NSInfo
StackMap locals:
StackMap stack: org.apache.xml.utils.NSInfo
5: astore 4
start local 4 6: aload 4
ifnonnull 7
iconst_0
goto 8
StackMap locals: org.apache.xml.utils.DOMHelper org.w3c.dom.Node top top org.apache.xml.utils.NSInfo int java.lang.Object
StackMap stack:
7: aload 4
getfield org.apache.xml.utils.NSInfo.m_hasProcessedNS:Z
StackMap locals:
StackMap stack: int
8: istore 3
end local 6 start local 3 9: goto 12
end local 4 end local 3 10: StackMap locals: org.apache.xml.utils.DOMHelper org.w3c.dom.Node top top top int
StackMap stack:
iconst_0
istore 3
start local 3 11: aconst_null
astore 4
start local 4 12: StackMap locals: org.apache.xml.utils.DOMHelper org.w3c.dom.Node top int org.apache.xml.utils.NSInfo int
StackMap stack:
iload 3
ifeq 15
13: aload 4
getfield org.apache.xml.utils.NSInfo.m_namespace:Ljava/lang/String;
astore 2
start local 2 14: goto 112
end local 2 15: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 16: aload 1
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
astore 6
start local 6 17: aload 6
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 7
start local 7 18: iconst_2
iload 5
if_icmpne 23
19: iload 7
ifle 22
20: aload 6
iconst_0
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 8
start local 8 21: goto 27
end local 8 22: StackMap locals: org.apache.xml.utils.DOMHelper org.w3c.dom.Node java.lang.String int org.apache.xml.utils.NSInfo int java.lang.String int
StackMap stack:
aload 2
areturn
23: StackMap locals:
StackMap stack:
iload 7
iflt 25
24: aload 6
iconst_0
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 26
StackMap locals:
StackMap stack:
25: ldc ""
26: StackMap locals:
StackMap stack: java.lang.String
astore 8
start local 8 27: StackMap locals: java.lang.String
StackMap stack:
iconst_0
istore 9
start local 9 28: iconst_0
istore 10
start local 10 29: aload 8
ldc "xml"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 32
30: ldc "http://www.w3.org/XML/1998/namespace"
astore 2
31: goto 102
32: StackMap locals: int int
StackMap stack:
aload 1
astore 12
start local 12 33: goto 81
34: StackMap locals: org.apache.xml.utils.DOMHelper org.w3c.dom.Node java.lang.String int org.apache.xml.utils.NSInfo int java.lang.String int java.lang.String int int top org.w3c.dom.Node
StackMap stack:
aload 4
ifnull 39
35: aload 4
getfield org.apache.xml.utils.NSInfo.m_ancestorHasXMLNSAttrs:I
36: iconst_2
37: if_icmpne 39
38: goto 82
39: StackMap locals:
StackMap stack:
aload 12
invokeinterface org.w3c.dom.Node.getNodeType:()S
istore 11
start local 11 40: aload 4
ifnull 41
aload 4
getfield org.apache.xml.utils.NSInfo.m_hasXMLNSAttrs:Z
ifeq 70
41: StackMap locals: org.apache.xml.utils.DOMHelper org.w3c.dom.Node java.lang.String int org.apache.xml.utils.NSInfo int java.lang.String int java.lang.String int int int org.w3c.dom.Node
StackMap stack:
iconst_0
istore 13
start local 13 42: iload 11
iconst_1
if_icmpne 63
43: aload 12
invokeinterface org.w3c.dom.Node.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 14
start local 14 44: iconst_0
istore 15
start local 15 45: goto 62
46: StackMap locals: int org.w3c.dom.NamedNodeMap int
StackMap stack:
aload 14
iload 15
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
astore 16
start local 16 47: aload 16
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
astore 17
start local 17 48: aload 17
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 120
if_icmpne 61
49: aload 17
ldc "xmlns:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
istore 18
start local 18 50: aload 17
ldc "xmlns"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 51
iload 18
ifeq 61
51: StackMap locals: org.w3c.dom.Node java.lang.String int
StackMap stack:
aload 1
aload 12
if_acmpne 53
52: iconst_1
istore 10
53: StackMap locals:
StackMap stack:
iconst_1
istore 13
54: iconst_1
istore 9
55: iload 18
ifeq 56
aload 17
bipush 6
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 57
StackMap locals:
StackMap stack:
56: ldc ""
StackMap locals:
StackMap stack: java.lang.String
57: astore 19
start local 19 58: aload 19
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 61
59: aload 16
invokeinterface org.w3c.dom.Node.getNodeValue:()Ljava/lang/String;
astore 2
60: goto 63
end local 19 end local 18 end local 17 end local 16 61: StackMap locals:
StackMap stack:
iinc 15 1
StackMap locals:
StackMap stack:
62: iload 15
aload 14
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
if_icmplt 46
end local 15 end local 14 63: StackMap locals:
StackMap stack:
iconst_2
iload 11
if_icmpeq 70
aload 4
ifnonnull 70
64: aload 1
aload 12
if_acmpeq 70
65: iload 13
ifeq 67
66: getstatic org.apache.xml.utils.DOMHelper.m_NSInfoUnProcWithXMLNS:Lorg/apache/xml/utils/NSInfo;
goto 68
StackMap locals:
StackMap stack:
67: getstatic org.apache.xml.utils.DOMHelper.m_NSInfoUnProcWithoutXMLNS:Lorg/apache/xml/utils/NSInfo;
68: StackMap locals:
StackMap stack: org.apache.xml.utils.NSInfo
astore 4
69: aload 0
getfield org.apache.xml.utils.DOMHelper.m_NSInfos:Ljava/util/Hashtable;
aload 12
aload 4
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 13 70: StackMap locals:
StackMap stack:
iconst_2
iload 11
if_icmpne 73
71: aload 12
invokestatic org.apache.xml.utils.DOMHelper.getParentOfNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 12
72: goto 76
73: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.xml.utils.DOMHelper.m_candidateNoAncestorXMLNS:Ljava/util/Vector;
aload 12
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
74: aload 0
getfield org.apache.xml.utils.DOMHelper.m_candidateNoAncestorXMLNS:Ljava/util/Vector;
aload 4
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
75: aload 12
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 12
76: StackMap locals:
StackMap stack:
aload 12
ifnull 81
77: aload 0
getfield org.apache.xml.utils.DOMHelper.m_NSInfos:Ljava/util/Hashtable;
aload 12
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 13
start local 13 78: aload 13
ifnonnull 79
aconst_null
goto 80
StackMap locals: java.lang.Object
StackMap stack:
79: aload 13
checkcast org.apache.xml.utils.NSInfo
StackMap locals:
StackMap stack: org.apache.xml.utils.NSInfo
80: astore 4
end local 13 end local 11 81: StackMap locals: org.apache.xml.utils.DOMHelper org.w3c.dom.Node java.lang.String int org.apache.xml.utils.NSInfo int java.lang.String int java.lang.String int int top org.w3c.dom.Node
StackMap stack:
aload 12
ifnull 82
aload 2
ifnull 34
82: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.xml.utils.DOMHelper.m_candidateNoAncestorXMLNS:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
istore 13
start local 13 83: iload 13
ifle 102
84: iload 9
ifne 101
aload 12
ifnonnull 101
85: iconst_0
istore 14
start local 14 86: goto 100
87: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.xml.utils.DOMHelper.m_candidateNoAncestorXMLNS:Ljava/util/Vector;
iload 14
88: iconst_1
iadd
89: invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
astore 15
start local 15 90: aload 15
getstatic org.apache.xml.utils.DOMHelper.m_NSInfoUnProcWithoutXMLNS:Lorg/apache/xml/utils/NSInfo;
if_acmpne 95
91: aload 0
getfield org.apache.xml.utils.DOMHelper.m_NSInfos:Ljava/util/Hashtable;
aload 0
getfield org.apache.xml.utils.DOMHelper.m_candidateNoAncestorXMLNS:Ljava/util/Vector;
iload 14
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
92: getstatic org.apache.xml.utils.DOMHelper.m_NSInfoUnProcNoAncestorXMLNS:Lorg/apache/xml/utils/NSInfo;
93: invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
94: goto 99
95: StackMap locals: java.lang.Object
StackMap stack:
aload 15
getstatic org.apache.xml.utils.DOMHelper.m_NSInfoNullWithoutXMLNS:Lorg/apache/xml/utils/NSInfo;
if_acmpne 99
96: aload 0
getfield org.apache.xml.utils.DOMHelper.m_NSInfos:Ljava/util/Hashtable;
aload 0
getfield org.apache.xml.utils.DOMHelper.m_candidateNoAncestorXMLNS:Ljava/util/Vector;
iload 14
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
97: getstatic org.apache.xml.utils.DOMHelper.m_NSInfoNullNoAncestorXMLNS:Lorg/apache/xml/utils/NSInfo;
98: invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 15 99: StackMap locals:
StackMap stack:
iinc 14 2
StackMap locals:
StackMap stack:
100: iload 14
iload 13
if_icmplt 87
end local 14 101: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.xml.utils.DOMHelper.m_candidateNoAncestorXMLNS:Ljava/util/Vector;
invokevirtual java.util.Vector.removeAllElements:()V
end local 13 end local 12 102: StackMap locals: org.apache.xml.utils.DOMHelper org.w3c.dom.Node java.lang.String int org.apache.xml.utils.NSInfo int java.lang.String int java.lang.String int int
StackMap stack:
iconst_2
iload 5
if_icmpeq 112
103: aload 2
ifnonnull 111
104: iload 9
ifeq 109
105: iload 10
ifeq 107
106: aload 0
getfield org.apache.xml.utils.DOMHelper.m_NSInfos:Ljava/util/Hashtable;
aload 1
getstatic org.apache.xml.utils.DOMHelper.m_NSInfoNullWithXMLNS:Lorg/apache/xml/utils/NSInfo;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
goto 112
107: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.xml.utils.DOMHelper.m_NSInfos:Ljava/util/Hashtable;
aload 1
getstatic org.apache.xml.utils.DOMHelper.m_NSInfoNullWithoutXMLNS:Lorg/apache/xml/utils/NSInfo;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
108: goto 112
109: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.xml.utils.DOMHelper.m_NSInfos:Ljava/util/Hashtable;
aload 1
getstatic org.apache.xml.utils.DOMHelper.m_NSInfoNullNoAncestorXMLNS:Lorg/apache/xml/utils/NSInfo;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
110: goto 112
111: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.xml.utils.DOMHelper.m_NSInfos:Ljava/util/Hashtable;
aload 1
new org.apache.xml.utils.NSInfo
dup
aload 2
iload 10
invokespecial org.apache.xml.utils.NSInfo.<init>:(Ljava/lang/String;Z)V
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 10 end local 9 end local 8 end local 7 end local 6 112: StackMap locals: org.apache.xml.utils.DOMHelper org.w3c.dom.Node java.lang.String int org.apache.xml.utils.NSInfo int
StackMap stack:
aload 2
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 113 0 this Lorg/apache/xml/utils/DOMHelper;
0 113 1 n Lorg/w3c/dom/Node;
14 15 2 namespaceOfPrefix Ljava/lang/String;
16 113 2 namespaceOfPrefix Ljava/lang/String;
9 10 3 hasProcessedNS Z
11 113 3 hasProcessedNS Z
6 10 4 nsInfo Lorg/apache/xml/utils/NSInfo;
12 113 4 nsInfo Lorg/apache/xml/utils/NSInfo;
1 113 5 ntype S
3 9 6 nsObj Ljava/lang/Object;
17 112 6 nodeName Ljava/lang/String;
18 112 7 indexOfNSSep I
21 22 8 prefix Ljava/lang/String;
27 112 8 prefix Ljava/lang/String;
28 112 9 ancestorsHaveXMLNS Z
29 112 10 nHasXMLNS Z
40 81 11 parentType I
33 102 12 parent Lorg/w3c/dom/Node;
42 70 13 elementHasXMLNS Z
44 63 14 nnm Lorg/w3c/dom/NamedNodeMap;
45 63 15 i I
47 61 16 attr Lorg/w3c/dom/Node;
48 61 17 aname Ljava/lang/String;
50 61 18 isPrefix Z
58 61 19 p Ljava/lang/String;
78 81 13 nsObj Ljava/lang/Object;
83 102 13 nCandidates I
86 101 14 i I
90 99 15 candidateInfo Ljava/lang/Object;
MethodParameters:
Name Flags
n
public java.lang.String getLocalNameOfNode(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 3
start local 3 2: iload 3
ifge 3
aload 2
goto 4
StackMap locals: java.lang.String int
StackMap stack:
3: aload 2
iload 3
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
4: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/xml/utils/DOMHelper;
0 5 1 n Lorg/w3c/dom/Node;
1 5 2 qname Ljava/lang/String;
2 5 3 index I
MethodParameters:
Name Flags
n
public java.lang.String getExpandedElementName(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.xml.utils.DOMHelper.getNamespaceOfNode:(Lorg/w3c/dom/Node;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 3
2: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
aload 1
invokevirtual org.apache.xml.utils.DOMHelper.getLocalNameOfNode:(Lorg/w3c/dom/Node;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 4
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.xml.utils.DOMHelper.getLocalNameOfNode:(Lorg/w3c/dom/Node;)Ljava/lang/String;
4: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/xml/utils/DOMHelper;
0 5 1 elem Lorg/w3c/dom/Element;
1 5 2 namespace Ljava/lang/String;
MethodParameters:
Name Flags
elem
public java.lang.String getExpandedAttributeName(org.w3c.dom.Attr);
descriptor: (Lorg/w3c/dom/Attr;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.xml.utils.DOMHelper.getNamespaceOfNode:(Lorg/w3c/dom/Node;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 3
2: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
aload 1
invokevirtual org.apache.xml.utils.DOMHelper.getLocalNameOfNode:(Lorg/w3c/dom/Node;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 4
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.xml.utils.DOMHelper.getLocalNameOfNode:(Lorg/w3c/dom/Node;)Ljava/lang/String;
4: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/xml/utils/DOMHelper;
0 5 1 attr Lorg/w3c/dom/Attr;
1 5 2 namespace Ljava/lang/String;
MethodParameters:
Name Flags
attr
public boolean isIgnorableWhitespace(org.w3c.dom.Text);
descriptor: (Lorg/w3c/dom/Text;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xml/utils/DOMHelper;
0 2 1 node Lorg/w3c/dom/Text;
1 2 2 isIgnorable Z
MethodParameters:
Name Flags
node
public org.w3c.dom.Node getRoot(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: goto 4
2: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 1
astore 2
3: aload 1
invokestatic org.apache.xml.utils.DOMHelper.getParentOfNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 1
4: StackMap locals:
StackMap stack:
aload 1
ifnonnull 2
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/xml/utils/DOMHelper;
0 6 1 node Lorg/w3c/dom/Node;
1 6 2 root Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
node
public org.w3c.dom.Node getRootNode(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.w3c.dom.Node.getNodeType:()S
istore 2
start local 2 1: bipush 9
iload 2
if_icmpeq 2
bipush 11
iload 2
if_icmpne 3
2: StackMap locals: int
StackMap stack:
aload 1
goto 4
StackMap locals:
StackMap stack:
3: aload 1
invokeinterface org.w3c.dom.Node.getOwnerDocument:()Lorg/w3c/dom/Document;
4: StackMap locals:
StackMap stack: org.w3c.dom.Node
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/xml/utils/DOMHelper;
0 5 1 n Lorg/w3c/dom/Node;
1 5 2 nt I
MethodParameters:
Name Flags
n
public boolean isNamespaceNode(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_2
aload 1
invokeinterface org.w3c.dom.Node.getNodeType:()S
if_icmpne 4
1: aload 1
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
astore 2
start local 2 2: aload 2
ldc "xmlns:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 3
aload 2
ldc "xmlns"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
iconst_0
ireturn
StackMap locals: java.lang.String
StackMap stack:
3: iconst_1
ireturn
end local 2 4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/xml/utils/DOMHelper;
0 5 1 n Lorg/w3c/dom/Node;
2 4 2 attrName Ljava/lang/String;
MethodParameters:
Name Flags
n
public static org.w3c.dom.Node getParentOfNode(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
invokeinterface org.w3c.dom.Node.getNodeType:()S
istore 2
start local 2 1: iconst_2
iload 2
if_icmpne 16
2: aload 0
invokeinterface org.w3c.dom.Node.getOwnerDocument:()Lorg/w3c/dom/Document;
astore 3
start local 3 3: aload 3
invokeinterface org.w3c.dom.Document.getImplementation:()Lorg/w3c/dom/DOMImplementation;
astore 4
start local 4 4: aload 4
ifnull 7
aload 4
ldc "Core"
ldc "2.0"
invokeinterface org.w3c.dom.DOMImplementation.hasFeature:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 7
5: aload 0
checkcast org.w3c.dom.Attr
invokeinterface org.w3c.dom.Attr.getOwnerElement:()Lorg/w3c/dom/Element;
astore 1
start local 1 6: aload 1
areturn
end local 1 7: StackMap locals: org.w3c.dom.Node top int org.w3c.dom.Document org.w3c.dom.DOMImplementation
StackMap stack:
aload 3
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
astore 5
start local 5 8: aload 5
ifnonnull 14
9: new java.lang.RuntimeException
dup
10: ldc "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT"
11: aconst_null
12: invokestatic org.apache.xml.res.XMLMessages.createXMLMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
13: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals: org.w3c.dom.Element
StackMap stack:
aload 5
aload 0
invokestatic org.apache.xml.utils.DOMHelper.locateAttrParent:(Lorg/w3c/dom/Element;Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 1
end local 5 end local 4 end local 3 start local 1 15: goto 17
end local 1 16: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 1
start local 1 17: StackMap locals: org.w3c.dom.Node org.w3c.dom.Node int
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 node Lorg/w3c/dom/Node;
6 7 1 parent Lorg/w3c/dom/Node;
15 16 1 parent Lorg/w3c/dom/Node;
17 18 1 parent Lorg/w3c/dom/Node;
1 18 2 nodeType S
3 15 3 doc Lorg/w3c/dom/Document;
4 15 4 impl Lorg/w3c/dom/DOMImplementation;
8 15 5 rootElem Lorg/w3c/dom/Element;
Exceptions:
throws java.lang.RuntimeException
MethodParameters:
Name Flags
node
public org.w3c.dom.Element getElementByID(java.lang.String, org.w3c.dom.Document);
descriptor: (Ljava/lang/String;Lorg/w3c/dom/Document;)Lorg/w3c/dom/Element;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xml/utils/DOMHelper;
0 1 1 id Ljava/lang/String;
0 1 2 doc Lorg/w3c/dom/Document;
MethodParameters:
Name Flags
id
doc
public java.lang.String getUnparsedEntityURI(java.lang.String, org.w3c.dom.Document);
descriptor: (Ljava/lang/String;Lorg/w3c/dom/Document;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=8, args_size=3
start local 0 start local 1 start local 2 0: ldc ""
astore 3
start local 3 1: aload 2
invokeinterface org.w3c.dom.Document.getDoctype:()Lorg/w3c/dom/DocumentType;
astore 4
start local 4 2: aload 4
ifnull 14
3: aload 4
invokeinterface org.w3c.dom.DocumentType.getEntities:()Lorg/w3c/dom/NamedNodeMap;
astore 5
start local 5 4: aload 5
ifnonnull 6
5: aload 3
areturn
6: StackMap locals: java.lang.String org.w3c.dom.DocumentType org.w3c.dom.NamedNodeMap
StackMap stack:
aload 5
aload 1
invokeinterface org.w3c.dom.NamedNodeMap.getNamedItem:(Ljava/lang/String;)Lorg/w3c/dom/Node;
checkcast org.w3c.dom.Entity
astore 6
start local 6 7: aload 6
ifnonnull 9
8: aload 3
areturn
9: StackMap locals: org.w3c.dom.Entity
StackMap stack:
aload 6
invokeinterface org.w3c.dom.Entity.getNotationName:()Ljava/lang/String;
astore 7
start local 7 10: aload 7
ifnull 14
11: aload 6
invokeinterface org.w3c.dom.Entity.getSystemId:()Ljava/lang/String;
astore 3
12: aload 3
ifnonnull 14
13: aload 6
invokeinterface org.w3c.dom.Entity.getPublicId:()Ljava/lang/String;
astore 3
end local 7 end local 6 end local 5 14: StackMap locals:
StackMap stack:
aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/xml/utils/DOMHelper;
0 15 1 name Ljava/lang/String;
0 15 2 doc Lorg/w3c/dom/Document;
1 15 3 url Ljava/lang/String;
2 15 4 doctype Lorg/w3c/dom/DocumentType;
4 14 5 entities Lorg/w3c/dom/NamedNodeMap;
7 14 6 entity Lorg/w3c/dom/Entity;
10 14 7 notationName Ljava/lang/String;
MethodParameters:
Name Flags
name
doc
private static org.w3c.dom.Node locateAttrParent(org.w3c.dom.Element, org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Element;Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
aload 1
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
invokeinterface org.w3c.dom.Element.getAttributeNode:(Ljava/lang/String;)Lorg/w3c/dom/Attr;
astore 3
start local 3 2: aload 3
aload 1
if_acmpne 4
3: aload 0
astore 2
4: StackMap locals: org.w3c.dom.Node org.w3c.dom.Attr
StackMap stack:
aload 2
ifnonnull 13
5: aload 0
invokeinterface org.w3c.dom.Element.getFirstChild:()Lorg/w3c/dom/Node;
astore 4
start local 4 6: goto 12
7: StackMap locals: org.w3c.dom.Node
StackMap stack:
iconst_1
aload 4
invokeinterface org.w3c.dom.Node.getNodeType:()S
if_icmpne 11
8: aload 4
checkcast org.w3c.dom.Element
aload 1
invokestatic org.apache.xml.utils.DOMHelper.locateAttrParent:(Lorg/w3c/dom/Element;Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 2
9: aload 2
ifnull 11
10: goto 13
11: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 4
12: StackMap locals:
StackMap stack:
aload 4
ifnonnull 7
end local 4 13: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 elem Lorg/w3c/dom/Element;
0 14 1 attr Lorg/w3c/dom/Node;
1 14 2 parent Lorg/w3c/dom/Node;
2 14 3 check Lorg/w3c/dom/Attr;
6 13 4 node Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
elem
attr
public void setDOMFactory(org.w3c.dom.Document);
descriptor: (Lorg/w3c/dom/Document;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.xml.utils.DOMHelper.m_DOMFactory:Lorg/w3c/dom/Document;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xml/utils/DOMHelper;
0 2 1 domFactory Lorg/w3c/dom/Document;
MethodParameters:
Name Flags
domFactory
public org.w3c.dom.Document getDOMFactory();
descriptor: ()Lorg/w3c/dom/Document;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xml.utils.DOMHelper.m_DOMFactory:Lorg/w3c/dom/Document;
ifnonnull 2
1: aload 0
invokestatic org.apache.xml.utils.DOMHelper.createDocument:()Lorg/w3c/dom/Document;
putfield org.apache.xml.utils.DOMHelper.m_DOMFactory:Lorg/w3c/dom/Document;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.xml.utils.DOMHelper.m_DOMFactory:Lorg/w3c/dom/Document;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/xml/utils/DOMHelper;
public static java.lang.String getNodeData(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: invokestatic org.apache.xml.utils.StringBufferPool.get:()Lorg/apache/xml/utils/FastStringBuffer;
astore 1
start local 1 1: aload 0
aload 1
invokestatic org.apache.xml.utils.DOMHelper.getNodeData:(Lorg/w3c/dom/Node;Lorg/apache/xml/utils/FastStringBuffer;)V
2: aload 1
invokevirtual org.apache.xml.utils.FastStringBuffer.length:()I
ifle 3
aload 1
invokevirtual org.apache.xml.utils.FastStringBuffer.toString:()Ljava/lang/String;
goto 4
StackMap locals: org.apache.xml.utils.FastStringBuffer
StackMap stack:
3: ldc ""
StackMap locals:
StackMap stack: java.lang.String
4: astore 2
start local 2 5: goto 9
end local 2 6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
7: aload 1
invokestatic org.apache.xml.utils.StringBufferPool.free:(Lorg/apache/xml/utils/FastStringBuffer;)V
8: aload 3
athrow
start local 2 9: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokestatic org.apache.xml.utils.StringBufferPool.free:(Lorg/apache/xml/utils/FastStringBuffer;)V
10: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 node Lorg/w3c/dom/Node;
1 11 1 buf Lorg/apache/xml/utils/FastStringBuffer;
5 6 2 s Ljava/lang/String;
9 11 2 s Ljava/lang/String;
Exception table:
from to target type
1 6 6 any
MethodParameters:
Name Flags
node
public static void getNodeData(org.w3c.dom.Node, org.apache.xml.utils.FastStringBuffer);
descriptor: (Lorg/w3c/dom/Node;Lorg/apache/xml/utils/FastStringBuffer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.w3c.dom.Node.getNodeType:()S
tableswitch { // 1 - 11
1: 1
2: 9
3: 7
4: 7
5: 12
6: 12
7: 11
8: 12
9: 1
10: 12
11: 1
default: 12
}
1: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 2
start local 2 2: goto 5
3: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 2
aload 1
invokestatic org.apache.xml.utils.DOMHelper.getNodeData:(Lorg/w3c/dom/Node;Lorg/apache/xml/utils/FastStringBuffer;)V
4: aload 2
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 2
5: StackMap locals:
StackMap stack:
aload 2
ifnonnull 3
end local 2 6: goto 12
7: StackMap locals:
StackMap stack:
aload 1
aload 0
invokeinterface org.w3c.dom.Node.getNodeValue:()Ljava/lang/String;
invokevirtual org.apache.xml.utils.FastStringBuffer.append:(Ljava/lang/String;)V
8: goto 12
9: StackMap locals:
StackMap stack:
aload 1
aload 0
invokeinterface org.w3c.dom.Node.getNodeValue:()Ljava/lang/String;
invokevirtual org.apache.xml.utils.FastStringBuffer.append:(Ljava/lang/String;)V
10: goto 12
11: StackMap locals:
StackMap stack:
goto 12
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 node Lorg/w3c/dom/Node;
0 13 1 buf Lorg/apache/xml/utils/FastStringBuffer;
2 6 2 child Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
node
buf
}
SourceFile: "DOMHelper.java"