public class com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm extends com.sun.xml.internal.fastinfoset.algorithm.BuiltInEncodingAlgorithm
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm
super_class: com.sun.xml.internal.fastinfoset.algorithm.BuiltInEncodingAlgorithm
{
private static final char[] NIBBLE_TO_HEXADECIMAL_TABLE;
descriptor: [C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int[] HEXADECIMAL_TO_NIBBLE_TABLE;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: .line 38
bipush 16
newarray 5
dup
iconst_0
bipush 48
castore
dup
iconst_1
bipush 49
castore
dup
iconst_2
bipush 50
castore
dup
iconst_3
bipush 51
castore
dup
iconst_4
bipush 52
castore
dup
iconst_5
bipush 53
castore
dup
bipush 6
bipush 54
castore
dup
bipush 7
bipush 55
castore
dup
bipush 8
1: .line 39
bipush 56
castore
dup
bipush 9
bipush 57
castore
dup
bipush 10
bipush 65
castore
dup
bipush 11
bipush 66
castore
dup
bipush 12
bipush 67
castore
dup
bipush 13
bipush 68
castore
dup
bipush 14
bipush 69
castore
dup
bipush 15
bipush 70
castore
2: .line 37
putstatic com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm.NIBBLE_TO_HEXADECIMAL_TABLE:[C
3: .line 41
bipush 55
newarray 10
dup
iconst_1
4: .line 43
iconst_1
iastore
dup
iconst_2
5: .line 44
iconst_2
iastore
dup
iconst_3
6: .line 45
iconst_3
iastore
dup
iconst_4
7: .line 46
iconst_4
iastore
dup
iconst_5
8: .line 47
iconst_5
iastore
dup
bipush 6
9: .line 48
bipush 6
iastore
dup
bipush 7
10: .line 49
bipush 7
iastore
dup
bipush 8
11: .line 50
bipush 8
iastore
dup
bipush 9
12: .line 51
bipush 9
iastore
dup
bipush 10
iconst_m1
iastore
dup
bipush 11
iconst_m1
iastore
dup
bipush 12
iconst_m1
iastore
dup
bipush 13
iconst_m1
iastore
dup
bipush 14
iconst_m1
iastore
dup
bipush 15
iconst_m1
iastore
dup
bipush 16
iconst_m1
iastore
dup
bipush 17
13: .line 52
bipush 10
iastore
dup
bipush 18
14: .line 53
bipush 11
iastore
dup
bipush 19
15: .line 54
bipush 12
iastore
dup
bipush 20
16: .line 55
bipush 13
iastore
dup
bipush 21
17: .line 56
bipush 14
iastore
dup
bipush 22
18: .line 57
bipush 15
iastore
dup
bipush 23
19: .line 58
iconst_m1
iastore
dup
bipush 24
iconst_m1
iastore
dup
bipush 25
iconst_m1
iastore
dup
bipush 26
iconst_m1
iastore
dup
bipush 27
iconst_m1
iastore
dup
bipush 28
iconst_m1
iastore
dup
bipush 29
iconst_m1
iastore
dup
bipush 30
iconst_m1
iastore
dup
bipush 31
iconst_m1
iastore
dup
bipush 32
iconst_m1
iastore
dup
bipush 33
iconst_m1
iastore
dup
bipush 34
iconst_m1
iastore
dup
bipush 35
iconst_m1
iastore
dup
bipush 36
iconst_m1
iastore
dup
bipush 37
iconst_m1
iastore
dup
bipush 38
iconst_m1
iastore
dup
bipush 39
iconst_m1
iastore
dup
bipush 40
iconst_m1
iastore
dup
bipush 41
iconst_m1
iastore
dup
bipush 42
iconst_m1
iastore
dup
bipush 43
20: .line 59
iconst_m1
iastore
dup
bipush 44
iconst_m1
iastore
dup
bipush 45
iconst_m1
iastore
dup
bipush 46
iconst_m1
iastore
dup
bipush 47
iconst_m1
iastore
dup
bipush 48
iconst_m1
iastore
dup
bipush 49
21: .line 60
bipush 10
iastore
dup
bipush 50
22: .line 61
bipush 11
iastore
dup
bipush 51
23: .line 62
bipush 12
iastore
dup
bipush 52
24: .line 63
bipush 13
iastore
dup
bipush 53
25: .line 64
bipush 14
iastore
dup
bipush 54
26: .line 65
bipush 15
iastore
27: .line 41
putstatic com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm.HEXADECIMAL_TO_NIBBLE_TABLE:[I
28: .line 65
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm this
0: .line 36
aload 0 /* this */
invokespecial com.sun.xml.internal.fastinfoset.algorithm.BuiltInEncodingAlgorithm.<init>:()V
return
end local 0 // com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/HexadecimalEncodingAlgorithm;
public final java.lang.Object decodeFromBytes(byte[], int, int);
descriptor: ([BII)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=5, args_size=4
start local 0 // com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm this
start local 1 // byte[] b
start local 2 // int start
start local 3 // int length
0: .line 68
iload 3 /* length */
newarray 8
astore 4 /* data */
start local 4 // byte[] data
1: .line 69
aload 1 /* b */
iload 2 /* start */
aload 4 /* data */
iconst_0
iload 3 /* length */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: .line 70
aload 4 /* data */
areturn
end local 4 // byte[] data
end local 3 // int length
end local 2 // int start
end local 1 // byte[] b
end local 0 // com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/HexadecimalEncodingAlgorithm;
0 3 1 b [B
0 3 2 start I
0 3 3 length I
1 3 4 data [B
Exceptions:
throws com.sun.xml.internal.org.jvnet.fastinfoset.EncodingAlgorithmException
MethodParameters:
Name Flags
b
start
length
public final java.lang.Object decodeFromInputStream(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 // com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm this
start local 1 // java.io.InputStream s
0: .line 74
new java.lang.UnsupportedOperationException
dup
invokestatic com.sun.xml.internal.fastinfoset.CommonResourceBundle.getInstance:()Lcom/sun/xml/internal/fastinfoset/CommonResourceBundle;
ldc "message.notImplemented"
invokevirtual com.sun.xml.internal.fastinfoset.CommonResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 // java.io.InputStream s
end local 0 // com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/HexadecimalEncodingAlgorithm;
0 1 1 s Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
public void encodeToOutputStream(java.lang.Object, java.io.OutputStream);
descriptor: (Ljava/lang/Object;Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 // com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm this
start local 1 // java.lang.Object data
start local 2 // java.io.OutputStream s
0: .line 79
aload 1 /* data */
instanceof byte[]
ifne 2
1: .line 80
new java.lang.IllegalArgumentException
dup
invokestatic com.sun.xml.internal.fastinfoset.CommonResourceBundle.getInstance:()Lcom/sun/xml/internal/fastinfoset/CommonResourceBundle;
ldc "message.dataNotByteArray"
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: .line 83
StackMap locals:
StackMap stack:
aload 2 /* s */
aload 1 /* data */
checkcast byte[]
invokevirtual java.io.OutputStream.write:([B)V
3: .line 84
return
end local 2 // java.io.OutputStream s
end local 1 // java.lang.Object data
end local 0 // com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/HexadecimalEncodingAlgorithm;
0 4 1 data Ljava/lang/Object;
0 4 2 s Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
data
s
public final java.lang.Object convertFromCharacters(char[], int, int);
descriptor: ([CII)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=12, args_size=4
start local 0 // com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm this
start local 1 // char[] ch
start local 2 // int start
start local 3 // int length
0: .line 87
iload 3 /* length */
ifne 2
1: .line 88
iconst_0
newarray 8
areturn
2: .line 91
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 1 /* ch */
iload 2 /* start */
iload 3 /* length */
invokevirtual com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm.removeWhitespace:([CII)Ljava/lang/StringBuilder;
astore 4 /* encodedValue */
start local 4 // java.lang.StringBuilder encodedValue
3: .line 92
aload 4 /* encodedValue */
invokevirtual java.lang.StringBuilder.length:()I
istore 5 /* encodedLength */
start local 5 // int encodedLength
4: .line 93
iload 5 /* encodedLength */
ifne 6
5: .line 94
iconst_0
newarray 8
areturn
6: .line 97
StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 4 /* encodedValue */
invokevirtual java.lang.StringBuilder.length:()I
iconst_2
idiv
istore 6 /* valueLength */
start local 6 // int valueLength
7: .line 98
iload 6 /* valueLength */
newarray 8
astore 7 /* value */
start local 7 // byte[] value
8: .line 100
iconst_0
istore 8 /* encodedIdx */
start local 8 // int encodedIdx
9: .line 101
iconst_0
istore 9 /* i */
start local 9 // int i
10: goto 15
11: .line 102
StackMap locals: com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm char[] int int java.lang.StringBuilder int int byte[] int int
StackMap stack:
getstatic com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm.HEXADECIMAL_TO_NIBBLE_TABLE:[I
aload 4 /* encodedValue */
iload 8 /* encodedIdx */
iinc 8 /* encodedIdx */ 1
invokevirtual java.lang.StringBuilder.charAt:(I)C
bipush 48
isub
iaload
istore 10 /* nibble1 */
start local 10 // int nibble1
12: .line 103
getstatic com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm.HEXADECIMAL_TO_NIBBLE_TABLE:[I
aload 4 /* encodedValue */
iload 8 /* encodedIdx */
iinc 8 /* encodedIdx */ 1
invokevirtual java.lang.StringBuilder.charAt:(I)C
bipush 48
isub
iaload
istore 11 /* nibble2 */
start local 11 // int nibble2
13: .line 104
aload 7 /* value */
iload 9 /* i */
iload 10 /* nibble1 */
iconst_4
ishl
iload 11 /* nibble2 */
ior
i2b
bastore
end local 11 // int nibble2
end local 10 // int nibble1
14: .line 101
iinc 9 /* i */ 1
StackMap locals:
StackMap stack:
15: iload 9 /* i */
iload 6 /* valueLength */
if_icmplt 11
end local 9 // int i
16: .line 107
aload 7 /* value */
areturn
end local 8 // int encodedIdx
end local 7 // byte[] value
end local 6 // int valueLength
end local 5 // int encodedLength
end local 4 // java.lang.StringBuilder encodedValue
end local 3 // int length
end local 2 // int start
end local 1 // char[] ch
end local 0 // com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm this
LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/HexadecimalEncodingAlgorithm;
0 17 1 ch [C
0 17 2 start I
0 17 3 length I
3 17 4 encodedValue Ljava/lang/StringBuilder;
4 17 5 encodedLength I
7 17 6 valueLength I
8 17 7 value [B
9 17 8 encodedIdx I
10 16 9 i I
12 14 10 nibble1 I
13 14 11 nibble2 I
MethodParameters:
Name Flags
ch
start
length
public final void convertToCharacters(java.lang.Object, java.lang.StringBuffer);
descriptor: (Ljava/lang/Object;Ljava/lang/StringBuffer;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=5, args_size=3
start local 0 // com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm this
start local 1 // java.lang.Object data
start local 2 // java.lang.StringBuffer s
0: .line 111
aload 1 /* data */
ifnonnull 2
1: .line 112
return
2: .line 114
StackMap locals:
StackMap stack:
aload 1 /* data */
checkcast byte[]
astore 3 /* value */
start local 3 // byte[] value
3: .line 115
aload 3 /* value */
arraylength
ifne 5
4: .line 116
return
5: .line 119
StackMap locals: byte[]
StackMap stack:
aload 2 /* s */
aload 3 /* value */
arraylength
iconst_2
imul
invokevirtual java.lang.StringBuffer.ensureCapacity:(I)V
6: .line 120
iconst_0
istore 4 /* i */
start local 4 // int i
7: goto 11
8: .line 121
StackMap locals: int
StackMap stack:
aload 2 /* s */
getstatic com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm.NIBBLE_TO_HEXADECIMAL_TABLE:[C
aload 3 /* value */
iload 4 /* i */
baload
iconst_4
iushr
bipush 15
iand
caload
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
9: .line 122
aload 2 /* s */
getstatic com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm.NIBBLE_TO_HEXADECIMAL_TABLE:[C
aload 3 /* value */
iload 4 /* i */
baload
bipush 15
iand
caload
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
10: .line 120
iinc 4 /* i */ 1
StackMap locals:
StackMap stack:
11: iload 4 /* i */
aload 3 /* value */
arraylength
if_icmplt 8
end local 4 // int i
12: .line 124
return
end local 3 // byte[] value
end local 2 // java.lang.StringBuffer s
end local 1 // java.lang.Object data
end local 0 // com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm this
LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/HexadecimalEncodingAlgorithm;
0 13 1 data Ljava/lang/Object;
0 13 2 s Ljava/lang/StringBuffer;
3 13 3 value [B
7 12 4 i I
MethodParameters:
Name Flags
data
s
public final int getPrimtiveLengthFromOctetLength(int);
descriptor: (I)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 // com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm this
start local 1 // int octetLength
0: .line 129
iload 1 /* octetLength */
iconst_2
imul
ireturn
end local 1 // int octetLength
end local 0 // com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/HexadecimalEncodingAlgorithm;
0 1 1 octetLength I
Exceptions:
throws com.sun.xml.internal.org.jvnet.fastinfoset.EncodingAlgorithmException
MethodParameters:
Name Flags
octetLength
public int getOctetLengthFromPrimitiveLength(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm this
start local 1 // int primitiveLength
0: .line 133
iload 1 /* primitiveLength */
iconst_2
idiv
ireturn
end local 1 // int primitiveLength
end local 0 // com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/HexadecimalEncodingAlgorithm;
0 1 1 primitiveLength I
MethodParameters:
Name Flags
primitiveLength
public final void encodeToBytes(java.lang.Object, int, int, byte[], int);
descriptor: (Ljava/lang/Object;II[BI)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=6, args_size=6
start local 0 // com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm this
start local 1 // java.lang.Object array
start local 2 // int astart
start local 3 // int alength
start local 4 // byte[] b
start local 5 // int start
0: .line 137
aload 1 /* array */
checkcast byte[]
iload 2 /* astart */
aload 4 /* b */
iload 5 /* start */
iload 3 /* alength */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
1: .line 138
return
end local 5 // int start
end local 4 // byte[] b
end local 3 // int alength
end local 2 // int astart
end local 1 // java.lang.Object array
end local 0 // com.sun.xml.internal.fastinfoset.algorithm.HexadecimalEncodingAlgorithm this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/fastinfoset/algorithm/HexadecimalEncodingAlgorithm;
0 2 1 array Ljava/lang/Object;
0 2 2 astart I
0 2 3 alength I
0 2 4 b [B
0 2 5 start I
MethodParameters:
Name Flags
array
astart
alength
b
start
}
SourceFile: "HexadecimalEncodingAlgorithm.java"