class javax.xml.catalog.Normalizer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.xml.catalog.Normalizer
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/xml/catalog/Normalizer;
static java.lang.String normalizePublicId(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: aload 0
ifnonnull 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 2: bipush 97
istore 2
start local 2 3: aload 0
invokevirtual java.lang.String.toCharArray:()[C
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 15
StackMap locals: java.lang.String java.lang.StringBuilder int top int int char[]
StackMap stack:
4: aload 6
iload 4
caload
istore 3
start local 3 5: iload 3
bipush 32
if_icmpne 7
aload 1
invokevirtual java.lang.StringBuilder.length:()I
ifeq 14
iload 2
bipush 32
if_icmpne 7
6: goto 14
7: StackMap locals: java.lang.String java.lang.StringBuilder int int int int char[]
StackMap stack:
iload 3
bipush 9
if_icmpeq 8
iload 3
bipush 13
if_icmpeq 8
iload 3
bipush 10
if_icmpne 12
8: StackMap locals:
StackMap stack:
iload 2
bipush 32
if_icmpeq 14
9: aload 1
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
10: bipush 32
istore 2
11: goto 14
12: StackMap locals:
StackMap stack:
aload 1
iload 3
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
13: iload 3
istore 2
end local 3 14: StackMap locals: java.lang.String java.lang.StringBuilder int top int int char[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
iload 5
if_icmplt 4
16: iload 2
bipush 32
if_icmpne 18
17: aload 1
aload 1
invokevirtual java.lang.StringBuilder.length:()I
iconst_1
isub
invokevirtual java.lang.StringBuilder.deleteCharAt:(I)Ljava/lang/StringBuilder;
pop
18: StackMap locals: java.lang.String java.lang.StringBuilder int
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 publicId Ljava/lang/String;
2 19 1 sb Ljava/lang/StringBuilder;
3 19 2 last C
5 14 3 c C
MethodParameters:
Name Flags
publicId
static java.lang.String encodeURN(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokestatic javax.xml.catalog.Normalizer.normalizePublicId:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ldc "UTF-8"
invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 1
2: aload 1
ldc "::"
ldc ";"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 1
3: aload 1
ldc "//"
ldc ":"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 1
4: goto 7
StackMap locals: java.lang.String java.lang.String
StackMap stack: java.io.UnsupportedEncodingException
5: astore 2
start local 2 6: ldc "OtherError"
aload 2
invokestatic javax.xml.catalog.CatalogMessages.reportRunTimeError:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 7: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "urn:publicid:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 publicId Ljava/lang/String;
1 8 1 urn Ljava/lang/String;
6 7 2 ex Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
1 4 5 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
publicId
static java.lang.String decodeURN(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
ifnull 3
aload 0
ldc "urn:publicid:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
bipush 13
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
start local 1 2: goto 4
end local 1 3: StackMap locals:
StackMap stack:
aload 0
areturn
start local 1 4: StackMap locals: java.lang.String
StackMap stack:
aload 1
ldc ":"
ldc "//"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 1
5: aload 1
ldc ";"
ldc "::"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 1
6: aload 1
ldc "UTF-8"
invokestatic java.net.URLDecoder.decode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 1
7: goto 10
StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
8: astore 2
start local 2 9: ldc "OtherError"
aload 2
invokestatic javax.xml.catalog.CatalogMessages.reportRunTimeError:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 10: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 urn Ljava/lang/String;
2 3 1 publicId Ljava/lang/String;
4 11 1 publicId Ljava/lang/String;
9 10 2 ex Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
4 7 8 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
urn
static java.lang.String normalizeURI(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 0
3: aload 0
ldc "UTF-8"
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
astore 1
start local 1 4: goto 7
end local 1 StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
5: pop
6: aload 0
areturn
start local 1 7: StackMap locals: byte[]
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
arraylength
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 8: iconst_0
istore 3
start local 3 9: goto 27
10: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 1
iload 3
baload
sipush 255
iand
istore 4
start local 4 11: iload 4
bipush 32
if_icmple 23
12: iload 4
bipush 127
if_icmpgt 23
13: iload 4
bipush 34
if_icmpeq 23
14: iload 4
bipush 60
if_icmpeq 23
15: iload 4
bipush 62
if_icmpeq 23
16: iload 4
bipush 92
if_icmpeq 23
17: iload 4
bipush 94
if_icmpeq 23
18: iload 4
bipush 96
if_icmpeq 23
19: iload 4
bipush 123
if_icmpeq 23
20: iload 4
bipush 124
if_icmpeq 23
21: iload 4
bipush 125
if_icmpeq 23
22: iload 4
bipush 127
if_icmpne 25
23: StackMap locals: int
StackMap stack:
aload 2
ldc "%"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "%02X"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
24: goto 26
25: StackMap locals:
StackMap stack:
aload 2
aload 1
iload 3
baload
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 4 26: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
27: iload 3
aload 1
arraylength
if_icmplt 10
end local 3 28: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 uriref Ljava/lang/String;
4 5 1 bytes [B
7 29 1 bytes [B
8 29 2 newRef Ljava/lang/StringBuilder;
9 28 3 count I
11 26 4 ch I
Exception table:
from to target type
3 4 5 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
uriref
}
SourceFile: "Normalizer.java"