final class javax.xml.catalog.RewriteSystem extends javax.xml.catalog.BaseEntry
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: javax.xml.catalog.RewriteSystem
super_class: javax.xml.catalog.BaseEntry
{
java.lang.String systemIdStartString;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.net.URL rewritePrefix;
descriptor: Ljava/net/URL;
flags: (0x0000)
public void <init>(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getstatic javax.xml.catalog.BaseEntry$CatalogEntryType.REWRITESYSTEM:Ljavax/xml/catalog/BaseEntry$CatalogEntryType;
aload 1
invokespecial javax.xml.catalog.BaseEntry.<init>:(Ljavax/xml/catalog/BaseEntry$CatalogEntryType;Ljava/lang/String;)V
1: aload 0
aload 2
invokevirtual javax.xml.catalog.RewriteSystem.setSystemIdStartString:(Ljava/lang/String;)V
2: aload 0
aload 3
invokevirtual javax.xml.catalog.RewriteSystem.setRewritePrefix:(Ljava/lang/String;)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/xml/catalog/RewriteSystem;
0 4 1 base Ljava/lang/String;
0 4 2 systemIdStartString Ljava/lang/String;
0 4 3 rewritePrefix Ljava/lang/String;
MethodParameters:
Name Flags
base
systemIdStartString
rewritePrefix
public void setSystemIdStartString(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc "systemIdStartString"
aload 1
invokestatic javax.xml.catalog.CatalogMessages.reportNPEOnNull:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 0
aload 1
invokestatic javax.xml.catalog.Normalizer.normalizeURI:(Ljava/lang/String;)Ljava/lang/String;
putfield javax.xml.catalog.RewriteSystem.systemIdStartString:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/xml/catalog/RewriteSystem;
0 3 1 systemIdStartString Ljava/lang/String;
MethodParameters:
Name Flags
systemIdStartString
public void setRewritePrefix(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
ldc "setRewritePrefix"
aload 0
getfield javax.xml.catalog.RewriteSystem.baseURI:Ljava/net/URL;
aload 1
invokevirtual javax.xml.catalog.RewriteSystem.verifyURI:(Ljava/lang/String;Ljava/net/URL;Ljava/lang/String;)Ljava/net/URL;
putfield javax.xml.catalog.RewriteSystem.rewritePrefix:Ljava/net/URL;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/xml/catalog/RewriteSystem;
0 2 1 rewritePrefix Ljava/lang/String;
MethodParameters:
Name Flags
rewritePrefix
public java.lang.String getSystemIdStartString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.xml.catalog.RewriteSystem.systemIdStartString:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/xml/catalog/RewriteSystem;
public java.net.URL getRewritePrefix();
descriptor: ()Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.xml.catalog.RewriteSystem.rewritePrefix:Ljava/net/URL;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/xml/catalog/RewriteSystem;
public java.lang.String match(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.xml.catalog.RewriteSystem.systemIdStartString:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
aload 1
invokevirtual java.lang.String.length:()I
if_icmpge 11
1: aload 0
getfield javax.xml.catalog.RewriteSystem.systemIdStartString:Ljava/lang/String;
aload 1
iconst_0
aload 0
getfield javax.xml.catalog.RewriteSystem.systemIdStartString:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
2: iload 2
aload 0
getfield javax.xml.catalog.RewriteSystem.systemIdStartString:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
if_icmpge 11
3: aload 0
getfield javax.xml.catalog.RewriteSystem.rewritePrefix:Ljava/net/URL;
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
astore 3
start local 3 4: aload 0
getfield javax.xml.catalog.RewriteSystem.systemIdStartString:Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 7
5: aload 1
aload 0
getfield javax.xml.catalog.RewriteSystem.systemIdStartString:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
start local 4 6: goto 8
end local 4 7: StackMap locals: java.lang.String
StackMap stack:
aload 1
aload 0
getfield javax.xml.catalog.RewriteSystem.systemIdStartString:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
start local 4 8: StackMap locals: java.lang.String
StackMap stack:
aload 3
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 10
9: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
10: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 4 end local 3 11: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/xml/catalog/RewriteSystem;
0 12 1 systemId Ljava/lang/String;
0 12 2 currentMatch I
4 11 3 prefix Ljava/lang/String;
6 7 4 sysId Ljava/lang/String;
8 11 4 sysId Ljava/lang/String;
MethodParameters:
Name Flags
systemId
currentMatch
public java.lang.String match(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual javax.xml.catalog.RewriteSystem.match:(Ljava/lang/String;I)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/xml/catalog/RewriteSystem;
0 1 1 systemId Ljava/lang/String;
MethodParameters:
Name Flags
systemId
}
SourceFile: "RewriteSystem.java"
InnerClasses:
final CatalogEntryType = javax.xml.catalog.BaseEntry$CatalogEntryType of javax.xml.catalog.BaseEntry