public class com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM implements org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, com.sun.org.apache.xalan.internal.xsltc.runtime.Constants
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM
super_class: java.lang.Object
{
private org.w3c.dom.Node _root;
descriptor: Lorg/w3c/dom/Node;
flags: (0x0002) ACC_PRIVATE
private org.w3c.dom.Document _document;
descriptor: Lorg/w3c/dom/Document;
flags: (0x0002) ACC_PRIVATE
private org.w3c.dom.Node _nextSibling;
descriptor: Lorg/w3c/dom/Node;
flags: (0x0002) ACC_PRIVATE
private java.util.Stack<org.w3c.dom.Node> _nodeStk;
descriptor: Ljava/util/Stack;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Stack<Lorg/w3c/dom/Node;>;
private java.util.List<java.lang.String> _namespaceDecls;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/String;>;
private org.w3c.dom.Node _lastSibling;
descriptor: Lorg/w3c/dom/Node;
flags: (0x0002) ACC_PRIVATE
private org.xml.sax.Locator locator;
descriptor: Lorg/xml/sax/Locator;
flags: (0x0002) ACC_PRIVATE
private boolean needToSetDocumentInfo;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.StringBuilder _textBuffer;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0002) ACC_PRIVATE
private org.w3c.dom.Node _nextSiblingCache;
descriptor: Lorg/w3c/dom/Node;
flags: (0x0002) ACC_PRIVATE
private javax.xml.parsers.DocumentBuilderFactory _factory;
descriptor: Ljavax/xml/parsers/DocumentBuilderFactory;
flags: (0x0002) ACC_PRIVATE
private boolean _internal;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._root:Lorg/w3c/dom/Node;
2: aload 0
aconst_null
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._document:Lorg/w3c/dom/Document;
3: aload 0
aconst_null
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nextSibling:Lorg/w3c/dom/Node;
4: aload 0
new java.util.Stack
dup
invokespecial java.util.Stack.<init>:()V
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nodeStk:Ljava/util/Stack;
5: aload 0
aconst_null
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._namespaceDecls:Ljava/util/List;
6: aload 0
aconst_null
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._lastSibling:Lorg/w3c/dom/Node;
7: aload 0
aconst_null
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.locator:Lorg/xml/sax/Locator;
8: aload 0
iconst_1
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.needToSetDocumentInfo:Z
9: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._textBuffer:Ljava/lang/StringBuilder;
10: aload 0
aconst_null
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nextSiblingCache:Lorg/w3c/dom/Node;
11: aload 0
iconst_1
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._internal:Z
12: aload 0
aload 0
iload 1
invokevirtual com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.createDocument:(Z)Lorg/w3c/dom/Document;
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._document:Lorg/w3c/dom/Document;
13: aload 0
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._document:Lorg/w3c/dom/Document;
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._root:Lorg/w3c/dom/Node;
14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
0 15 1 overrideDefaultParser Z
Exceptions:
throws javax.xml.parsers.ParserConfigurationException
MethodParameters:
Name Flags
overrideDefaultParser
public void <init>(org.w3c.dom.Node, org.w3c.dom.Node, boolean);
descriptor: (Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._root:Lorg/w3c/dom/Node;
2: aload 0
aconst_null
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._document:Lorg/w3c/dom/Document;
3: aload 0
aconst_null
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nextSibling:Lorg/w3c/dom/Node;
4: aload 0
new java.util.Stack
dup
invokespecial java.util.Stack.<init>:()V
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nodeStk:Ljava/util/Stack;
5: aload 0
aconst_null
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._namespaceDecls:Ljava/util/List;
6: aload 0
aconst_null
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._lastSibling:Lorg/w3c/dom/Node;
7: aload 0
aconst_null
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.locator:Lorg/xml/sax/Locator;
8: aload 0
iconst_1
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.needToSetDocumentInfo:Z
9: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._textBuffer:Ljava/lang/StringBuilder;
10: aload 0
aconst_null
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nextSiblingCache:Lorg/w3c/dom/Node;
11: aload 0
iconst_1
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._internal:Z
12: aload 0
aload 1
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._root:Lorg/w3c/dom/Node;
13: aload 1
instanceof org.w3c.dom.Document
ifeq 16
14: aload 0
aload 1
checkcast org.w3c.dom.Document
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._document:Lorg/w3c/dom/Document;
15: goto 21
16: StackMap locals: com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM org.w3c.dom.Node org.w3c.dom.Node int
StackMap stack:
aload 1
ifnull 19
17: aload 0
aload 1
invokeinterface org.w3c.dom.Node.getOwnerDocument:()Lorg/w3c/dom/Document;
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._document:Lorg/w3c/dom/Document;
18: goto 21
19: StackMap locals:
StackMap stack:
aload 0
aload 0
iload 3
invokevirtual com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.createDocument:(Z)Lorg/w3c/dom/Document;
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._document:Lorg/w3c/dom/Document;
20: aload 0
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._document:Lorg/w3c/dom/Document;
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._root:Lorg/w3c/dom/Node;
21: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nextSibling:Lorg/w3c/dom/Node;
22: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
0 23 1 root Lorg/w3c/dom/Node;
0 23 2 nextSibling Lorg/w3c/dom/Node;
0 23 3 overrideDefaultParser Z
Exceptions:
throws javax.xml.parsers.ParserConfigurationException
MethodParameters:
Name Flags
root
nextSibling
overrideDefaultParser
public void <init>(org.w3c.dom.Node, boolean);
descriptor: (Lorg/w3c/dom/Node;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
iload 2
invokespecial com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.<init>:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
0 2 1 root Lorg/w3c/dom/Node;
0 2 2 overrideDefaultParser Z
Exceptions:
throws javax.xml.parsers.ParserConfigurationException
MethodParameters:
Name Flags
root
overrideDefaultParser
public org.w3c.dom.Node getDOM();
descriptor: ()Lorg/w3c/dom/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._root:Lorg/w3c/dom/Node;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
public void characters(char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nodeStk:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast org.w3c.dom.Node
astore 4
start local 4 3: aload 4
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._document:Lorg/w3c/dom/Document;
if_acmpeq 6
4: aload 0
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nextSibling:Lorg/w3c/dom/Node;
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nextSiblingCache:Lorg/w3c/dom/Node;
5: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._textBuffer:Ljava/lang/StringBuilder;
aload 1
iload 2
iload 3
invokevirtual java.lang.StringBuilder.append:([CII)Ljava/lang/StringBuilder;
pop
6: StackMap locals: org.w3c.dom.Node
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
0 7 1 ch [C
0 7 2 start I
0 7 3 length I
3 7 4 last Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
ch
start
length
private void appendTextNode();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._textBuffer:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
ifle 7
1: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nodeStk:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast org.w3c.dom.Node
astore 1
start local 1 2: aload 1
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._root:Lorg/w3c/dom/Node;
if_acmpne 5
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nextSiblingCache:Lorg/w3c/dom/Node;
ifnull 5
3: aload 0
aload 1
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._document:Lorg/w3c/dom/Document;
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._textBuffer:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.w3c.dom.Document.createTextNode:(Ljava/lang/String;)Lorg/w3c/dom/Text;
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nextSiblingCache:Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Node.insertBefore:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._lastSibling:Lorg/w3c/dom/Node;
4: goto 6
5: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 0
aload 1
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._document:Lorg/w3c/dom/Document;
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._textBuffer:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.w3c.dom.Document.createTextNode:(Ljava/lang/String;)Lorg/w3c/dom/Text;
invokeinterface org.w3c.dom.Node.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._lastSibling:Lorg/w3c/dom/Node;
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._textBuffer:Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
end local 1 7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
2 7 1 last Lorg/w3c/dom/Node;
public void startDocument();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nodeStk:Ljava/util/Stack;
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._root:Lorg/w3c/dom/Node;
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
public void endDocument();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nodeStk:Ljava/util/Stack;
invokevirtual java.util.Stack.pop:()Ljava/lang/Object;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
private void setDocumentInfo();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.locator:Lorg/xml/sax/Locator;
ifnonnull 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._document:Lorg/w3c/dom/Document;
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.locator:Lorg/xml/sax/Locator;
checkcast org.xml.sax.ext.Locator2
invokeinterface org.xml.sax.ext.Locator2.getXMLVersion:()Ljava/lang/String;
invokeinterface org.w3c.dom.Document.setXmlVersion:(Ljava/lang/String;)V
2: goto 4
StackMap locals:
StackMap stack: java.lang.ClassCastException
3: pop
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
Exception table:
from to target type
1 2 3 Class java.lang.ClassCastException
public void startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.appendTextNode:()V
1: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.needToSetDocumentInfo:Z
ifeq 4
2: aload 0
invokevirtual com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.setDocumentInfo:()V
3: aload 0
iconst_0
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.needToSetDocumentInfo:Z
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._document:Lorg/w3c/dom/Document;
aload 1
aload 3
invokeinterface org.w3c.dom.Document.createElementNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
astore 5
start local 5 5: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._namespaceDecls:Ljava/util/List;
ifnull 21
6: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._namespaceDecls:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 6
start local 6 7: iconst_0
istore 7
start local 7 8: goto 19
9: StackMap locals: org.w3c.dom.Element int int
StackMap stack:
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._namespaceDecls:Ljava/util/List;
iload 7
iinc 7 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 10: aload 8
ifnull 11
aload 8
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
11: StackMap locals: java.lang.String
StackMap stack:
aload 5
ldc "http://www.w3.org/2000/xmlns/"
ldc "xmlns"
12: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._namespaceDecls:Ljava/util/List;
iload 7
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
13: invokeinterface org.w3c.dom.Element.setAttributeNS:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
14: goto 18
15: StackMap locals:
StackMap stack:
aload 5
ldc "http://www.w3.org/2000/xmlns/"
new java.lang.StringBuilder
dup
ldc "xmlns:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._namespaceDecls:Ljava/util/List;
iload 7
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
17: invokeinterface org.w3c.dom.Element.setAttributeNS:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
end local 8 18: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
19: iload 7
iload 6
if_icmplt 9
end local 7 20: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._namespaceDecls:Ljava/util/List;
invokeinterface java.util.List.clear:()V
end local 6 21: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.xml.sax.Attributes.getLength:()I
istore 6
start local 6 22: iconst_0
istore 7
start local 7 23: goto 39
24: StackMap locals: int int
StackMap stack:
aload 4
iload 7
invokeinterface org.xml.sax.Attributes.getQName:(I)Ljava/lang/String;
astore 8
start local 8 25: aload 4
iload 7
invokeinterface org.xml.sax.Attributes.getURI:(I)Ljava/lang/String;
astore 9
start local 9 26: aload 4
iload 7
invokeinterface org.xml.sax.Attributes.getType:(I)Ljava/lang/String;
ifnonnull 28
27: getstatic com.sun.org.apache.xerces.internal.util.XMLSymbols.fCDATASymbol:Ljava/lang/String;
goto 29
StackMap locals: java.lang.String java.lang.String
StackMap stack:
28: aload 4
iload 7
invokeinterface org.xml.sax.Attributes.getType:(I)Ljava/lang/String;
29: StackMap locals:
StackMap stack: java.lang.String
astore 10
start local 10 30: aload 4
iload 7
invokeinterface org.xml.sax.Attributes.getLocalName:(I)Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 35
31: aload 5
aload 8
aload 4
iload 7
invokeinterface org.xml.sax.Attributes.getValue:(I)Ljava/lang/String;
invokeinterface org.w3c.dom.Element.setAttribute:(Ljava/lang/String;Ljava/lang/String;)V
32: aload 10
ldc "ID"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 38
33: aload 5
aload 8
iconst_1
invokeinterface org.w3c.dom.Element.setIdAttribute:(Ljava/lang/String;Z)V
34: goto 38
35: StackMap locals: java.lang.String
StackMap stack:
aload 5
aload 9
aload 8
aload 4
iload 7
invokeinterface org.xml.sax.Attributes.getValue:(I)Ljava/lang/String;
invokeinterface org.w3c.dom.Element.setAttributeNS:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
36: aload 10
ldc "ID"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 38
37: aload 5
aload 9
aload 4
iload 7
invokeinterface org.xml.sax.Attributes.getLocalName:(I)Ljava/lang/String;
iconst_1
invokeinterface org.w3c.dom.Element.setIdAttributeNS:(Ljava/lang/String;Ljava/lang/String;Z)V
end local 10 end local 9 end local 8 38: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
39: iload 7
iload 6
if_icmplt 24
end local 7 40: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nodeStk:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast org.w3c.dom.Node
astore 7
start local 7 41: aload 7
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._root:Lorg/w3c/dom/Node;
if_acmpne 43
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nextSibling:Lorg/w3c/dom/Node;
ifnull 43
42: aload 7
aload 5
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nextSibling:Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Node.insertBefore:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
goto 44
43: StackMap locals: com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM java.lang.String java.lang.String java.lang.String org.xml.sax.Attributes org.w3c.dom.Element int org.w3c.dom.Node
StackMap stack:
aload 7
aload 5
invokeinterface org.w3c.dom.Node.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
44: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nodeStk:Ljava/util/Stack;
aload 5
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
45: aload 0
aconst_null
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._lastSibling:Lorg/w3c/dom/Node;
46: return
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 47 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
0 47 1 namespace Ljava/lang/String;
0 47 2 localName Ljava/lang/String;
0 47 3 qName Ljava/lang/String;
0 47 4 attrs Lorg/xml/sax/Attributes;
5 47 5 tmp Lorg/w3c/dom/Element;
7 21 6 nDecls I
8 20 7 i I
10 18 8 prefix Ljava/lang/String;
22 47 6 nattrs I
23 40 7 i I
25 38 8 attQName Ljava/lang/String;
26 38 9 attURI Ljava/lang/String;
30 38 10 type Ljava/lang/String;
41 47 7 last Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
namespace
localName
qName
attrs
public void endElement(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.appendTextNode:()V
1: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nodeStk:Ljava/util/Stack;
invokevirtual java.util.Stack.pop:()Ljava/lang/Object;
pop
2: aload 0
aconst_null
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._lastSibling:Lorg/w3c/dom/Node;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
0 4 1 namespace Ljava/lang/String;
0 4 2 localName Ljava/lang/String;
0 4 3 qName Ljava/lang/String;
MethodParameters:
Name Flags
namespace
localName
qName
public void startPrefixMapping(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._namespaceDecls:Ljava/util/List;
ifnonnull 2
1: aload 0
new java.util.ArrayList
dup
iconst_2
invokespecial java.util.ArrayList.<init>:(I)V
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._namespaceDecls:Ljava/util/List;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._namespaceDecls:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._namespaceDecls:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
0 5 1 prefix Ljava/lang/String;
0 5 2 uri Ljava/lang/String;
MethodParameters:
Name Flags
prefix
uri
public void endPrefixMapping(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
0 1 1 prefix Ljava/lang/String;
MethodParameters:
Name Flags
prefix
public void ignorableWhitespace(char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
0 1 1 ch [C
0 1 2 start I
0 1 3 length I
MethodParameters:
Name Flags
ch
start
length
public void processingInstruction(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.appendTextNode:()V
1: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nodeStk:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast org.w3c.dom.Node
astore 3
start local 3 2: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._document:Lorg/w3c/dom/Document;
3: aload 1
aload 2
4: invokeinterface org.w3c.dom.Document.createProcessingInstruction:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/ProcessingInstruction;
astore 4
start local 4 5: aload 4
ifnull 10
6: aload 3
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._root:Lorg/w3c/dom/Node;
if_acmpne 8
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nextSibling:Lorg/w3c/dom/Node;
ifnull 8
7: aload 3
aload 4
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nextSibling:Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Node.insertBefore:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
goto 9
8: StackMap locals: org.w3c.dom.Node org.w3c.dom.ProcessingInstruction
StackMap stack:
aload 3
aload 4
invokeinterface org.w3c.dom.Node.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
9: StackMap locals:
StackMap stack:
aload 0
aload 4
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._lastSibling:Lorg/w3c/dom/Node;
10: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
0 11 1 target Ljava/lang/String;
0 11 2 data Ljava/lang/String;
2 11 3 last Lorg/w3c/dom/Node;
5 11 4 pi Lorg/w3c/dom/ProcessingInstruction;
MethodParameters:
Name Flags
target
data
public void setDocumentLocator(org.xml.sax.Locator);
descriptor: (Lorg/xml/sax/Locator;)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 com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.locator:Lorg/xml/sax/Locator;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
0 2 1 locator Lorg/xml/sax/Locator;
MethodParameters:
Name Flags
locator
public void skippedEntity(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void (char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.appendTextNode:()V
1: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nodeStk:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast org.w3c.dom.Node
astore 4
start local 4 2: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._document:Lorg/w3c/dom/Document;
new java.lang.String
dup
aload 1
iload 2
iload 3
invokespecial java.lang.String.<init>:([CII)V
invokeinterface org.w3c.dom.Document.createComment:(Ljava/lang/String;)Lorg/w3c/dom/Comment;
astore 5
start local 5 3: aload 5
ifnull 8
4: aload 4
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._root:Lorg/w3c/dom/Node;
if_acmpne 6
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nextSibling:Lorg/w3c/dom/Node;
ifnull 6
5: aload 4
aload 5
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._nextSibling:Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Node.insertBefore:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
goto 7
6: StackMap locals: org.w3c.dom.Node org.w3c.dom.Comment
StackMap stack:
aload 4
aload 5
invokeinterface org.w3c.dom.Node.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
7: StackMap locals:
StackMap stack:
aload 0
aload 5
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._lastSibling:Lorg/w3c/dom/Node;
8: StackMap locals:
StackMap stack:
return
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 9 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
0 9 1 ch [C
0 9 2 start I
0 9 3 length I
2 9 4 last Lorg/w3c/dom/Node;
3 9 5 comment Lorg/w3c/dom/Comment;
MethodParameters:
Name Flags
ch
start
length
public void startCDATA();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
public void endCDATA();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
public void startEntity(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void endDTD();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
public void endEntity(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void startDTD(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
0 1 1 name Ljava/lang/String;
0 1 2 publicId Ljava/lang/String;
0 1 3 systemId Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
name
publicId
systemId
private org.w3c.dom.Document createDocument(boolean);
descriptor: (Z)Lorg/w3c/dom/Document;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._factory:Ljavax/xml/parsers/DocumentBuilderFactory;
ifnonnull 5
1: aload 0
iload 1
invokestatic jdk.xml.internal.JdkXmlUtils.getDOMFactory:(Z)Ljavax/xml/parsers/DocumentBuilderFactory;
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._factory:Ljavax/xml/parsers/DocumentBuilderFactory;
2: aload 0
iconst_1
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._internal:Z
3: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._factory:Ljavax/xml/parsers/DocumentBuilderFactory;
instanceof com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
ifne 5
4: aload 0
iconst_0
putfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._internal:Z
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._internal:Z
ifeq 8
6: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._factory:Ljavax/xml/parsers/DocumentBuilderFactory;
invokevirtual javax.xml.parsers.DocumentBuilderFactory.newDocumentBuilder:()Ljavax/xml/parsers/DocumentBuilder;
invokevirtual javax.xml.parsers.DocumentBuilder.newDocument:()Lorg/w3c/dom/Document;
astore 2
start local 2 7: goto 14
end local 2 8: StackMap locals:
StackMap stack:
ldc Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
dup
astore 3
monitorenter
9: aload 0
getfield com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM._factory:Ljavax/xml/parsers/DocumentBuilderFactory;
invokevirtual javax.xml.parsers.DocumentBuilderFactory.newDocumentBuilder:()Ljavax/xml/parsers/DocumentBuilder;
invokevirtual javax.xml.parsers.DocumentBuilder.newDocument:()Lorg/w3c/dom/Document;
astore 2
start local 2 10: aload 3
monitorexit
11: goto 14
end local 2 StackMap locals: com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM int top java.lang.Class
StackMap stack: java.lang.Throwable
12: aload 3
monitorexit
13: athrow
start local 2 14: StackMap locals: com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM int org.w3c.dom.Document
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM;
0 15 1 overrideDefaultParser Z
7 8 2 doc Lorg/w3c/dom/Document;
10 12 2 doc Lorg/w3c/dom/Document;
14 15 2 doc Lorg/w3c/dom/Document;
Exception table:
from to target type
9 11 12 any
12 13 12 any
Exceptions:
throws javax.xml.parsers.ParserConfigurationException
MethodParameters:
Name Flags
overrideDefaultParser
}
SourceFile: "SAX2DOM.java"