public class org.apache.batik.dom.util.DOMUtilities extends org.apache.batik.xml.XMLUtilities implements org.apache.batik.constants.XMLConstants
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.batik.dom.util.DOMUtilities
super_class: org.apache.batik.xml.XMLUtilities
{
protected static final java.lang.String[] LOCK_STRINGS;
descriptor: [Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected static final java.lang.String[] MODIFIER_STRINGS;
descriptor: [Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 16
anewarray java.lang.String
dup
iconst_0
1: ldc ""
aastore
dup
iconst_1
2: ldc "CapsLock"
aastore
dup
iconst_2
3: ldc "NumLock"
aastore
dup
iconst_3
4: ldc "NumLock CapsLock"
aastore
dup
iconst_4
5: ldc "Scroll"
aastore
dup
iconst_5
6: ldc "Scroll CapsLock"
aastore
dup
bipush 6
7: ldc "Scroll NumLock"
aastore
dup
bipush 7
8: ldc "Scroll NumLock CapsLock"
aastore
dup
bipush 8
9: ldc "KanaMode"
aastore
dup
bipush 9
10: ldc "KanaMode CapsLock"
aastore
dup
bipush 10
11: ldc "KanaMode NumLock"
aastore
dup
bipush 11
12: ldc "KanaMode NumLock CapsLock"
aastore
dup
bipush 12
13: ldc "KanaMode Scroll"
aastore
dup
bipush 13
14: ldc "KanaMode Scroll CapsLock"
aastore
dup
bipush 14
15: ldc "KanaMode Scroll NumLock"
aastore
dup
bipush 15
16: ldc "KanaMode Scroll NumLock CapsLock"
aastore
17: putstatic org.apache.batik.dom.util.DOMUtilities.LOCK_STRINGS:[Ljava/lang/String;
18: bipush 32
anewarray java.lang.String
dup
iconst_0
19: ldc ""
aastore
dup
iconst_1
20: ldc "Shift"
aastore
dup
iconst_2
21: ldc "Control"
aastore
dup
iconst_3
22: ldc "Control Shift"
aastore
dup
iconst_4
23: ldc "Meta"
aastore
dup
iconst_5
24: ldc "Meta Shift"
aastore
dup
bipush 6
25: ldc "Control Meta"
aastore
dup
bipush 7
26: ldc "Control Meta Shift"
aastore
dup
bipush 8
27: ldc "Alt"
aastore
dup
bipush 9
28: ldc "Alt Shift"
aastore
dup
bipush 10
29: ldc "Alt Control"
aastore
dup
bipush 11
30: ldc "Alt Control Shift"
aastore
dup
bipush 12
31: ldc "Alt Meta"
aastore
dup
bipush 13
32: ldc "Alt Meta Shift"
aastore
dup
bipush 14
33: ldc "Alt Control Meta"
aastore
dup
bipush 15
34: ldc "Alt Control Meta Shift"
aastore
dup
bipush 16
35: ldc "AltGraph"
aastore
dup
bipush 17
36: ldc "AltGraph Shift"
aastore
dup
bipush 18
37: ldc "AltGraph Control"
aastore
dup
bipush 19
38: ldc "AltGraph Control Shift"
aastore
dup
bipush 20
39: ldc "AltGraph Meta"
aastore
dup
bipush 21
40: ldc "AltGraph Meta Shift"
aastore
dup
bipush 22
41: ldc "AltGraph Control Meta"
aastore
dup
bipush 23
42: ldc "AltGraph Control Meta Shift"
aastore
dup
bipush 24
43: ldc "Alt AltGraph"
aastore
dup
bipush 25
44: ldc "Alt AltGraph Shift"
aastore
dup
bipush 26
45: ldc "Alt AltGraph Control"
aastore
dup
bipush 27
46: ldc "Alt AltGraph Control Shift"
aastore
dup
bipush 28
47: ldc "Alt AltGraph Meta"
aastore
dup
bipush 29
48: ldc "Alt AltGraph Meta Shift"
aastore
dup
bipush 30
49: ldc "Alt AltGraph Control Meta"
aastore
dup
bipush 31
50: ldc "Alt AltGraph Control Meta Shift"
aastore
51: putstatic org.apache.batik.dom.util.DOMUtilities.MODIFIER_STRINGS:[Ljava/lang/String;
52: return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.batik.xml.XMLUtilities.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/batik/dom/util/DOMUtilities;
public static void writeDocument(org.w3c.dom.Document, java.io.Writer);
descriptor: (Lorg/w3c/dom/Document;Ljava/io/Writer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
checkcast org.apache.batik.dom.AbstractDocument
astore 2
start local 2 1: aload 0
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
ifnonnull 3
2: new java.io.IOException
dup
ldc "No document element"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.apache.batik.dom.AbstractDocument
StackMap stack:
invokestatic org.apache.batik.dom.util.DOMUtilities$NSMap.create:()Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
astore 3
start local 3 4: aload 0
invokeinterface org.w3c.dom.Document.getFirstChild:()Lorg/w3c/dom/Node;
astore 4
start local 4 5: goto 8
6: StackMap locals: org.apache.batik.dom.util.DOMUtilities$NSMap org.w3c.dom.Node
StackMap stack:
aload 4
aload 1
aload 3
ldc "1.1"
aload 2
invokevirtual org.apache.batik.dom.AbstractDocument.getXmlVersion:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
invokestatic org.apache.batik.dom.util.DOMUtilities.writeNode:(Lorg/w3c/dom/Node;Ljava/io/Writer;Lorg/apache/batik/dom/util/DOMUtilities$NSMap;Z)V
7: aload 4
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 4
8: StackMap locals:
StackMap stack:
aload 4
ifnonnull 6
end local 4 9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 doc Lorg/w3c/dom/Document;
0 10 1 w Ljava/io/Writer;
1 10 2 d Lorg/apache/batik/dom/AbstractDocument;
4 10 3 m Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
5 9 4 n Lorg/w3c/dom/Node;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
doc
w
protected static void writeNode(org.w3c.dom.Node, java.io.Writer, org.apache.batik.dom.util.DOMUtilities$NSMap, boolean);
descriptor: (Lorg/w3c/dom/Node;Ljava/io/Writer;Lorg/apache/batik/dom/util/DOMUtilities$NSMap;Z)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=5, locals=13, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokeinterface org.w3c.dom.Node.getNodeType:()S
tableswitch { // 1 - 10
1: 1
2: 137
3: 84
4: 86
5: 94
6: 137
7: 96
8: 105
9: 137
10: 114
default: 137
}
1: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.hasAttributes:()Z
ifeq 16
2: aload 0
invokeinterface org.w3c.dom.Node.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 4
start local 4 3: aload 4
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
istore 5
start local 5 4: iconst_0
istore 6
start local 6 5: goto 15
6: StackMap locals: org.w3c.dom.NamedNodeMap int int
StackMap stack:
aload 4
iload 6
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
checkcast org.w3c.dom.Attr
astore 7
start local 7 7: aload 7
invokeinterface org.w3c.dom.Attr.getNodeName:()Ljava/lang/String;
astore 8
start local 8 8: aload 8
ldc "xmlns"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 14
9: aload 8
invokevirtual java.lang.String.length:()I
iconst_5
if_icmpne 12
10: aload 2
ldc ""
aload 7
invokeinterface org.w3c.dom.Attr.getNodeValue:()Ljava/lang/String;
invokevirtual org.apache.batik.dom.util.DOMUtilities$NSMap.declare:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
astore 2
11: goto 14
12: StackMap locals: org.w3c.dom.Attr java.lang.String
StackMap stack:
aload 8
bipush 6
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 9
start local 9 13: aload 2
aload 9
aload 7
invokeinterface org.w3c.dom.Attr.getNodeValue:()Ljava/lang/String;
invokevirtual org.apache.batik.dom.util.DOMUtilities$NSMap.declare:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
astore 2
end local 9 end local 8 end local 7 14: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
15: iload 6
iload 5
if_icmplt 6
end local 6 end local 5 end local 4 16: StackMap locals:
StackMap stack:
aload 1
bipush 60
invokevirtual java.io.Writer.write:(I)V
17: aload 0
invokeinterface org.w3c.dom.Node.getNamespaceURI:()Ljava/lang/String;
astore 4
start local 4 18: aload 4
ifnonnull 25
19: aload 0
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
astore 5
start local 5 20: aload 1
aload 5
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
21: ldc ""
aload 2
ldc ""
invokevirtual org.apache.batik.dom.util.DOMUtilities$NSMap.getNamespace:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 46
22: aload 1
ldc " xmlns=\"\""
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
23: aload 2
ldc ""
ldc ""
invokevirtual org.apache.batik.dom.util.DOMUtilities$NSMap.declare:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
astore 2
24: goto 46
end local 5 25: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getPrefix:()Ljava/lang/String;
astore 6
start local 6 26: aload 6
ifnonnull 28
27: ldc ""
astore 6
28: StackMap locals: org.w3c.dom.Node java.io.Writer org.apache.batik.dom.util.DOMUtilities$NSMap int java.lang.String top java.lang.String
StackMap stack:
aload 4
aload 2
aload 6
invokevirtual org.apache.batik.dom.util.DOMUtilities$NSMap.getNamespace:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 32
29: aload 0
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
astore 5
start local 5 30: aload 1
aload 5
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
31: goto 46
end local 5 32: StackMap locals:
StackMap stack:
aload 2
aload 4
invokevirtual org.apache.batik.dom.util.DOMUtilities$NSMap.getPrefixForElement:(Ljava/lang/String;)Ljava/lang/String;
astore 6
33: aload 6
ifnonnull 41
34: aload 2
invokevirtual org.apache.batik.dom.util.DOMUtilities$NSMap.getNewPrefix:()Ljava/lang/String;
astore 6
35: new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
invokeinterface org.w3c.dom.Node.getLocalName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 36: aload 1
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " xmlns:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "=\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
37: aload 4
iload 3
invokestatic org.apache.batik.dom.util.DOMUtilities.contentToString:(Ljava/lang/String;Z)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
38: invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
39: aload 2
aload 6
aload 4
invokevirtual org.apache.batik.dom.util.DOMUtilities$NSMap.declare:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
astore 2
40: goto 46
end local 5 41: StackMap locals:
StackMap stack:
aload 6
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 44
42: aload 0
invokeinterface org.w3c.dom.Node.getLocalName:()Ljava/lang/String;
astore 5
start local 5 43: goto 45
end local 5 44: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
invokeinterface org.w3c.dom.Node.getLocalName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 45: StackMap locals: org.w3c.dom.Node java.io.Writer org.apache.batik.dom.util.DOMUtilities$NSMap int java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 1
aload 5
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
end local 6 46: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.hasAttributes:()Z
ifeq 74
47: aload 0
invokeinterface org.w3c.dom.Node.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 6
start local 6 48: aload 6
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
istore 7
start local 7 49: iconst_0
istore 8
start local 8 50: goto 73
51: StackMap locals: org.w3c.dom.NamedNodeMap int int
StackMap stack:
aload 6
iload 8
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
checkcast org.w3c.dom.Attr
astore 9
start local 9 52: aload 9
invokeinterface org.w3c.dom.Attr.getNodeName:()Ljava/lang/String;
astore 10
start local 10 53: aload 9
invokeinterface org.w3c.dom.Attr.getPrefix:()Ljava/lang/String;
astore 11
start local 11 54: aload 9
invokeinterface org.w3c.dom.Attr.getNamespaceURI:()Ljava/lang/String;
astore 12
start local 12 55: aload 12
ifnull 68
56: ldc "xmlns"
aload 11
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 68
aload 10
ldc "xmlns"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 68
57: aload 11
ifnull 59
58: aload 12
aload 2
aload 11
invokevirtual org.apache.batik.dom.util.DOMUtilities$NSMap.getNamespace:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 60
59: StackMap locals: org.w3c.dom.Node java.io.Writer org.apache.batik.dom.util.DOMUtilities$NSMap int java.lang.String java.lang.String org.w3c.dom.NamedNodeMap int int org.w3c.dom.Attr java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 11
ifnonnull 68
60: StackMap locals:
StackMap stack:
aload 2
aload 12
invokevirtual org.apache.batik.dom.util.DOMUtilities$NSMap.getPrefixForAttr:(Ljava/lang/String;)Ljava/lang/String;
astore 11
61: aload 11
ifnonnull 67
62: aload 2
invokevirtual org.apache.batik.dom.util.DOMUtilities$NSMap.getNewPrefix:()Ljava/lang/String;
astore 11
63: aload 2
aload 11
aload 12
invokevirtual org.apache.batik.dom.util.DOMUtilities$NSMap.declare:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
astore 2
64: aload 1
new java.lang.StringBuilder
dup
ldc " xmlns:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "=\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
65: aload 12
iload 3
invokestatic org.apache.batik.dom.util.DOMUtilities.contentToString:(Ljava/lang/String;Z)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
66: invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
67: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 11
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 9
invokeinterface org.w3c.dom.Attr.getLocalName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 10
68: StackMap locals:
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
bipush 32
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "=\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
69: aload 9
invokeinterface org.w3c.dom.Attr.getNodeValue:()Ljava/lang/String;
iload 3
invokestatic org.apache.batik.dom.util.DOMUtilities.contentToString:(Ljava/lang/String;Z)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
70: bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
71: invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
end local 12 end local 11 end local 10 end local 9 72: iinc 8 1
StackMap locals: org.w3c.dom.Node java.io.Writer org.apache.batik.dom.util.DOMUtilities$NSMap int java.lang.String java.lang.String org.w3c.dom.NamedNodeMap int int
StackMap stack:
73: iload 8
iload 7
if_icmplt 51
end local 8 end local 7 end local 6 74: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 6
start local 6 75: aload 6
ifnull 82
76: aload 1
bipush 62
invokevirtual java.io.Writer.write:(I)V
77: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 6
aload 1
aload 2
iload 3
invokestatic org.apache.batik.dom.util.DOMUtilities.writeNode:(Lorg/w3c/dom/Node;Ljava/io/Writer;Lorg/apache/batik/dom/util/DOMUtilities$NSMap;Z)V
78: aload 6
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 6
79: aload 6
ifnonnull 77
80: aload 1
new java.lang.StringBuilder
dup
ldc "</"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 62
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
81: goto 138
82: StackMap locals:
StackMap stack:
aload 1
ldc "/>"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
83: goto 138
end local 6 end local 5 end local 4 84: StackMap locals:
StackMap stack:
aload 1
aload 0
invokeinterface org.w3c.dom.Node.getNodeValue:()Ljava/lang/String;
iload 3
invokestatic org.apache.batik.dom.util.DOMUtilities.contentToString:(Ljava/lang/String;Z)Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
85: goto 138
86: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getNodeValue:()Ljava/lang/String;
astore 4
start local 4 87: aload 4
ldc "]]>"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 89
88: new java.io.IOException
dup
ldc "Unserializable CDATA section node"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
89: StackMap locals: java.lang.String
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
ldc "<![CDATA["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
90: aload 4
iload 3
invokestatic org.apache.batik.dom.util.DOMUtilities.assertValidCharacters:(Ljava/lang/String;Z)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
91: ldc "]]>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
92: invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
93: goto 138
end local 4 94: StackMap locals:
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
bipush 38
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 59
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
95: goto 138
96: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
astore 4
start local 4 97: aload 0
invokeinterface org.w3c.dom.Node.getNodeValue:()Ljava/lang/String;
astore 5
start local 5 98: aload 4
ldc "xml"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 101
99: aload 4
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpne 101
100: aload 5
ldc "?>"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 103
101: StackMap locals: java.lang.String java.lang.String
StackMap stack:
new java.io.IOException
dup
ldc "Unserializable processing instruction node"
102: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
103: StackMap locals:
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
ldc "<?"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "?>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
104: goto 138
end local 5 end local 4 105: StackMap locals:
StackMap stack:
aload 1
ldc "<!--"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
106: aload 0
invokeinterface org.w3c.dom.Node.getNodeValue:()Ljava/lang/String;
astore 4
start local 4 107: aload 4
invokevirtual java.lang.String.length:()I
istore 5
start local 5 108: iload 5
ifeq 109
aload 4
iload 5
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 45
if_icmpeq 110
109: StackMap locals: java.lang.String int
StackMap stack:
aload 4
ldc "--"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 111
110: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Unserializable comment node"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
111: StackMap locals:
StackMap stack:
aload 1
aload 4
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
112: aload 1
ldc "-->"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
113: goto 138
end local 5 end local 4 114: StackMap locals:
StackMap stack:
aload 0
checkcast org.w3c.dom.DocumentType
astore 4
start local 4 115: aload 1
new java.lang.StringBuilder
dup
ldc "<!DOCTYPE "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
116: aload 0
invokeinterface org.w3c.dom.Node.getOwnerDocument:()Lorg/w3c/dom/Document;
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
invokeinterface org.w3c.dom.Element.getNodeName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
117: invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
118: aload 4
invokeinterface org.w3c.dom.DocumentType.getPublicId:()Ljava/lang/String;
astore 5
start local 5 119: aload 5
ifnull 124
120: aload 5
invokestatic org.apache.batik.dom.util.DOMUtilities.getUsableQuote:(Ljava/lang/String;)C
istore 6
start local 6 121: iload 6
ifne 123
122: new java.io.IOException
dup
ldc "Unserializable DOCTYPE node"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
123: StackMap locals: org.w3c.dom.DocumentType java.lang.String int
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
ldc " PUBLIC "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 6
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 6
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
end local 6 124: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.w3c.dom.DocumentType.getSystemId:()Ljava/lang/String;
astore 6
start local 6 125: aload 6
ifnull 132
126: aload 6
invokestatic org.apache.batik.dom.util.DOMUtilities.getUsableQuote:(Ljava/lang/String;)C
istore 7
start local 7 127: iload 7
ifne 129
128: new java.io.IOException
dup
ldc "Unserializable DOCTYPE node"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
129: StackMap locals: java.lang.String int
StackMap stack:
aload 5
ifnonnull 131
130: aload 1
ldc " SYSTEM"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
131: StackMap locals:
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 7
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 7
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
end local 7 132: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.w3c.dom.DocumentType.getInternalSubset:()Ljava/lang/String;
astore 7
start local 7 133: aload 7
ifnull 135
134: aload 1
new java.lang.StringBuilder
dup
bipush 91
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
135: StackMap locals: java.lang.String
StackMap stack:
aload 1
bipush 62
invokevirtual java.io.Writer.write:(I)V
136: goto 138
end local 7 end local 6 end local 5 end local 4 137: StackMap locals: org.w3c.dom.Node java.io.Writer org.apache.batik.dom.util.DOMUtilities$NSMap int
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Unknown DOM node type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface org.w3c.dom.Node.getNodeType:()S
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
138: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 139 0 n Lorg/w3c/dom/Node;
0 139 1 w Ljava/io/Writer;
0 139 2 m Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
0 139 3 isXML11 Z
3 16 4 attr Lorg/w3c/dom/NamedNodeMap;
4 16 5 len I
5 16 6 i I
7 14 7 a Lorg/w3c/dom/Attr;
8 14 8 name Ljava/lang/String;
13 14 9 prefix Ljava/lang/String;
18 84 4 ns Ljava/lang/String;
20 25 5 tagName Ljava/lang/String;
30 32 5 tagName Ljava/lang/String;
36 41 5 tagName Ljava/lang/String;
43 44 5 tagName Ljava/lang/String;
45 84 5 tagName Ljava/lang/String;
26 46 6 prefix Ljava/lang/String;
48 74 6 attr Lorg/w3c/dom/NamedNodeMap;
49 74 7 len I
50 74 8 i I
52 72 9 a Lorg/w3c/dom/Attr;
53 72 10 name Ljava/lang/String;
54 72 11 prefix Ljava/lang/String;
55 72 12 ans Ljava/lang/String;
75 84 6 c Lorg/w3c/dom/Node;
87 94 4 data Ljava/lang/String;
97 105 4 target Ljava/lang/String;
98 105 5 data Ljava/lang/String;
107 114 4 data Ljava/lang/String;
108 114 5 len I
115 137 4 dt Lorg/w3c/dom/DocumentType;
119 137 5 pubID Ljava/lang/String;
121 124 6 q C
125 137 6 sysID Ljava/lang/String;
127 132 7 q C
133 137 7 subset Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
w
m
isXML11
public static void writeNode(org.w3c.dom.Node, java.io.Writer);
descriptor: (Lorg/w3c/dom/Node;Ljava/io/Writer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.w3c.dom.Node.getNodeType:()S
bipush 9
if_icmpne 3
1: aload 0
checkcast org.w3c.dom.Document
aload 1
invokestatic org.apache.batik.dom.util.DOMUtilities.writeDocument:(Lorg/w3c/dom/Document;Ljava/io/Writer;)V
2: goto 8
3: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getOwnerDocument:()Lorg/w3c/dom/Document;
checkcast org.apache.batik.dom.AbstractDocument
astore 2
start local 2 4: aload 0
aload 1
invokestatic org.apache.batik.dom.util.DOMUtilities$NSMap.create:()Lorg/apache/batik/dom/util/DOMUtilities$NSMap;
5: aload 2
ifnonnull 6
iconst_0
goto 7
StackMap locals: org.w3c.dom.Node java.io.Writer org.apache.batik.dom.AbstractDocument
StackMap stack: org.w3c.dom.Node java.io.Writer org.apache.batik.dom.util.DOMUtilities$NSMap
6: ldc "1.1"
aload 2
invokevirtual org.apache.batik.dom.AbstractDocument.getXmlVersion:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
7: StackMap locals: org.w3c.dom.Node java.io.Writer org.apache.batik.dom.AbstractDocument
StackMap stack: org.w3c.dom.Node java.io.Writer org.apache.batik.dom.util.DOMUtilities$NSMap int
invokestatic org.apache.batik.dom.util.DOMUtilities.writeNode:(Lorg/w3c/dom/Node;Ljava/io/Writer;Lorg/apache/batik/dom/util/DOMUtilities$NSMap;Z)V
end local 2 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 n Lorg/w3c/dom/Node;
0 9 1 w Ljava/io/Writer;
4 8 2 d Lorg/apache/batik/dom/AbstractDocument;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
w
private static char getUsableQuote(java.lang.String);
descriptor: (Ljava/lang/String;)C
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
istore 2
start local 2 2: goto 15
3: StackMap locals: int int
StackMap stack:
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 4: iload 3
bipush 34
if_icmpne 9
5: iload 1
ifne 8
6: bipush 39
istore 1
7: goto 14
8: StackMap locals: int
StackMap stack:
iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iload 3
bipush 39
if_icmpne 14
10: iload 1
ifne 13
11: bipush 34
istore 1
12: goto 14
13: StackMap locals:
StackMap stack:
iconst_0
ireturn
14: StackMap locals:
StackMap stack:
iinc 2 -1
end local 3 15: StackMap locals:
StackMap stack:
iload 2
ifge 3
16: iload 1
ifne 17
bipush 34
goto 18
StackMap locals:
StackMap stack:
17: iload 1
StackMap locals:
StackMap stack: int
18: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 s Ljava/lang/String;
1 19 1 ret C
2 19 2 i I
4 15 3 c C
MethodParameters:
Name Flags
s
public static java.lang.String getXML(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.io.StringWriter
dup
invokespecial java.io.StringWriter.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokestatic org.apache.batik.dom.util.DOMUtilities.writeNode:(Lorg/w3c/dom/Node;Ljava/io/Writer;)V
2: aload 1
invokevirtual java.io.Writer.close:()V
3: goto 6
StackMap locals: org.w3c.dom.Node java.io.Writer
StackMap stack: java.io.IOException
4: pop
5: ldc ""
areturn
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 n Lorg/w3c/dom/Node;
1 7 1 writer Ljava/io/Writer;
Exception table:
from to target type
1 3 4 Class java.io.IOException
MethodParameters:
Name Flags
n
protected static java.lang.String assertValidCharacters(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/lang/String;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.String.length:()I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 8
3: StackMap locals: int int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 4: iload 1
ifne 5
iload 4
invokestatic org.apache.batik.dom.util.DOMUtilities.isXMLCharacter:(I)Z
ifeq 6
5: StackMap locals: int
StackMap stack:
iload 1
ifeq 7
iload 4
invokestatic org.apache.batik.dom.util.DOMUtilities.isXML11Character:(I)Z
ifne 7
6: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Invalid character"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 4 7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 2
if_icmplt 3
end local 3 9: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 s Ljava/lang/String;
0 10 1 isXML11 Z
1 10 2 len I
2 9 3 i I
4 7 4 c C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
isXML11
public static java.lang.String contentToString(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new java.lang.StringBuffer
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial java.lang.StringBuffer.<init>:(I)V
astore 2
start local 2 1: aload 0
invokevirtual java.lang.String.length:()I
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 21
4: StackMap locals: java.lang.StringBuffer int int
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 5: iload 1
ifne 6
iload 5
invokestatic org.apache.batik.dom.util.DOMUtilities.isXMLCharacter:(I)Z
ifeq 7
6: StackMap locals: int
StackMap stack:
iload 1
ifeq 8
iload 5
invokestatic org.apache.batik.dom.util.DOMUtilities.isXML11Character:(I)Z
ifne 8
7: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Invalid character"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
iload 5
lookupswitch { // 5
34: 15
38: 13
39: 17
60: 9
62: 11
default: 19
}
9: StackMap locals:
StackMap stack:
aload 2
ldc "<"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
10: goto 20
11: StackMap locals:
StackMap stack:
aload 2
ldc ">"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
12: goto 20
13: StackMap locals:
StackMap stack:
aload 2
ldc "&"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
14: goto 20
15: StackMap locals:
StackMap stack:
aload 2
ldc """
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
16: goto 20
17: StackMap locals:
StackMap stack:
aload 2
ldc "'"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
18: goto 20
19: StackMap locals:
StackMap stack:
aload 2
iload 5
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
end local 5 20: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
21: iload 4
iload 3
if_icmplt 4
end local 4 22: aload 2
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 s Ljava/lang/String;
0 23 1 isXML11 Z
1 23 2 result Ljava/lang/StringBuffer;
2 23 3 len I
3 22 4 i I
5 20 5 c C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
isXML11
public static int getChildIndex(org.w3c.dom.Node, org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnull 2
aload 0
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
aload 1
if_acmpne 2
1: aload 0
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
ifnonnull 3
2: StackMap locals:
StackMap stack:
iconst_m1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.batik.dom.util.DOMUtilities.getChildIndex:(Lorg/w3c/dom/Node;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 child Lorg/w3c/dom/Node;
0 4 1 parent Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
child
parent
public static int getChildIndex(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Node.getChildNodes:()Lorg/w3c/dom/NodeList;
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 7
3: StackMap locals: org.w3c.dom.NodeList int
StackMap stack:
aload 1
iload 2
invokeinterface org.w3c.dom.NodeList.item:(I)Lorg/w3c/dom/Node;
astore 3
start local 3 4: aload 3
aload 0
if_acmpne 6
5: iload 2
ireturn
end local 3 6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 1
invokeinterface org.w3c.dom.NodeList.getLength:()I
if_icmplt 3
end local 2 8: iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 child Lorg/w3c/dom/Node;
1 9 1 children Lorg/w3c/dom/NodeList;
2 8 2 i I
4 6 3 currentChild Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
child
public static boolean isAnyNodeAncestorOf(java.util.ArrayList, org.w3c.dom.Node);
descriptor: (Ljava/util/ArrayList;Lorg/w3c/dom/Node;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.util.ArrayList.size:()I
pop
1: aload 0
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: java.util.ArrayList org.w3c.dom.Node top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 2
start local 2 3: aload 2
checkcast org.w3c.dom.Node
astore 4
start local 4 4: aload 4
aload 1
invokestatic org.apache.batik.dom.util.DOMUtilities.isAncestorOf:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
ifeq 6
5: iconst_1
ireturn
end local 4 end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 ancestorNodes Ljava/util/ArrayList;
0 8 1 node Lorg/w3c/dom/Node;
3 6 2 ancestorNode Ljava/lang/Object;
4 6 4 ancestor Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
ancestorNodes
node
public static boolean isAncestorOf(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=3, args_size=2
start local 0 start local 1 0: aload 0
ifnull 1
aload 1
ifnonnull 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 2
start local 2 3: goto 9
4: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 2
aload 0
if_acmpne 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 2
7: invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
8: astore 2
StackMap locals:
StackMap stack:
9: aload 2
ifnonnull 4
end local 2 10: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 node Lorg/w3c/dom/Node;
0 11 1 descendant Lorg/w3c/dom/Node;
3 10 2 currentNode Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
node
descendant
public static boolean isParentOf(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
ifnull 2
aload 1
ifnull 2
1: aload 0
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
aload 1
if_acmpeq 3
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 node Lorg/w3c/dom/Node;
0 4 1 parentNode Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
node
parentNode
public static boolean canAppend(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
ifnull 2
aload 1
ifnull 2
aload 0
aload 1
if_acmpeq 2
1: aload 0
aload 1
invokestatic org.apache.batik.dom.util.DOMUtilities.isAncestorOf:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
ifeq 3
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 node Lorg/w3c/dom/Node;
0 4 1 parentNode Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
node
parentNode
public static boolean canAppendAny(java.util.ArrayList, org.w3c.dom.Node);
descriptor: (Ljava/util/ArrayList;Lorg/w3c/dom/Node;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.apache.batik.dom.util.DOMUtilities.canHaveChildren:(Lorg/w3c/dom/Node;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.ArrayList.size:()I
pop
3: aload 0
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: java.util.ArrayList org.w3c.dom.Node top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 2
start local 2 5: aload 2
checkcast org.w3c.dom.Node
astore 4
start local 4 6: aload 4
aload 1
invokestatic org.apache.batik.dom.util.DOMUtilities.canAppend:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
ifeq 8
7: iconst_1
ireturn
end local 4 end local 2 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 children Ljava/util/ArrayList;
0 10 1 parentNode Lorg/w3c/dom/Node;
5 8 2 aChildren Ljava/lang/Object;
6 8 4 child Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
children
parentNode
public static boolean canHaveChildren(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getNodeType:()S
tableswitch { // 3 - 9
3: 3
4: 3
5: 4
6: 4
7: 3
8: 3
9: 3
default: 4
}
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 parentNode Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
parentNode
public static org.w3c.dom.Node parseXML(java.lang.String, org.w3c.dom.Document, java.lang.String, java.util.Map, java.lang.String, org.apache.batik.dom.util.SAXDocumentFactory);
descriptor: (Ljava/lang/String;Lorg/w3c/dom/Document;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Lorg/apache/batik/dom/util/SAXDocumentFactory;)Lorg/w3c/dom/Node;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=13, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: ldc ""
astore 6
start local 6 1: ldc ""
astore 7
start local 7 2: aload 4
ifnull 17
3: new java.lang.StringBuilder
dup
ldc "<"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
4: aload 3
ifnull 15
5: new java.lang.StringBuilder
dup
aload 6
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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
6: aload 3
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 14
StackMap locals: java.lang.String org.w3c.dom.Document java.lang.String java.util.Map java.lang.String org.apache.batik.dom.util.SAXDocumentFactory java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
7: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 8
start local 8 8: aload 8
checkcast java.util.Map$Entry
astore 10
start local 10 9: aload 10
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 11
start local 11 10: aload 10
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
astore 12
start local 12 11: new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "=\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 12
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: ldc "\" "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
end local 12 end local 11 end local 10 end local 8 14: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
15: StackMap locals: java.lang.String org.w3c.dom.Document java.lang.String java.util.Map java.lang.String org.apache.batik.dom.util.SAXDocumentFactory java.lang.String java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 6
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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
16: new java.lang.StringBuilder
dup
aload 7
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 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 62
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 7
17: StackMap locals:
StackMap stack:
aload 6
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 33
18: aload 7
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 33
19: aload 5
aload 2
20: new java.io.StringReader
dup
aload 0
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
21: invokevirtual org.apache.batik.dom.util.SAXDocumentFactory.createDocument:(Ljava/lang/String;Ljava/io/Reader;)Lorg/w3c/dom/Document;
astore 8
start local 8 22: aload 1
ifnonnull 25
23: aload 8
24: areturn
25: StackMap locals: org.w3c.dom.Document
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Document.createDocumentFragment:()Lorg/w3c/dom/DocumentFragment;
astore 9
start local 9 26: aload 9
27: aload 1
aload 8
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
28: iconst_1
29: invokeinterface org.w3c.dom.Document.importNode:(Lorg/w3c/dom/Node;Z)Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Node.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
30: aload 9
31: areturn
end local 9 end local 8 32: StackMap locals: java.lang.String org.w3c.dom.Document java.lang.String java.util.Map java.lang.String org.apache.batik.dom.util.SAXDocumentFactory java.lang.String java.lang.String
StackMap stack: java.lang.Exception
pop
33: StackMap locals:
StackMap stack:
new java.lang.StringBuffer
dup
aload 6
invokevirtual java.lang.String.length:()I
34: aload 0
invokevirtual java.lang.String.length:()I
iadd
aload 7
invokevirtual java.lang.String.length:()I
iadd
35: invokespecial java.lang.StringBuffer.<init>:(I)V
astore 8
start local 8 36: aload 8
aload 6
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
37: aload 8
aload 0
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
38: aload 8
aload 7
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
39: aload 8
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
astore 9
start local 9 40: aload 5
aload 2
new java.io.StringReader
dup
41: aload 9
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
42: invokevirtual org.apache.batik.dom.util.SAXDocumentFactory.createDocument:(Ljava/lang/String;Ljava/io/Reader;)Lorg/w3c/dom/Document;
astore 10
start local 10 43: aload 1
ifnonnull 46
44: aload 10
45: areturn
46: StackMap locals: java.lang.StringBuffer java.lang.String org.w3c.dom.Document
StackMap stack:
aload 10
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
invokeinterface org.w3c.dom.Element.getFirstChild:()Lorg/w3c/dom/Node;
astore 11
start local 11 47: goto 55
48: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 11
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_1
if_icmpne 54
49: aload 1
aload 11
iconst_1
invokeinterface org.w3c.dom.Document.importNode:(Lorg/w3c/dom/Node;Z)Lorg/w3c/dom/Node;
astore 11
50: aload 1
invokeinterface org.w3c.dom.Document.createDocumentFragment:()Lorg/w3c/dom/DocumentFragment;
astore 12
start local 12 51: aload 12
aload 11
invokeinterface org.w3c.dom.Node.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
52: aload 12
53: areturn
end local 12 54: StackMap locals:
StackMap stack:
aload 11
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 11
55: StackMap locals:
StackMap stack:
aload 11
ifnonnull 48
end local 11 end local 10 56: goto 58
StackMap locals: java.lang.String org.w3c.dom.Document java.lang.String java.util.Map java.lang.String org.apache.batik.dom.util.SAXDocumentFactory java.lang.String java.lang.String java.lang.StringBuffer java.lang.String
StackMap stack: java.lang.Exception
57: pop
58: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 9 end local 8 end local 7 end local 6 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 59 0 text Ljava/lang/String;
0 59 1 doc Lorg/w3c/dom/Document;
0 59 2 uri Ljava/lang/String;
0 59 3 prefixes Ljava/util/Map;
0 59 4 wrapperElementName Ljava/lang/String;
0 59 5 documentFactory Lorg/apache/batik/dom/util/SAXDocumentFactory;
1 59 6 wrapperElementPrefix Ljava/lang/String;
2 59 7 wrapperElementSuffix Ljava/lang/String;
8 14 8 o Ljava/lang/Object;
9 14 10 e Ljava/util/Map$Entry;
10 14 11 currentKey Ljava/lang/String;
11 14 12 currentValue Ljava/lang/String;
22 32 8 d Lorg/w3c/dom/Document;
26 32 9 result Lorg/w3c/dom/Node;
36 59 8 sb Ljava/lang/StringBuffer;
40 59 9 newText Ljava/lang/String;
43 56 10 d Lorg/w3c/dom/Document;
47 56 11 node Lorg/w3c/dom/Node;
51 54 12 result Lorg/w3c/dom/Node;
Exception table:
from to target type
19 24 32 Class java.lang.Exception
25 31 32 Class java.lang.Exception
40 45 57 Class java.lang.Exception
46 53 57 Class java.lang.Exception
54 56 57 Class java.lang.Exception
MethodParameters:
Name Flags
text
doc
uri
prefixes
wrapperElementName
documentFactory
public static org.w3c.dom.Document deepCloneDocument(org.w3c.dom.Document, org.w3c.dom.DOMImplementation);
descriptor: (Lorg/w3c/dom/Document;Lorg/w3c/dom/DOMImplementation;)Lorg/w3c/dom/Document;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
astore 2
start local 2 1: aload 1
aload 2
invokeinterface org.w3c.dom.Element.getNamespaceURI:()Ljava/lang/String;
2: aload 2
invokeinterface org.w3c.dom.Element.getNodeName:()Ljava/lang/String;
3: aconst_null
4: invokeinterface org.w3c.dom.DOMImplementation.createDocument:(Ljava/lang/String;Ljava/lang/String;Lorg/w3c/dom/DocumentType;)Lorg/w3c/dom/Document;
astore 3
start local 3 5: aload 3
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
astore 4
start local 4 6: iconst_1
istore 5
start local 5 7: aload 0
invokeinterface org.w3c.dom.Document.getFirstChild:()Lorg/w3c/dom/Node;
astore 6
start local 6 8: goto 33
9: StackMap locals: org.w3c.dom.Document org.w3c.dom.DOMImplementation org.w3c.dom.Element org.w3c.dom.Document org.w3c.dom.Element int org.w3c.dom.Node
StackMap stack:
aload 6
aload 2
if_acmpne 27
10: iconst_0
istore 5
11: aload 2
invokeinterface org.w3c.dom.Element.hasAttributes:()Z
ifeq 21
12: aload 2
invokeinterface org.w3c.dom.Element.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 7
start local 7 13: aload 7
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
istore 8
start local 8 14: iconst_0
istore 9
start local 9 15: goto 20
16: StackMap locals: org.w3c.dom.NamedNodeMap int int
StackMap stack:
aload 4
aload 3
aload 7
iload 9
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
17: iconst_1
18: invokeinterface org.w3c.dom.Document.importNode:(Lorg/w3c/dom/Node;Z)Lorg/w3c/dom/Node;
checkcast org.w3c.dom.Attr
invokeinterface org.w3c.dom.Element.setAttributeNode:(Lorg/w3c/dom/Attr;)Lorg/w3c/dom/Attr;
pop
19: iinc 9 1
StackMap locals:
StackMap stack:
20: iload 9
iload 8
if_icmplt 16
end local 9 end local 8 end local 7 21: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Element.getFirstChild:()Lorg/w3c/dom/Node;
astore 7
start local 7 22: goto 25
23: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 4
aload 3
aload 7
iconst_1
invokeinterface org.w3c.dom.Document.importNode:(Lorg/w3c/dom/Node;Z)Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
24: aload 7
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 7
25: StackMap locals:
StackMap stack:
aload 7
ifnonnull 23
end local 7 26: goto 32
27: StackMap locals:
StackMap stack:
aload 6
invokeinterface org.w3c.dom.Node.getNodeType:()S
bipush 10
if_icmpeq 32
28: iload 5
ifeq 31
29: aload 3
aload 3
aload 6
iconst_1
invokeinterface org.w3c.dom.Document.importNode:(Lorg/w3c/dom/Node;Z)Lorg/w3c/dom/Node;
aload 4
invokeinterface org.w3c.dom.Document.insertBefore:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
30: goto 32
31: StackMap locals:
StackMap stack:
aload 3
aload 3
aload 6
iconst_1
invokeinterface org.w3c.dom.Document.importNode:(Lorg/w3c/dom/Node;Z)Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Document.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
32: StackMap locals:
StackMap stack:
aload 6
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 6
StackMap locals:
StackMap stack:
33: aload 6
ifnonnull 9
end local 6 34: aload 3
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 35 0 doc Lorg/w3c/dom/Document;
0 35 1 impl Lorg/w3c/dom/DOMImplementation;
1 35 2 root Lorg/w3c/dom/Element;
5 35 3 result Lorg/w3c/dom/Document;
6 35 4 rroot Lorg/w3c/dom/Element;
7 35 5 before Z
8 34 6 n Lorg/w3c/dom/Node;
13 21 7 attr Lorg/w3c/dom/NamedNodeMap;
14 21 8 len I
15 21 9 i I
22 26 7 c Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
doc
impl
public static boolean isValidName(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
istore 1
start local 1 1: iload 1
ifne 3
2: iconst_0
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 2
start local 2 4: iload 2
bipush 32
idiv
istore 3
start local 3 5: iload 2
bipush 32
irem
istore 4
start local 4 6: getstatic org.apache.batik.dom.util.DOMUtilities.NAME_FIRST_CHARACTER:[I
iload 3
iaload
iconst_1
iload 4
ishl
iand
ifne 8
7: iconst_0
ireturn
8: StackMap locals: int int int
StackMap stack:
iconst_1
istore 5
start local 5 9: goto 16
10: StackMap locals: int
StackMap stack:
aload 0
iload 5
invokevirtual java.lang.String.charAt:(I)C
istore 2
11: iload 2
bipush 32
idiv
istore 3
12: iload 2
bipush 32
irem
istore 4
13: getstatic org.apache.batik.dom.util.DOMUtilities.NAME_CHARACTER:[I
iload 3
iaload
iconst_1
iload 4
ishl
iand
ifne 15
14: iconst_0
ireturn
15: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
16: iload 5
iload 1
if_icmplt 10
end local 5 17: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 s Ljava/lang/String;
1 18 1 len I
4 18 2 c C
5 18 3 d I
6 18 4 m I
9 17 5 i I
MethodParameters:
Name Flags
s
public static boolean isValidName11(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
istore 1
start local 1 1: iload 1
ifne 3
2: iconst_0
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 2
start local 2 4: iload 2
bipush 32
idiv
istore 3
start local 3 5: iload 2
bipush 32
irem
istore 4
start local 4 6: getstatic org.apache.batik.dom.util.DOMUtilities.NAME11_FIRST_CHARACTER:[I
iload 3
iaload
iconst_1
iload 4
ishl
iand
ifne 8
7: iconst_0
ireturn
8: StackMap locals: int int int
StackMap stack:
iconst_1
istore 5
start local 5 9: goto 16
10: StackMap locals: int
StackMap stack:
aload 0
iload 5
invokevirtual java.lang.String.charAt:(I)C
istore 2
11: iload 2
bipush 32
idiv
istore 3
12: iload 2
bipush 32
irem
istore 4
13: getstatic org.apache.batik.dom.util.DOMUtilities.NAME11_CHARACTER:[I
iload 3
iaload
iconst_1
iload 4
ishl
iand
ifne 15
14: iconst_0
ireturn
15: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
16: iload 5
iload 1
if_icmplt 10
end local 5 17: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 s Ljava/lang/String;
1 18 1 len I
4 18 2 c C
5 18 3 d I
6 18 4 m I
9 17 5 i I
MethodParameters:
Name Flags
s
public static boolean isValidPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public static java.lang.String getPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpeq 2
iload 1
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
if_icmpne 3
2: StackMap locals: int
StackMap stack:
aconst_null
goto 4
3: StackMap locals:
StackMap stack:
aload 0
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
4: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 s Ljava/lang/String;
1 5 1 i I
MethodParameters:
Name Flags
s
public static java.lang.String getLocalName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpeq 2
iload 1
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
if_icmpne 3
2: StackMap locals: int
StackMap stack:
aload 0
goto 4
3: StackMap locals:
StackMap stack:
aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
4: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 s Ljava/lang/String;
1 5 1 i I
MethodParameters:
Name Flags
s
public static void parseStyleSheetPIData(java.lang.String, java.util.HashMap<java.lang.String, java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/util/HashMap;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: iconst_0
istore 3
start local 3 1: goto 6
2: StackMap locals: java.lang.String java.util.HashMap top int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 2
start local 2 3: iload 2
invokestatic org.apache.batik.xml.XMLUtilities.isXMLSpace:(C)Z
ifne 5
4: goto 95
5: StackMap locals: java.lang.String java.util.HashMap int int
StackMap stack:
iinc 3 1
end local 2 6: StackMap locals: java.lang.String java.util.HashMap top int
StackMap stack:
iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 2
7: goto 95
8: StackMap locals:
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 2
start local 2 9: iload 2
bipush 32
idiv
istore 4
start local 4 10: iload 2
bipush 32
irem
istore 5
start local 5 11: getstatic org.apache.batik.dom.util.DOMUtilities.NAME_FIRST_CHARACTER:[I
iload 4
iaload
iconst_1
iload 5
ishl
iand
ifne 15
12: new org.w3c.dom.DOMException
dup
iconst_5
13: new java.lang.StringBuilder
dup
ldc "Wrong name initial: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: invokespecial org.w3c.dom.DOMException.<init>:(SLjava/lang/String;)V
athrow
15: StackMap locals: java.lang.String java.util.HashMap int int int int
StackMap stack:
new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 6
start local 6 16: aload 6
iload 2
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
17: goto 24
18: StackMap locals: java.lang.StringBuffer
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 2
19: iload 2
bipush 32
idiv
istore 4
20: iload 2
bipush 32
irem
istore 5
21: getstatic org.apache.batik.dom.util.DOMUtilities.NAME_CHARACTER:[I
iload 4
iaload
iconst_1
iload 5
ishl
iand
ifne 23
22: goto 25
23: StackMap locals:
StackMap stack:
aload 6
iload 2
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
24: StackMap locals:
StackMap stack:
iinc 3 1
iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 18
25: StackMap locals:
StackMap stack:
iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 33
26: new org.w3c.dom.DOMException
dup
bipush 12
27: new java.lang.StringBuilder
dup
ldc "Wrong xml-stylesheet data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
28: invokespecial org.w3c.dom.DOMException.<init>:(SLjava/lang/String;)V
athrow
29: StackMap locals:
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 2
30: iload 2
invokestatic org.apache.batik.xml.XMLUtilities.isXMLSpace:(C)Z
ifne 32
31: goto 34
32: StackMap locals:
StackMap stack:
iinc 3 1
33: StackMap locals:
StackMap stack:
iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 29
34: StackMap locals:
StackMap stack:
iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 38
35: new org.w3c.dom.DOMException
dup
bipush 12
36: new java.lang.StringBuilder
dup
ldc "Wrong xml-stylesheet data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
37: invokespecial org.w3c.dom.DOMException.<init>:(SLjava/lang/String;)V
athrow
38: StackMap locals:
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
bipush 61
if_icmpeq 42
39: new org.w3c.dom.DOMException
dup
bipush 12
40: new java.lang.StringBuilder
dup
ldc "Wrong xml-stylesheet data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
41: invokespecial org.w3c.dom.DOMException.<init>:(SLjava/lang/String;)V
athrow
42: StackMap locals:
StackMap stack:
iinc 3 1
43: goto 48
44: StackMap locals:
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 2
45: iload 2
invokestatic org.apache.batik.xml.XMLUtilities.isXMLSpace:(C)Z
ifne 47
46: goto 49
47: StackMap locals:
StackMap stack:
iinc 3 1
48: StackMap locals:
StackMap stack:
iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 44
49: StackMap locals:
StackMap stack:
iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 53
50: new org.w3c.dom.DOMException
dup
bipush 12
51: new java.lang.StringBuilder
dup
ldc "Wrong xml-stylesheet data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
52: invokespecial org.w3c.dom.DOMException.<init>:(SLjava/lang/String;)V
athrow
53: StackMap locals:
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 2
54: iinc 3 1
55: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 7
start local 7 56: iload 2
bipush 39
if_icmpne 70
57: goto 63
58: StackMap locals: java.lang.StringBuffer
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 2
59: iload 2
bipush 39
if_icmpne 61
60: goto 64
61: StackMap locals:
StackMap stack:
aload 7
iload 2
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
62: iinc 3 1
63: StackMap locals:
StackMap stack:
iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 58
64: StackMap locals:
StackMap stack:
iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 87
65: new org.w3c.dom.DOMException
dup
bipush 12
66: new java.lang.StringBuilder
dup
ldc "Wrong xml-stylesheet data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
67: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
68: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
69: invokespecial org.w3c.dom.DOMException.<init>:(SLjava/lang/String;)V
athrow
70: StackMap locals:
StackMap stack:
iload 2
bipush 34
if_icmpne 84
71: goto 77
72: StackMap locals:
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 2
73: iload 2
bipush 34
if_icmpne 75
74: goto 78
75: StackMap locals:
StackMap stack:
aload 7
iload 2
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
76: iinc 3 1
77: StackMap locals:
StackMap stack:
iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 72
78: StackMap locals:
StackMap stack:
iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 87
79: new org.w3c.dom.DOMException
dup
bipush 12
80: new java.lang.StringBuilder
dup
ldc "Wrong xml-stylesheet data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
81: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
82: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
83: invokespecial org.w3c.dom.DOMException.<init>:(SLjava/lang/String;)V
athrow
84: StackMap locals:
StackMap stack:
new org.w3c.dom.DOMException
dup
bipush 12
85: new java.lang.StringBuilder
dup
ldc "Wrong xml-stylesheet data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
86: invokespecial org.w3c.dom.DOMException.<init>:(SLjava/lang/String;)V
athrow
87: StackMap locals:
StackMap stack:
aload 1
aload 6
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokevirtual java.lang.String.intern:()Ljava/lang/String;
aload 7
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
88: iinc 3 1
89: goto 94
90: StackMap locals:
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 2
91: iload 2
invokestatic org.apache.batik.xml.XMLUtilities.isXMLSpace:(C)Z
ifne 93
92: goto 95
93: StackMap locals:
StackMap stack:
iinc 3 1
94: StackMap locals:
StackMap stack:
iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 90
end local 7 end local 6 end local 5 end local 4 end local 2 95: StackMap locals: java.lang.String java.util.HashMap top int
StackMap stack:
iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 8
96: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 97 0 data Ljava/lang/String;
0 97 1 table Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;
3 6 2 c C
9 95 2 c C
1 97 3 i I
10 95 4 d I
11 95 5 m I
16 95 6 ident Ljava/lang/StringBuffer;
56 95 7 value Ljava/lang/StringBuffer;
Signature: (Ljava/lang/String;Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
data
table
public static java.lang.String getModifiersList(int, int);
descriptor: (II)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iload 1
sipush 8192
iand
ifeq 3
1: bipush 16
iload 1
bipush 6
ishr
bipush 15
iand
ior
istore 1
2: goto 4
3: StackMap locals:
StackMap stack:
iload 1
bipush 6
ishr
bipush 15
iand
istore 1
4: StackMap locals:
StackMap stack:
getstatic org.apache.batik.dom.util.DOMUtilities.LOCK_STRINGS:[Ljava/lang/String;
iload 0
bipush 15
iand
aaload
astore 2
start local 2 5: aload 2
invokevirtual java.lang.String.length:()I
ifeq 7
6: 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
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
getstatic org.apache.batik.dom.util.DOMUtilities.MODIFIER_STRINGS:[Ljava/lang/String;
iload 1
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
7: StackMap locals: java.lang.String
StackMap stack:
getstatic org.apache.batik.dom.util.DOMUtilities.MODIFIER_STRINGS:[Ljava/lang/String;
iload 1
aaload
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 lockState I
0 8 1 modifiersEx I
5 8 2 s Ljava/lang/String;
MethodParameters:
Name Flags
lockState
modifiersEx
public static boolean isAttributeSpecifiedNS(org.w3c.dom.Element, java.lang.String, java.lang.String);
descriptor: (Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokeinterface org.w3c.dom.Element.getAttributeNodeNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Attr;
astore 3
start local 3 1: aload 3
ifnull 2
aload 3
invokeinterface org.w3c.dom.Attr.getSpecified:()Z
ifeq 2
iconst_1
ireturn
StackMap locals: org.w3c.dom.Attr
StackMap stack:
2: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 e Lorg/w3c/dom/Element;
0 3 1 namespaceURI Ljava/lang/String;
0 3 2 localName Ljava/lang/String;
1 3 3 a Lorg/w3c/dom/Attr;
MethodParameters:
Name Flags
e
namespaceURI
localName
}
SourceFile: "DOMUtilities.java"
NestMembers:
org.apache.batik.dom.util.DOMUtilities$NSMap
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
private final NSMap = org.apache.batik.dom.util.DOMUtilities$NSMap of org.apache.batik.dom.util.DOMUtilities