public class com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader
super_class: java.lang.Object
{
org.xml.sax.ContentHandler _handler;
descriptor: Lorg/xml/sax/ContentHandler;
flags: (0x0000)
org.xml.sax.ext.LexicalHandler _lexicalHandler;
descriptor: Lorg/xml/sax/ext/LexicalHandler;
flags: (0x0000)
javax.xml.stream.XMLStreamReader _reader;
descriptor: Ljavax/xml/stream/XMLStreamReader;
flags: (0x0000)
public void <init>(javax.xml.stream.XMLStreamReader, org.xml.sax.ContentHandler);
descriptor: (Ljavax/xml/stream/XMLStreamReader;Lorg/xml/sax/ContentHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._handler:Lorg/xml/sax/ContentHandler;
2: aload 0
aload 1
putfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/fastinfoset/tools/StAX2SAXReader;
0 4 1 reader Ljavax/xml/stream/XMLStreamReader;
0 4 2 handler Lorg/xml/sax/ContentHandler;
MethodParameters:
Name Flags
reader
handler
public void <init>(javax.xml.stream.XMLStreamReader);
descriptor: (Ljavax/xml/stream/XMLStreamReader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/fastinfoset/tools/StAX2SAXReader;
0 3 1 reader Ljavax/xml/stream/XMLStreamReader;
MethodParameters:
Name Flags
reader
public void setContentHandler(org.xml.sax.ContentHandler);
descriptor: (Lorg/xml/sax/ContentHandler;)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.xml.internal.fastinfoset.tools.StAX2SAXReader._handler:Lorg/xml/sax/ContentHandler;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/fastinfoset/tools/StAX2SAXReader;
0 2 1 handler Lorg/xml/sax/ContentHandler;
MethodParameters:
Name Flags
handler
public void setLexicalHandler(org.xml.sax.ext.LexicalHandler);
descriptor: (Lorg/xml/sax/ext/LexicalHandler;)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.xml.internal.fastinfoset.tools.StAX2SAXReader._lexicalHandler:Lorg/xml/sax/ext/LexicalHandler;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/fastinfoset/tools/StAX2SAXReader;
0 2 1 lexicalHandler Lorg/xml/sax/ext/LexicalHandler;
MethodParameters:
Name Flags
lexicalHandler
public void adapt();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=11, args_size=1
start local 0 0: new org.xml.sax.helpers.AttributesImpl
dup
invokespecial org.xml.sax.helpers.AttributesImpl.<init>:()V
astore 4
start local 4 1: aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._handler:Lorg/xml/sax/ContentHandler;
invokeinterface org.xml.sax.ContentHandler.startDocument:()V
2: goto 66
3: StackMap locals: com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader top top top org.xml.sax.helpers.AttributesImpl
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.next:()I
istore 7
start local 7 4: iload 7
tableswitch { // 1 - 8
1: 5
2: 42
3: 62
4: 58
5: 60
6: 65
7: 65
8: 64
default: 65
}
5: StackMap locals: com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader top top top org.xml.sax.helpers.AttributesImpl top top int
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.getNamespaceCount:()I
istore 5
start local 5 6: iconst_0
istore 8
start local 8 7: goto 12
8: StackMap locals: com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader top top top org.xml.sax.helpers.AttributesImpl int top int int
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._handler:Lorg/xml/sax/ContentHandler;
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
iload 8
invokeinterface javax.xml.stream.XMLStreamReader.getNamespacePrefix:(I)Ljava/lang/String;
9: aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
iload 8
invokeinterface javax.xml.stream.XMLStreamReader.getNamespaceURI:(I)Ljava/lang/String;
10: invokeinterface org.xml.sax.ContentHandler.startPrefixMapping:(Ljava/lang/String;Ljava/lang/String;)V
11: iinc 8 1
StackMap locals:
StackMap stack:
12: iload 8
iload 5
if_icmplt 8
end local 8 13: aload 4
invokevirtual org.xml.sax.helpers.AttributesImpl.clear:()V
14: aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.getAttributeCount:()I
istore 6
start local 6 15: iconst_0
istore 8
start local 8 16: goto 30
17: StackMap locals: com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader top top top org.xml.sax.helpers.AttributesImpl int int int int
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
iload 8
invokeinterface javax.xml.stream.XMLStreamReader.getAttributeName:(I)Ljavax/xml/namespace/QName;
astore 9
start local 9 18: aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
iload 8
invokeinterface javax.xml.stream.XMLStreamReader.getAttributePrefix:(I)Ljava/lang/String;
astore 10
start local 10 19: aload 10
ifnull 20
aload 10
ldc ""
if_acmpne 22
20: StackMap locals: javax.xml.namespace.QName java.lang.String
StackMap stack:
aload 9
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
astore 10
21: goto 23
22: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 10
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 9
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 10
23: StackMap locals:
StackMap stack:
aload 4
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
iload 8
invokeinterface javax.xml.stream.XMLStreamReader.getAttributeNamespace:(I)Ljava/lang/String;
24: aload 9
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
25: aload 10
26: aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
iload 8
invokeinterface javax.xml.stream.XMLStreamReader.getAttributeType:(I)Ljava/lang/String;
27: aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
iload 8
invokeinterface javax.xml.stream.XMLStreamReader.getAttributeValue:(I)Ljava/lang/String;
28: invokevirtual org.xml.sax.helpers.AttributesImpl.addAttribute:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
end local 10 end local 9 29: iinc 8 1
StackMap locals:
StackMap stack:
30: iload 8
iload 6
if_icmplt 17
end local 8 31: aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.getName:()Ljavax/xml/namespace/QName;
astore 1
start local 1 32: aload 1
invokevirtual javax.xml.namespace.QName.getPrefix:()Ljava/lang/String;
astore 2
start local 2 33: aload 1
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
astore 3
start local 3 34: aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._handler:Lorg/xml/sax/ContentHandler;
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.getNamespaceURI:()Ljava/lang/String;
35: aload 3
36: aload 2
invokevirtual java.lang.String.length:()I
ifle 38
37: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 39
StackMap locals: com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader javax.xml.namespace.QName java.lang.String java.lang.String org.xml.sax.helpers.AttributesImpl int int int
StackMap stack: org.xml.sax.ContentHandler java.lang.String java.lang.String
38: aload 3
39: StackMap locals: com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader javax.xml.namespace.QName java.lang.String java.lang.String org.xml.sax.helpers.AttributesImpl int int int
StackMap stack: org.xml.sax.ContentHandler java.lang.String java.lang.String java.lang.String
aload 4
40: invokeinterface org.xml.sax.ContentHandler.startElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
41: goto 66
end local 6 end local 5 end local 3 end local 2 end local 1 42: StackMap locals: com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader top top top org.xml.sax.helpers.AttributesImpl top top int
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.getName:()Ljavax/xml/namespace/QName;
astore 1
start local 1 43: aload 1
invokevirtual javax.xml.namespace.QName.getPrefix:()Ljava/lang/String;
astore 2
start local 2 44: aload 1
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
astore 3
start local 3 45: aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._handler:Lorg/xml/sax/ContentHandler;
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.getNamespaceURI:()Ljava/lang/String;
46: aload 3
47: aload 2
invokevirtual java.lang.String.length:()I
ifle 49
48: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 50
StackMap locals: com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader javax.xml.namespace.QName java.lang.String java.lang.String org.xml.sax.helpers.AttributesImpl top top int
StackMap stack: org.xml.sax.ContentHandler java.lang.String java.lang.String
49: aload 3
50: StackMap locals: com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader javax.xml.namespace.QName java.lang.String java.lang.String org.xml.sax.helpers.AttributesImpl top top int
StackMap stack: org.xml.sax.ContentHandler java.lang.String java.lang.String java.lang.String
invokeinterface org.xml.sax.ContentHandler.endElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
51: aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.getNamespaceCount:()I
istore 5
start local 5 52: iconst_0
istore 8
start local 8 53: goto 56
54: StackMap locals: com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader javax.xml.namespace.QName java.lang.String java.lang.String org.xml.sax.helpers.AttributesImpl int top int int
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._handler:Lorg/xml/sax/ContentHandler;
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
iload 8
invokeinterface javax.xml.stream.XMLStreamReader.getNamespacePrefix:(I)Ljava/lang/String;
invokeinterface org.xml.sax.ContentHandler.endPrefixMapping:(Ljava/lang/String;)V
55: iinc 8 1
StackMap locals:
StackMap stack:
56: iload 8
iload 5
if_icmplt 54
end local 8 57: goto 66
end local 5 end local 3 end local 2 end local 1 58: StackMap locals: com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader top top top org.xml.sax.helpers.AttributesImpl top top int
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._handler:Lorg/xml/sax/ContentHandler;
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.getTextCharacters:()[C
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.getTextStart:()I
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.getTextLength:()I
invokeinterface org.xml.sax.ContentHandler.characters:([CII)V
59: goto 66
60: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._lexicalHandler:Lorg/xml/sax/ext/LexicalHandler;
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.getTextCharacters:()[C
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.getTextStart:()I
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.getTextLength:()I
invokeinterface org.xml.sax.ext.LexicalHandler.comment:([CII)V
61: goto 66
62: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._handler:Lorg/xml/sax/ContentHandler;
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.getPITarget:()Ljava/lang/String;
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.getPIData:()Ljava/lang/String;
invokeinterface org.xml.sax.ContentHandler.processingInstruction:(Ljava/lang/String;Ljava/lang/String;)V
63: goto 66
64: StackMap locals:
StackMap stack:
goto 66
65: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
invokestatic com.sun.xml.internal.fastinfoset.CommonResourceBundle.getInstance:()Lcom/sun/xml/internal/fastinfoset/CommonResourceBundle;
ldc "message.StAX2SAXReader"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 7
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual com.sun.xml.internal.fastinfoset.CommonResourceBundle.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 7 66: StackMap locals: com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader top top top org.xml.sax.helpers.AttributesImpl
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._reader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.hasNext:()Z
ifne 3
67: goto 71
68: StackMap locals:
StackMap stack: javax.xml.stream.XMLStreamException
astore 7
start local 7 69: aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._handler:Lorg/xml/sax/ContentHandler;
invokeinterface org.xml.sax.ContentHandler.endDocument:()V
70: aload 7
athrow
end local 7 71: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.tools.StAX2SAXReader._handler:Lorg/xml/sax/ContentHandler;
invokeinterface org.xml.sax.ContentHandler.endDocument:()V
72: return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 73 0 this Lcom/sun/xml/internal/fastinfoset/tools/StAX2SAXReader;
32 42 1 qname Ljavax/xml/namespace/QName;
43 58 1 qname Ljavax/xml/namespace/QName;
33 42 2 prefix Ljava/lang/String;
44 58 2 prefix Ljava/lang/String;
34 42 3 localPart Ljava/lang/String;
45 58 3 localPart Ljava/lang/String;
1 73 4 attrs Lorg/xml/sax/helpers/AttributesImpl;
6 42 5 nsc I
52 58 5 nsc I
15 42 6 nat I
4 66 7 event I
7 13 8 i I
16 31 8 i I
18 29 9 q Ljavax/xml/namespace/QName;
19 29 10 qName Ljava/lang/String;
53 57 8 i I
69 71 7 e Ljavax/xml/stream/XMLStreamException;
Exception table:
from to target type
2 67 68 Class javax.xml.stream.XMLStreamException
Exceptions:
throws javax.xml.stream.XMLStreamException, org.xml.sax.SAXException
}
SourceFile: "StAX2SAXReader.java"