public abstract class com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi
super_class: java.lang.Object
{
private static java.util.logging.Logger log;
descriptor: Ljava/util/logging/Logger;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
protected java.util.Map<java.lang.String, java.lang.String> properties;
descriptor: Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
protected final boolean secureValidation;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
ConstantValue: 1
RuntimeVisibleAnnotations:
java.lang.Deprecated()
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
1: putstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.log:Ljava/util/logging/Logger;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.properties:Ljava/util/Map;
2: aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.secureValidation:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
public com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput engineResolve(org.w3c.dom.Attr, java.lang.String);
descriptor: (Lorg/w3c/dom/Attr;Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
0 1 1 uri Lorg/w3c/dom/Attr;
0 1 2 BaseURI Ljava/lang/String;
Exceptions:
throws com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
uri
BaseURI
public com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput engineResolveURI(com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext);
descriptor: (Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverContext;)Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.attr:Lorg/w3c/dom/Attr;
aload 1
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.baseUri:Ljava/lang/String;
invokevirtual com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.engineResolve:(Lorg/w3c/dom/Attr;Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
0 1 1 context Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverContext;
Exceptions:
throws com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException
MethodParameters:
Name Flags
context
public void engineSetProperty(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.properties:Ljava/util/Map;
ifnonnull 2
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.properties:Ljava/util/Map;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.properties:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
0 4 1 key Ljava/lang/String;
0 4 2 value Ljava/lang/String;
MethodParameters:
Name Flags
key
value
public java.lang.String engineGetProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.properties:Ljava/util/Map;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.properties:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
0 3 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public void engineAddProperies(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 4
aload 1
invokeinterface java.util.Map.isEmpty:()Z
ifne 4
1: aload 0
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.properties:Ljava/util/Map;
ifnonnull 3
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.properties:Ljava/util/Map;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.properties:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
0 5 1 newProperties Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
newProperties
public boolean engineIsThreadSafe();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
public boolean engineCanResolve(org.w3c.dom.Attr, java.lang.String);
descriptor: (Lorg/w3c/dom/Attr;Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
0 1 1 uri Lorg/w3c/dom/Attr;
0 1 2 BaseURI Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
uri
BaseURI
public boolean engineCanResolveURI(com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext);
descriptor: (Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverContext;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.attr:Lorg/w3c/dom/Attr;
aload 1
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.baseUri:Ljava/lang/String;
invokevirtual com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.engineCanResolve:(Lorg/w3c/dom/Attr;Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
0 1 1 context Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverContext;
MethodParameters:
Name Flags
context
public java.lang.String[] engineGetPropertyKeys();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
anewarray java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
public boolean understandsProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.engineGetPropertyKeys:()[Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 8
2: iconst_0
istore 3
start local 3 3: goto 7
4: StackMap locals: java.lang.String[] int
StackMap stack:
aload 2
iload 3
aaload
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 2
arraylength
if_icmplt 4
end local 3 8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
0 9 1 propertyToTest Ljava/lang/String;
1 9 2 understood [Ljava/lang/String;
3 8 3 i I
MethodParameters:
Name Flags
propertyToTest
public static java.lang.String fixURI(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
getstatic java.io.File.separatorChar:C
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 0
1: aload 0
invokevirtual java.lang.String.length:()I
iconst_4
if_icmplt 14
2: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.toUpperCase:(C)C
istore 1
start local 1 3: aload 0
iconst_1
invokevirtual java.lang.String.charAt:(I)C
istore 2
start local 2 4: aload 0
iconst_2
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 5: aload 0
iconst_3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 6: bipush 65
iload 1
if_icmpgt 10
iload 1
bipush 90
if_icmpgt 10
7: iload 2
bipush 58
if_icmpne 10
iload 3
bipush 47
if_icmpne 10
8: iload 4
bipush 47
if_icmpeq 10
9: iconst_1
goto 11
StackMap locals: java.lang.String int int int int
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: istore 5
start local 5 12: iload 5
ifeq 14
getstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 14
13: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Found DOS filename: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
end local 5 end local 4 end local 3 end local 2 end local 1 14: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
iconst_2
if_icmplt 20
15: aload 0
iconst_1
invokevirtual java.lang.String.charAt:(I)C
istore 1
start local 1 16: iload 1
bipush 58
if_icmpne 20
17: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.toUpperCase:(C)C
istore 2
start local 2 18: bipush 65
iload 2
if_icmpgt 20
iload 2
bipush 90
if_icmpgt 20
19: new java.lang.StringBuilder
dup
ldc "/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 0
end local 2 end local 1 20: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 str Ljava/lang/String;
3 14 1 ch0 C
4 14 2 ch1 C
5 14 3 ch2 C
6 14 4 ch3 C
12 14 5 isDosFilename Z
16 20 1 ch1 C
18 20 2 ch0 C
MethodParameters:
Name Flags
str
}
SourceFile: "ResourceResolverSpi.java"