public class com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader implements javax.xml.stream.XMLEventReader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader
super_class: java.lang.Object
{
protected javax.xml.stream.XMLStreamReader _streamReader;
descriptor: Ljavax/xml/stream/XMLStreamReader;
flags: (0x0004) ACC_PROTECTED
protected javax.xml.stream.util.XMLEventAllocator _eventAllocator;
descriptor: Ljavax/xml/stream/util/XMLEventAllocator;
flags: (0x0004) ACC_PROTECTED
private javax.xml.stream.events.XMLEvent _currentEvent;
descriptor: Ljavax/xml/stream/events/XMLEvent;
flags: (0x0002) ACC_PRIVATE
private javax.xml.stream.events.XMLEvent[] events;
descriptor: [Ljavax/xml/stream/events/XMLEvent;
flags: (0x0002) ACC_PRIVATE
private int size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int currentIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean hasEvent;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(javax.xml.stream.XMLStreamReader);
descriptor: (Ljavax/xml/stream/XMLStreamReader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_3
anewarray javax.xml.stream.events.XMLEvent
putfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.events:[Ljavax/xml/stream/events/XMLEvent;
2: aload 0
iconst_3
putfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.size:I
3: aload 0
iconst_0
putfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.currentIndex:I
4: aload 0
iconst_0
putfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.hasEvent:Z
5: aload 0
aload 1
putfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._streamReader:Ljavax/xml/stream/XMLStreamReader;
6: aload 0
aload 1
ldc "javax.xml.stream.allocator"
invokeinterface javax.xml.stream.XMLStreamReader.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
checkcast javax.xml.stream.util.XMLEventAllocator
putfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._eventAllocator:Ljavax/xml/stream/util/XMLEventAllocator;
7: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._eventAllocator:Ljavax/xml/stream/util/XMLEventAllocator;
ifnonnull 9
8: aload 0
new com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase
dup
invokespecial com.sun.xml.internal.fastinfoset.stax.events.StAXEventAllocatorBase.<init>:()V
putfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._eventAllocator:Ljavax/xml/stream/util/XMLEventAllocator;
9: StackMap locals: com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader javax.xml.stream.XMLStreamReader
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._streamReader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.hasNext:()Z
ifeq 15
10: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._streamReader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.next:()I
pop
11: aload 0
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._eventAllocator:Ljavax/xml/stream/util/XMLEventAllocator;
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._streamReader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.util.XMLEventAllocator.allocate:(Ljavax/xml/stream/XMLStreamReader;)Ljavax/xml/stream/events/XMLEvent;
putfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._currentEvent:Ljavax/xml/stream/events/XMLEvent;
12: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.events:[Ljavax/xml/stream/events/XMLEvent;
iconst_0
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._currentEvent:Ljavax/xml/stream/events/XMLEvent;
aastore
13: aload 0
iconst_1
putfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.hasEvent:Z
14: goto 16
15: StackMap locals:
StackMap stack:
new javax.xml.stream.XMLStreamException
dup
invokestatic com.sun.xml.internal.fastinfoset.CommonResourceBundle.getInstance:()Lcom/sun/xml/internal/fastinfoset/CommonResourceBundle;
ldc "message.noElement"
invokevirtual com.sun.xml.internal.fastinfoset.CommonResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.xml.stream.XMLStreamException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventReader;
0 17 1 reader Ljavax/xml/stream/XMLStreamReader;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
reader
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.hasEvent:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventReader;
public javax.xml.stream.events.XMLEvent nextEvent();
descriptor: ()Ljavax/xml/stream/events/XMLEvent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.hasEvent:Z
ifeq 16
3: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.events:[Ljavax/xml/stream/events/XMLEvent;
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.currentIndex:I
aaload
astore 1
4: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.events:[Ljavax/xml/stream/events/XMLEvent;
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.currentIndex:I
aconst_null
aastore
5: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._streamReader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.hasNext:()Z
ifeq 13
6: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._streamReader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.next:()I
pop
7: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._eventAllocator:Ljavax/xml/stream/util/XMLEventAllocator;
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._streamReader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.util.XMLEventAllocator.allocate:(Ljavax/xml/stream/XMLStreamReader;)Ljavax/xml/stream/events/XMLEvent;
astore 2
8: aload 0
dup
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.currentIndex:I
iconst_1
iadd
dup_x1
putfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.currentIndex:I
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.size:I
if_icmpne 10
9: aload 0
iconst_0
putfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.currentIndex:I
10: StackMap locals: javax.xml.stream.events.XMLEvent javax.xml.stream.events.XMLEvent
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.events:[Ljavax/xml/stream/events/XMLEvent;
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.currentIndex:I
aload 2
aastore
11: aload 0
iconst_1
putfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.hasEvent:Z
12: goto 15
13: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._currentEvent:Ljavax/xml/stream/events/XMLEvent;
14: aload 0
iconst_0
putfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.hasEvent:Z
15: StackMap locals:
StackMap stack:
aload 1
areturn
16: StackMap locals:
StackMap stack:
new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventReader;
1 17 1 event Ljavax/xml/stream/events/XMLEvent;
2 17 2 nextEvent Ljavax/xml/stream/events/XMLEvent;
Exceptions:
throws javax.xml.stream.XMLStreamException
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventReader;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._streamReader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventReader;
Exceptions:
throws javax.xml.stream.XMLStreamException
public java.lang.String getElementText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.hasEvent:Z
ifne 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._currentEvent:Ljavax/xml/stream/events/XMLEvent;
invokeinterface javax.xml.stream.events.XMLEvent.isStartElement:()Z
ifne 5
3: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._streamReader:Ljavax/xml/stream/XMLStreamReader;
checkcast com.sun.xml.internal.fastinfoset.stax.StAXDocumentParser
astore 1
start local 1 4: aload 1
iconst_1
invokevirtual com.sun.xml.internal.fastinfoset.stax.StAXDocumentParser.getElementText:(Z)Ljava/lang/String;
areturn
end local 1 5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._streamReader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.XMLStreamReader.getElementText:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventReader;
4 5 1 parser Lcom/sun/xml/internal/fastinfoset/stax/StAXDocumentParser;
Exceptions:
throws javax.xml.stream.XMLStreamException
public java.lang.Object getProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._streamReader:Ljavax/xml/stream/XMLStreamReader;
aload 1
invokeinterface javax.xml.stream.XMLStreamReader.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventReader;
0 1 1 name Ljava/lang/String;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
name
public javax.xml.stream.events.XMLEvent nextTag();
descriptor: ()Ljavax/xml/stream/events/XMLEvent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.hasEvent:Z
ifne 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._streamReader:Ljavax/xml/stream/XMLStreamReader;
checkcast com.sun.xml.internal.fastinfoset.stax.StAXDocumentParser
astore 1
start local 1 3: aload 1
iconst_1
invokevirtual com.sun.xml.internal.fastinfoset.stax.StAXDocumentParser.nextTag:(Z)I
pop
4: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._eventAllocator:Ljavax/xml/stream/util/XMLEventAllocator;
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._streamReader:Ljavax/xml/stream/XMLStreamReader;
invokeinterface javax.xml.stream.util.XMLEventAllocator.allocate:(Ljavax/xml/stream/XMLStreamReader;)Ljavax/xml/stream/events/XMLEvent;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventReader;
3 5 1 parser Lcom/sun/xml/internal/fastinfoset/stax/StAXDocumentParser;
Exceptions:
throws javax.xml.stream.XMLStreamException
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.nextEvent:()Ljavax/xml/stream/events/XMLEvent;
1: areturn
2: StackMap locals:
StackMap stack: javax.xml.stream.XMLStreamException
pop
3: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventReader;
Exception table:
from to target type
0 1 2 Class javax.xml.stream.XMLStreamException
public javax.xml.stream.events.XMLEvent peek();
descriptor: ()Ljavax/xml/stream/events/XMLEvent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.hasEvent:Z
ifne 2
1: new javax.xml.stream.XMLStreamException
dup
invokestatic com.sun.xml.internal.fastinfoset.CommonResourceBundle.getInstance:()Lcom/sun/xml/internal/fastinfoset/CommonResourceBundle;
ldc "message.noElement"
invokevirtual com.sun.xml.internal.fastinfoset.CommonResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.xml.stream.XMLStreamException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.events:[Ljavax/xml/stream/events/XMLEvent;
aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader.currentIndex:I
aaload
putfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._currentEvent:Ljavax/xml/stream/events/XMLEvent;
3: aload 0
getfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._currentEvent:Ljavax/xml/stream/events/XMLEvent;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventReader;
Exceptions:
throws javax.xml.stream.XMLStreamException
public void setAllocator(javax.xml.stream.util.XMLEventAllocator);
descriptor: (Ljavax/xml/stream/util/XMLEventAllocator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
invokestatic com.sun.xml.internal.fastinfoset.CommonResourceBundle.getInstance:()Lcom/sun/xml/internal/fastinfoset/CommonResourceBundle;
ldc "message.nullXMLEventAllocator"
invokevirtual com.sun.xml.internal.fastinfoset.CommonResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.xml.internal.fastinfoset.stax.events.StAXEventReader._eventAllocator:Ljavax/xml/stream/util/XMLEventAllocator;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/fastinfoset/stax/events/StAXEventReader;
0 4 1 allocator Ljavax/xml/stream/util/XMLEventAllocator;
MethodParameters:
Name Flags
allocator
}
SourceFile: "StAXEventReader.java"