public class com.ctc.wstx.evt.WstxEventReader implements org.codehaus.stax2.XMLEventReader2, javax.xml.stream.XMLStreamConstants
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.ctc.wstx.evt.WstxEventReader
super_class: java.lang.Object
{
protected static final int STATE_INITIAL;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 1
protected static final int STATE_END_OF_INPUT;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 2
protected static final int STATE_CONTENT;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 3
protected static final int ERR_GETELEMTEXT_NOT_START_ELEM;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 1
protected static final int ERR_GETELEMTEXT_NON_TEXT_EVENT;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 2
protected static final int ERR_NEXTTAG_NON_WS_TEXT;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 3
protected static final int ERR_NEXTTAG_WRONG_TYPE;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 4
protected final javax.xml.stream.util.XMLEventAllocator mAllocator;
descriptor: Ljavax/xml/stream/util/XMLEventAllocator;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.codehaus.stax2.XMLStreamReader2 mReader;
descriptor: Lorg/codehaus/stax2/XMLStreamReader2;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected javax.xml.stream.events.XMLEvent mPeekedEvent;
descriptor: Ljavax/xml/stream/events/XMLEvent;
flags: (0x0004) ACC_PROTECTED
protected int mState;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int mPrePeekEvent;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected final boolean mCfgMultiDocMode;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public void <init>(javax.xml.stream.util.XMLEventAllocator, org.codehaus.stax2.XMLStreamReader2);
descriptor: (Ljavax/xml/stream/util/XMLEventAllocator;Lorg/codehaus/stax2/XMLStreamReader2;)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
aconst_null
putfield com.ctc.wstx.evt.WstxEventReader.mPeekedEvent:Ljavax/xml/stream/events/XMLEvent;
2: aload 0
iconst_1
putfield com.ctc.wstx.evt.WstxEventReader.mState:I
3: aload 0
bipush 7
putfield com.ctc.wstx.evt.WstxEventReader.mPrePeekEvent:I
4: aload 0
aload 1
putfield com.ctc.wstx.evt.WstxEventReader.mAllocator:Ljavax/xml/stream/util/XMLEventAllocator;
5: aload 0
aload 2
putfield com.ctc.wstx.evt.WstxEventReader.mReader:Lorg/codehaus/stax2/XMLStreamReader2;
6: aload 0
aload 2
instanceof com.ctc.wstx.sr.StreamScanner
ifeq 8
7: aload 2
checkcast com.ctc.wstx.sr.StreamScanner
invokevirtual com.ctc.wstx.sr.StreamScanner.getConfig:()Lcom/ctc/wstx/api/ReaderConfig;
invokevirtual com.ctc.wstx.api.ReaderConfig.inputParsingModeDocuments:()Z
ifeq 8
iconst_1
goto 9
StackMap locals: com.ctc.wstx.evt.WstxEventReader javax.xml.stream.util.XMLEventAllocator org.codehaus.stax2.XMLStreamReader2
StackMap stack: com.ctc.wstx.evt.WstxEventReader
8: iconst_0
9: StackMap locals: com.ctc.wstx.evt.WstxEventReader javax.xml.stream.util.XMLEventAllocator org.codehaus.stax2.XMLStreamReader2
StackMap stack: com.ctc.wstx.evt.WstxEventReader int
putfield com.ctc.wstx.evt.WstxEventReader.mCfgMultiDocMode:Z
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/ctc/wstx/evt/WstxEventReader;
0 11 1 a Ljavax/xml/stream/util/XMLEventAllocator;
0 11 2 r Lorg/codehaus/stax2/XMLStreamReader2;
MethodParameters:
Name Flags
a
r
public boolean isPropertySupported(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.ctc.wstx.evt.WstxEventReader.getStreamReader:()Ljavax/xml/stream/XMLStreamReader;
checkcast org.codehaus.stax2.XMLStreamReader2
aload 1
invokeinterface org.codehaus.stax2.XMLStreamReader2.isPropertySupported:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/evt/WstxEventReader;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public boolean setProperty(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.ctc.wstx.evt.WstxEventReader.getStreamReader:()Ljavax/xml/stream/XMLStreamReader;
checkcast org.codehaus.stax2.XMLStreamReader2
aload 1
aload 2
invokeinterface org.codehaus.stax2.XMLStreamReader2.setProperty:(Ljava/lang/String;Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/evt/WstxEventReader;
0 1 1 name Ljava/lang/String;
0 1 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
name
value
protected java.lang.String getErrorDesc(int, int);
descriptor: (II)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
tableswitch { // 1 - 4
1: 1
2: 2
3: 3
4: 4
default: 5
}
1: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
getstatic com.ctc.wstx.cfg.ErrorConsts.ERR_STATE_NOT_STELEM:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ", got "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokestatic com.ctc.wstx.cfg.ErrorConsts.tokenTypeDesc:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Expected a text token, got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokestatic com.ctc.wstx.cfg.ErrorConsts.tokenTypeDesc:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
3: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Only all-whitespace CHARACTERS/CDATA (or SPACE) allowed for nextTag(), got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokestatic com.ctc.wstx.cfg.ErrorConsts.tokenTypeDesc:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokestatic com.ctc.wstx.cfg.ErrorConsts.tokenTypeDesc:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", instead of START_ELEMENT, END_ELEMENT or SPACE"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/ctc/wstx/evt/WstxEventReader;
0 6 1 errorType I
0 6 2 currEvent I
MethodParameters:
Name Flags
errorType
currEvent
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.ctc.wstx.evt.WstxEventReader.mReader:Lorg/codehaus/stax2/XMLStreamReader2;
invokeinterface org.codehaus.stax2.XMLStreamReader2.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/evt/WstxEventReader;
Exceptions:
throws javax.xml.stream.XMLStreamException
public java.lang.String getElementText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mPeekedEvent:Ljavax/xml/stream/events/XMLEvent;
ifnonnull 2
1: aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mReader:Lorg/codehaus/stax2/XMLStreamReader2;
invokeinterface org.codehaus.stax2.XMLStreamReader2.getElementText:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mPeekedEvent:Ljavax/xml/stream/events/XMLEvent;
astore 1
start local 1 3: aload 0
aconst_null
putfield com.ctc.wstx.evt.WstxEventReader.mPeekedEvent:Ljavax/xml/stream/events/XMLEvent;
4: aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mPrePeekEvent:I
iconst_1
if_icmpeq 6
5: aload 0
aload 0
iconst_1
aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mPrePeekEvent:I
invokevirtual com.ctc.wstx.evt.WstxEventReader.findErrorDesc:(II)Ljava/lang/String;
invokevirtual com.ctc.wstx.evt.WstxEventReader.reportProblem:(Ljava/lang/String;)V
6: StackMap locals: javax.xml.stream.events.XMLEvent
StackMap stack:
aconst_null
astore 2
start local 2 7: aconst_null
astore 3
start local 3 8: StackMap locals: java.lang.String java.lang.StringBuffer
StackMap stack:
aload 1
invokeinterface javax.xml.stream.events.XMLEvent.isEndElement:()Z
ifeq 10
9: goto 24
10: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.xml.stream.events.XMLEvent.getEventType:()I
istore 4
start local 4 11: iload 4
iconst_5
if_icmpeq 23
iload 4
iconst_3
if_icmpne 13
12: goto 23
13: StackMap locals: int
StackMap stack:
aload 1
invokeinterface javax.xml.stream.events.XMLEvent.isCharacters:()Z
ifne 15
14: aload 0
aload 0
iconst_2
iload 4
invokevirtual com.ctc.wstx.evt.WstxEventReader.findErrorDesc:(II)Ljava/lang/String;
invokevirtual com.ctc.wstx.evt.WstxEventReader.reportProblem:(Ljava/lang/String;)V
15: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.xml.stream.events.XMLEvent.asCharacters:()Ljavax/xml/stream/events/Characters;
invokeinterface javax.xml.stream.events.Characters.getData:()Ljava/lang/String;
astore 5
start local 5 16: aload 2
ifnonnull 19
17: aload 5
astore 2
18: goto 23
19: StackMap locals: java.lang.String
StackMap stack:
aload 3
ifnonnull 22
20: new java.lang.StringBuffer
dup
aload 2
invokevirtual java.lang.String.length:()I
aload 5
invokevirtual java.lang.String.length:()I
iadd
invokespecial java.lang.StringBuffer.<init>:(I)V
astore 3
21: aload 3
aload 2
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
22: StackMap locals:
StackMap stack:
aload 3
aload 5
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
end local 5 end local 4 23: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.ctc.wstx.evt.WstxEventReader.nextEvent:()Ljavax/xml/stream/events/XMLEvent;
astore 1
goto 8
24: StackMap locals:
StackMap stack:
aload 3
ifnull 26
25: aload 3
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
26: StackMap locals:
StackMap stack:
aload 2
ifnonnull 27
ldc ""
goto 28
StackMap locals:
StackMap stack:
27: aload 2
StackMap locals:
StackMap stack: java.lang.String
28: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/ctc/wstx/evt/WstxEventReader;
3 29 1 evt Ljavax/xml/stream/events/XMLEvent;
7 29 2 str Ljava/lang/String;
8 29 3 sb Ljava/lang/StringBuffer;
11 23 4 type I
16 23 5 curr Ljava/lang/String;
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.ctc.wstx.evt.WstxEventReader.mReader:Lorg/codehaus/stax2/XMLStreamReader2;
aload 1
invokeinterface org.codehaus.stax2.XMLStreamReader2.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/ctc/wstx/evt/WstxEventReader;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mState:I
iconst_2
if_icmpeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/evt/WstxEventReader;
public javax.xml.stream.events.XMLEvent nextEvent();
descriptor: ()Ljavax/xml/stream/events/XMLEvent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mState:I
iconst_2
if_icmpne 3
1: aload 0
invokevirtual com.ctc.wstx.evt.WstxEventReader.throwEndOfInput:()V
2: goto 6
StackMap locals:
StackMap stack:
3: aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mState:I
iconst_1
if_icmpne 6
4: aload 0
iconst_3
putfield com.ctc.wstx.evt.WstxEventReader.mState:I
5: aload 0
invokevirtual com.ctc.wstx.evt.WstxEventReader.createStartDocumentEvent:()Ljavax/xml/stream/events/XMLEvent;
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mPeekedEvent:Ljavax/xml/stream/events/XMLEvent;
ifnull 12
7: aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mPeekedEvent:Ljavax/xml/stream/events/XMLEvent;
astore 1
start local 1 8: aload 0
aconst_null
putfield com.ctc.wstx.evt.WstxEventReader.mPeekedEvent:Ljavax/xml/stream/events/XMLEvent;
9: aload 1
invokeinterface javax.xml.stream.events.XMLEvent.isEndDocument:()Z
ifeq 11
10: aload 0
invokevirtual com.ctc.wstx.evt.WstxEventReader.updateStateEndDocument:()V
11: StackMap locals: javax.xml.stream.events.XMLEvent
StackMap stack:
aload 1
areturn
end local 1 12: StackMap locals:
StackMap stack:
aload 0
iconst_1
aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mReader:Lorg/codehaus/stax2/XMLStreamReader2;
invokeinterface org.codehaus.stax2.XMLStreamReader2.next:()I
invokevirtual com.ctc.wstx.evt.WstxEventReader.createNextEvent:(ZI)Ljavax/xml/stream/events/XMLEvent;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/ctc/wstx/evt/WstxEventReader;
8 12 1 evt Ljavax/xml/stream/events/XMLEvent;
Exceptions:
throws javax.xml.stream.XMLStreamException
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.ctc.wstx.evt.WstxEventReader.nextEvent:()Ljavax/xml/stream/events/XMLEvent;
1: areturn
2: StackMap locals:
StackMap stack: javax.xml.stream.XMLStreamException
astore 1
start local 1 3: aload 0
aload 1
invokevirtual com.ctc.wstx.evt.WstxEventReader.throwUnchecked:(Ljavax/xml/stream/XMLStreamException;)V
4: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/ctc/wstx/evt/WstxEventReader;
3 5 1 sex Ljavax/xml/stream/XMLStreamException;
Exception table:
from to target type
0 1 2 Class javax.xml.stream.XMLStreamException
public javax.xml.stream.events.XMLEvent nextTag();
descriptor: ()Ljavax/xml/stream/events/XMLEvent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mPeekedEvent:Ljavax/xml/stream/events/XMLEvent;
ifnull 16
1: aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mPeekedEvent:Ljavax/xml/stream/events/XMLEvent;
astore 1
start local 1 2: aload 0
aconst_null
putfield com.ctc.wstx.evt.WstxEventReader.mPeekedEvent:Ljavax/xml/stream/events/XMLEvent;
3: aload 1
invokeinterface javax.xml.stream.events.XMLEvent.getEventType:()I
istore 2
start local 2 4: iload 2
tableswitch { // 1 - 12
1: 13
2: 13
3: 8
4: 9
5: 8
6: 7
7: 6
8: 5
9: 14
10: 14
11: 14
12: 9
default: 14
}
5: StackMap locals: javax.xml.stream.events.XMLEvent int
StackMap stack:
aconst_null
areturn
6: StackMap locals:
StackMap stack:
goto 18
7: StackMap locals:
StackMap stack:
goto 18
8: StackMap locals:
StackMap stack:
goto 18
9: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.stream.events.Characters
invokeinterface javax.xml.stream.events.Characters.isWhiteSpace:()Z
ifeq 11
10: goto 18
11: StackMap locals:
StackMap stack:
aload 0
aload 0
iconst_3
iload 2
invokevirtual com.ctc.wstx.evt.WstxEventReader.findErrorDesc:(II)Ljava/lang/String;
invokevirtual com.ctc.wstx.evt.WstxEventReader.reportProblem:(Ljava/lang/String;)V
12: goto 18
13: StackMap locals:
StackMap stack:
aload 1
areturn
14: StackMap locals:
StackMap stack:
aload 0
aload 0
iconst_4
iload 2
invokevirtual com.ctc.wstx.evt.WstxEventReader.findErrorDesc:(II)Ljava/lang/String;
invokevirtual com.ctc.wstx.evt.WstxEventReader.reportProblem:(Ljava/lang/String;)V
end local 2 end local 1 15: goto 18
16: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mState:I
iconst_1
if_icmpne 18
17: aload 0
iconst_3
putfield com.ctc.wstx.evt.WstxEventReader.mState:I
18: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mReader:Lorg/codehaus/stax2/XMLStreamReader2;
invokeinterface org.codehaus.stax2.XMLStreamReader2.next:()I
istore 1
start local 1 19: iload 1
tableswitch { // 1 - 12
1: 26
2: 26
3: 21
4: 22
5: 21
6: 21
7: 27
8: 20
9: 27
10: 27
11: 27
12: 22
default: 27
}
20: StackMap locals: int
StackMap stack:
aconst_null
areturn
21: StackMap locals:
StackMap stack:
goto 18
22: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mReader:Lorg/codehaus/stax2/XMLStreamReader2;
invokeinterface org.codehaus.stax2.XMLStreamReader2.isWhiteSpace:()Z
ifeq 24
23: goto 18
24: StackMap locals:
StackMap stack:
aload 0
aload 0
iconst_3
iload 1
invokevirtual com.ctc.wstx.evt.WstxEventReader.findErrorDesc:(II)Ljava/lang/String;
invokevirtual com.ctc.wstx.evt.WstxEventReader.reportProblem:(Ljava/lang/String;)V
25: goto 18
26: StackMap locals:
StackMap stack:
aload 0
iconst_0
iload 1
invokevirtual com.ctc.wstx.evt.WstxEventReader.createNextEvent:(ZI)Ljavax/xml/stream/events/XMLEvent;
areturn
27: StackMap locals:
StackMap stack:
aload 0
aload 0
iconst_4
iload 1
invokevirtual com.ctc.wstx.evt.WstxEventReader.findErrorDesc:(II)Ljava/lang/String;
invokevirtual com.ctc.wstx.evt.WstxEventReader.reportProblem:(Ljava/lang/String;)V
end local 1 28: goto 18
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/ctc/wstx/evt/WstxEventReader;
2 15 1 evt Ljavax/xml/stream/events/XMLEvent;
4 15 2 type I
19 28 1 next I
Exceptions:
throws 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.ctc.wstx.evt.WstxEventReader.mPeekedEvent:Ljavax/xml/stream/events/XMLEvent;
ifnonnull 10
1: aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mState:I
iconst_2
if_icmpne 3
2: aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mState:I
iconst_1
if_icmpne 8
4: aload 0
bipush 7
putfield com.ctc.wstx.evt.WstxEventReader.mPrePeekEvent:I
5: aload 0
aload 0
invokevirtual com.ctc.wstx.evt.WstxEventReader.createStartDocumentEvent:()Ljavax/xml/stream/events/XMLEvent;
putfield com.ctc.wstx.evt.WstxEventReader.mPeekedEvent:Ljavax/xml/stream/events/XMLEvent;
6: aload 0
iconst_3
putfield com.ctc.wstx.evt.WstxEventReader.mState:I
7: goto 10
8: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mReader:Lorg/codehaus/stax2/XMLStreamReader2;
invokeinterface org.codehaus.stax2.XMLStreamReader2.getEventType:()I
putfield com.ctc.wstx.evt.WstxEventReader.mPrePeekEvent:I
9: aload 0
aload 0
iconst_0
aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mReader:Lorg/codehaus/stax2/XMLStreamReader2;
invokeinterface org.codehaus.stax2.XMLStreamReader2.next:()I
invokevirtual com.ctc.wstx.evt.WstxEventReader.createNextEvent:(ZI)Ljavax/xml/stream/events/XMLEvent;
putfield com.ctc.wstx.evt.WstxEventReader.mPeekedEvent:Ljavax/xml/stream/events/XMLEvent;
10: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mPeekedEvent:Ljavax/xml/stream/events/XMLEvent;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/ctc/wstx/evt/WstxEventReader;
Exceptions:
throws javax.xml.stream.XMLStreamException
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "Can not remove events from XMLEventReader."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/evt/WstxEventReader;
protected void updateStateEndDocument();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mCfgMultiDocMode:Z
ifeq 11
1: aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mReader:Lorg/codehaus/stax2/XMLStreamReader2;
invokeinterface org.codehaus.stax2.XMLStreamReader2.hasNext:()Z
ifeq 11
2: aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mReader:Lorg/codehaus/stax2/XMLStreamReader2;
invokeinterface org.codehaus.stax2.XMLStreamReader2.next:()I
istore 1
start local 1 3: iload 1
bipush 7
if_icmpne 8
4: aload 0
bipush 7
putfield com.ctc.wstx.evt.WstxEventReader.mPrePeekEvent:I
5: aload 0
aload 0
invokevirtual com.ctc.wstx.evt.WstxEventReader.createStartDocumentEvent:()Ljavax/xml/stream/events/XMLEvent;
putfield com.ctc.wstx.evt.WstxEventReader.mPeekedEvent:Ljavax/xml/stream/events/XMLEvent;
6: aload 0
iconst_3
putfield com.ctc.wstx.evt.WstxEventReader.mState:I
7: return
8: StackMap locals: int
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "Unexpected token ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokestatic com.ctc.wstx.cfg.ErrorConsts.tokenTypeDesc:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: ldc ") after END_DOCUMENT in multi-document mode, XMLStreamReader.hasNext() returning true"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokevirtual com.ctc.wstx.evt.WstxEventReader.reportProblem:(Ljava/lang/String;)V
end local 1 11: StackMap locals:
StackMap stack:
aload 0
iconst_2
putfield com.ctc.wstx.evt.WstxEventReader.mState:I
12: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/ctc/wstx/evt/WstxEventReader;
3 11 1 next I
Exceptions:
throws javax.xml.stream.XMLStreamException
public boolean hasNextEvent();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mState:I
iconst_2
if_icmpeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/evt/WstxEventReader;
Exceptions:
throws javax.xml.stream.XMLStreamException
protected javax.xml.stream.events.XMLEvent createNextEvent(boolean, int);
descriptor: (ZI)Ljavax/xml/stream/events/XMLEvent;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mAllocator:Ljavax/xml/stream/util/XMLEventAllocator;
aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mReader:Lorg/codehaus/stax2/XMLStreamReader2;
invokeinterface javax.xml.stream.util.XMLEventAllocator.allocate:(Ljavax/xml/stream/XMLStreamReader;)Ljavax/xml/stream/events/XMLEvent;
astore 3
start local 3 1: iload 1
ifeq 3
iload 2
bipush 8
if_icmpne 3
2: aload 0
invokevirtual com.ctc.wstx.evt.WstxEventReader.updateStateEndDocument:()V
3: StackMap locals: javax.xml.stream.events.XMLEvent
StackMap stack:
aload 3
4: areturn
end local 3 5: StackMap locals: com.ctc.wstx.evt.WstxEventReader int int
StackMap stack: java.lang.RuntimeException
astore 3
start local 3 6: aload 0
aload 3
invokevirtual com.ctc.wstx.evt.WstxEventReader._checkUnwrap:(Ljava/lang/RuntimeException;)Ljavax/xml/stream/XMLStreamException;
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/ctc/wstx/evt/WstxEventReader;
0 7 1 checkEOD Z
0 7 2 type I
1 5 3 evt Ljavax/xml/stream/events/XMLEvent;
6 7 3 rex Ljava/lang/RuntimeException;
Exception table:
from to target type
0 4 5 Class java.lang.RuntimeException
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
checkEOD
type
protected javax.xml.stream.XMLStreamException _checkUnwrap(java.lang.RuntimeException);
descriptor: (Ljava/lang/RuntimeException;)Ljavax/xml/stream/XMLStreamException;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.RuntimeException.getCause:()Ljava/lang/Throwable;
astore 2
start local 2 1: goto 5
2: StackMap locals: java.lang.Throwable
StackMap stack:
aload 2
instanceof javax.xml.stream.XMLStreamException
ifeq 4
3: aload 2
checkcast javax.xml.stream.XMLStreamException
areturn
4: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
astore 2
5: StackMap locals:
StackMap stack:
aload 2
ifnonnull 2
6: aload 1
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/ctc/wstx/evt/WstxEventReader;
0 7 1 rex Ljava/lang/RuntimeException;
1 7 2 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
rex
protected javax.xml.stream.events.XMLEvent createStartDocumentEvent();
descriptor: ()Ljavax/xml/stream/events/XMLEvent;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mAllocator:Ljavax/xml/stream/util/XMLEventAllocator;
aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mReader:Lorg/codehaus/stax2/XMLStreamReader2;
invokeinterface javax.xml.stream.util.XMLEventAllocator.allocate:(Ljavax/xml/stream/XMLStreamReader;)Ljavax/xml/stream/events/XMLEvent;
astore 1
start local 1 1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/evt/WstxEventReader;
1 2 1 start Ljavax/xml/stream/events/XMLEvent;
Exceptions:
throws javax.xml.stream.XMLStreamException
protected void throwEndOfInput();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/evt/WstxEventReader;
protected void throwUnchecked(javax.xml.stream.XMLStreamException);
descriptor: (Ljavax/xml/stream/XMLStreamException;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.xml.stream.XMLStreamException.getNestedException:()Ljava/lang/Throwable;
ifnonnull 1
aload 1
goto 2
StackMap locals:
StackMap stack:
1: aload 1
invokevirtual javax.xml.stream.XMLStreamException.getNestedException:()Ljava/lang/Throwable;
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 2
start local 2 3: aload 2
instanceof java.lang.RuntimeException
ifeq 5
4: aload 2
checkcast java.lang.RuntimeException
athrow
5: StackMap locals: java.lang.Throwable
StackMap stack:
aload 2
instanceof java.lang.Error
ifeq 7
6: aload 2
checkcast java.lang.Error
athrow
7: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "[was "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/ctc/wstx/evt/WstxEventReader;
0 8 1 sex Ljavax/xml/stream/XMLStreamException;
3 8 2 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
sex
protected void reportProblem(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mReader:Lorg/codehaus/stax2/XMLStreamReader2;
invokeinterface org.codehaus.stax2.XMLStreamReader2.getLocation:()Ljavax/xml/stream/Location;
invokevirtual com.ctc.wstx.evt.WstxEventReader.reportProblem:(Ljava/lang/String;Ljavax/xml/stream/Location;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/evt/WstxEventReader;
0 2 1 msg Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
msg
protected void reportProblem(java.lang.String, javax.xml.stream.Location);
descriptor: (Ljava/lang/String;Ljavax/xml/stream/Location;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: new com.ctc.wstx.exc.WstxParsingException
dup
aload 1
invokespecial com.ctc.wstx.exc.WstxParsingException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new com.ctc.wstx.exc.WstxParsingException
dup
aload 1
aload 2
invokespecial com.ctc.wstx.exc.WstxParsingException.<init>:(Ljava/lang/String;Ljavax/xml/stream/Location;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/evt/WstxEventReader;
0 3 1 msg Ljava/lang/String;
0 3 2 loc Ljavax/xml/stream/Location;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
msg
loc
protected javax.xml.stream.XMLStreamReader getStreamReader();
descriptor: ()Ljavax/xml/stream/XMLStreamReader;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.evt.WstxEventReader.mReader:Lorg/codehaus/stax2/XMLStreamReader2;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/evt/WstxEventReader;
protected final java.lang.String findErrorDesc(int, int);
descriptor: (II)Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokevirtual com.ctc.wstx.evt.WstxEventReader.getErrorDesc:(II)Ljava/lang/String;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
areturn
3: StackMap locals: java.lang.String
StackMap stack:
iload 1
tableswitch { // 1 - 4
1: 4
2: 5
3: 6
4: 7
default: 8
}
4: StackMap locals:
StackMap stack:
ldc "Current state not START_ELEMENT when calling getElementText()"
areturn
5: StackMap locals:
StackMap stack:
ldc "Expected a text token"
areturn
6: StackMap locals:
StackMap stack:
ldc "Only all-whitespace CHARACTERS/CDATA (or SPACE) allowed for nextTag()"
areturn
7: StackMap locals:
StackMap stack:
ldc "Should only encounter START_ELEMENT/END_ELEMENT, SPACE, or all-white-space CHARACTERS"
areturn
8: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Internal error (unrecognized error type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/ctc/wstx/evt/WstxEventReader;
0 9 1 errorType I
0 9 2 currEvent I
1 9 3 msg Ljava/lang/String;
MethodParameters:
Name Flags
errorType
currEvent
}
SourceFile: "WstxEventReader.java"