public final class com.ctc.wstx.io.AsciiReader extends com.ctc.wstx.io.BaseReader
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.ctc.wstx.io.AsciiReader
super_class: com.ctc.wstx.io.BaseReader
{
boolean mXml11;
descriptor: Z
flags: (0x0000)
int mCharCount;
descriptor: I
flags: (0x0000)
public void <init>(com.ctc.wstx.api.ReaderConfig, java.io.InputStream, byte[], int, int, boolean);
descriptor: (Lcom/ctc/wstx/api/ReaderConfig;Ljava/io/InputStream;[BIIZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 2
aload 3
iload 4
iload 5
iload 6
invokespecial com.ctc.wstx.io.BaseReader.<init>:(Lcom/ctc/wstx/api/ReaderConfig;Ljava/io/InputStream;[BIIZ)V
1: aload 0
iconst_0
putfield com.ctc.wstx.io.AsciiReader.mXml11:Z
2: aload 0
iconst_0
putfield com.ctc.wstx.io.AsciiReader.mCharCount:I
3: return
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 4 0 this Lcom/ctc/wstx/io/AsciiReader;
0 4 1 cfg Lcom/ctc/wstx/api/ReaderConfig;
0 4 2 in Ljava/io/InputStream;
0 4 3 buf [B
0 4 4 ptr I
0 4 5 len I
0 4 6 recycleBuffer Z
MethodParameters:
Name Flags
cfg
in
buf
ptr
len
recycleBuffer
public void setXmlCompliancy(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
sipush 272
if_icmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack: com.ctc.wstx.io.AsciiReader
1: iconst_0
StackMap locals: com.ctc.wstx.io.AsciiReader int
StackMap stack: com.ctc.wstx.io.AsciiReader int
2: putfield com.ctc.wstx.io.AsciiReader.mXml11:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/ctc/wstx/io/AsciiReader;
0 4 1 xmlVersion I
MethodParameters:
Name Flags
xmlVersion
public int read(char[], int, int);
descriptor: ([CII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iflt 1
iload 2
iload 3
iadd
aload 1
arraylength
if_icmple 2
1: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokevirtual com.ctc.wstx.io.AsciiReader.reportBounds:([CII)V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.io.AsciiReader.mByteBuffer:[B
ifnonnull 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
iload 3
iconst_1
if_icmpge 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.io.AsciiReader.mByteBufferEnd:I
aload 0
getfield com.ctc.wstx.io.AsciiReader.mBytePtr:I
isub
istore 4
start local 4 7: iload 4
ifgt 16
8: aload 0
dup
getfield com.ctc.wstx.io.AsciiReader.mCharCount:I
aload 0
getfield com.ctc.wstx.io.AsciiReader.mByteBufferEnd:I
iadd
putfield com.ctc.wstx.io.AsciiReader.mCharCount:I
9: aload 0
invokevirtual com.ctc.wstx.io.AsciiReader.readBytes:()I
istore 5
start local 5 10: iload 5
ifgt 15
11: iload 5
ifne 13
12: aload 0
invokevirtual com.ctc.wstx.io.AsciiReader.reportStrangeStream:()V
13: StackMap locals: int int
StackMap stack:
aload 0
invokevirtual com.ctc.wstx.io.AsciiReader.freeBuffers:()V
14: iconst_m1
ireturn
15: StackMap locals:
StackMap stack:
iload 5
istore 4
end local 5 16: StackMap locals:
StackMap stack:
iload 3
iload 4
if_icmple 18
17: iload 4
istore 3
18: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.io.AsciiReader.mBytePtr:I
istore 5
start local 5 19: iload 5
iload 3
iadd
istore 6
start local 6 20: goto 30
21: StackMap locals: int int
StackMap stack:
aload 0
getfield com.ctc.wstx.io.AsciiReader.mByteBuffer:[B
iload 5
iinc 5 1
baload
i2c
istore 7
start local 7 22: iload 7
bipush 127
if_icmplt 29
23: iload 7
bipush 127
if_icmple 26
24: aload 0
iload 7
invokevirtual com.ctc.wstx.io.AsciiReader.reportInvalidAscii:(C)V
25: goto 29
26: StackMap locals: int
StackMap stack:
aload 0
getfield com.ctc.wstx.io.AsciiReader.mXml11:Z
ifeq 29
27: aload 0
getfield com.ctc.wstx.io.AsciiReader.mCharCount:I
aload 0
getfield com.ctc.wstx.io.AsciiReader.mBytePtr:I
iadd
istore 8
start local 8 28: aload 0
iload 7
iload 8
iload 8
invokevirtual com.ctc.wstx.io.AsciiReader.reportInvalidXml11:(III)V
end local 8 29: StackMap locals:
StackMap stack:
aload 1
iload 2
iinc 2 1
iload 7
castore
end local 7 30: StackMap locals:
StackMap stack:
iload 5
iload 6
if_icmplt 21
31: aload 0
iload 6
putfield com.ctc.wstx.io.AsciiReader.mBytePtr:I
32: iload 3
ireturn
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 33 0 this Lcom/ctc/wstx/io/AsciiReader;
0 33 1 cbuf [C
0 33 2 start I
0 33 3 len I
7 33 4 avail I
10 16 5 count I
19 33 5 i I
20 33 6 last I
22 30 7 c C
28 29 8 pos I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf
start
len
private void reportInvalidAscii(char);
descriptor: (C)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new java.io.CharConversionException
dup
new java.lang.StringBuilder
dup
ldc "Invalid ascii byte; value above 7-bit ascii range ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "; at pos #"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.ctc.wstx.io.AsciiReader.mCharCount:I
aload 0
getfield com.ctc.wstx.io.AsciiReader.mBytePtr:I
iadd
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;
invokespecial java.io.CharConversionException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/io/AsciiReader;
0 1 1 c C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
c
public void close();
descriptor: ()V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial com.ctc.wstx.io.BaseReader.close:()V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
public int read();
descriptor: ()I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial com.ctc.wstx.io.BaseReader.read:()I
ireturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
SourceFile: "AsciiReader.java"