public class com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver
super_class: java.lang.Object
{
private static final com.sun.org.slf4j.internal.Logger LOG;
descriptor: Lcom/sun/org/slf4j/internal/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.List<com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver> resolverList;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;>;
private final com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi resolverSpi;
descriptor: Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;
invokestatic com.sun.org.slf4j.internal.LoggerFactory.getLogger:(Ljava/lang/Class;)Lcom/sun/org/slf4j/internal/Logger;
1: putstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.LOG:Lcom/sun/org/slf4j/internal/Logger;
2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolverList:Ljava/util/List;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi);
descriptor: (Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolverSpi:Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
2: return
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/ResourceResolver;
0 3 1 resourceResolver Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
MethodParameters:
Name Flags
resourceResolver
public static final com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver getInstance(org.w3c.dom.Attr, java.lang.String, boolean);
descriptor: (Lorg/w3c/dom/Attr;Ljava/lang/String;Z)Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext
dup
aload 0
aload 1
iload 2
invokespecial com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.<init>:(Lorg/w3c/dom/Attr;Ljava/lang/String;Z)V
astore 3
start local 3 1: aload 3
invokestatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.internalGetInstance:(Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverContext;)Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 uriAttr Lorg/w3c/dom/Attr;
0 2 1 baseURI Ljava/lang/String;
0 2 2 secureValidation Z
1 2 3 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
uriAttr
baseURI
secureValidation
private static <N> com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver internalGetInstance(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/utils/resolver/ResourceResolver;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=6, args_size=1
start local 0 0: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolverList:Ljava/util/List;
dup
astore 1
monitorenter
1: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolverList:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 24
StackMap locals: com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver
astore 2
start local 2 3: aload 2
astore 4
start local 4 4: aload 2
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolverSpi:Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
invokevirtual com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.engineIsThreadSafe:()Z
ifne 13
5: new com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver
dup
aload 2
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolverSpi:Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi
invokespecial com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.<init>:(Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;)V
6: astore 5
start local 5 7: aload 5
astore 4
end local 5 8: goto 13
StackMap locals: com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext java.util.List com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver java.util.Iterator com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver
StackMap stack: java.lang.InstantiationException
9: astore 5
start local 5 10: new com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException
dup
aload 5
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.uriToResolve:Ljava/lang/String;
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.baseUri:Ljava/lang/String;
ldc ""
invokespecial com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException.<init>:(Ljava/lang/Exception;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
athrow
end local 5 11: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 5
start local 5 12: new com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException
dup
aload 5
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.uriToResolve:Ljava/lang/String;
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.baseUri:Ljava/lang/String;
ldc ""
invokespecial com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException.<init>:(Ljava/lang/Exception;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
athrow
end local 5 13: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.LOG:Lcom/sun/org/slf4j/internal/Logger;
ldc "check resolvability by class {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
invokevirtual com.sun.org.slf4j.internal.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
14: aload 4
aload 0
invokevirtual com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.canResolve:(Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverContext;)Z
ifeq 24
15: aload 0
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.secureValidation:Z
ifeq 22
16: aload 4
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolverSpi:Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
instanceof com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverLocalFilesystem
ifne 18
17: aload 4
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolverSpi:Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
instanceof com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP
ifeq 22
18: StackMap locals:
StackMap stack:
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolverSpi:Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
astore 5
start local 5 19: new com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException
dup
20: ldc "signature.Reference.ForbiddenResolver"
aload 5
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.uriToResolve:Ljava/lang/String;
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.baseUri:Ljava/lang/String;
21: invokespecial com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException.<init>:(Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
athrow
end local 5 22: StackMap locals:
StackMap stack:
aload 4
aload 1
monitorexit
23: areturn
end local 4 end local 2 24: StackMap locals: com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext java.util.List top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
25: aload 1
monitorexit
26: goto 29
StackMap locals: com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext java.util.List
StackMap stack: java.lang.Throwable
27: aload 1
monitorexit
28: athrow
29: StackMap locals:
StackMap stack:
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.uriToResolve:Ljava/lang/String;
ifnull 31
30: aload 0
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.uriToResolve:Ljava/lang/String;
goto 32
StackMap locals: com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext
StackMap stack: java.lang.Object[] java.lang.Object[] int
31: ldc "null"
StackMap locals: com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext
StackMap stack: java.lang.Object[] java.lang.Object[] int java.lang.String
32: aastore
dup
iconst_1
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.baseUri:Ljava/lang/String;
aastore
33: astore 1
start local 1 34: new com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException
dup
ldc "utils.resolver.noClass"
aload 1
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.uriToResolve:Ljava/lang/String;
aload 0
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.baseUri:Ljava/lang/String;
invokespecial com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException.<init>:(Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 context Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverContext;
3 24 2 resolver Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;
4 24 4 resolverTmp Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;
7 8 5 tmp Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;
10 11 5 e Ljava/lang/InstantiationException;
12 13 5 e Ljava/lang/IllegalAccessException;
19 22 5 exArgs [Ljava/lang/Object;
34 35 1 exArgs [Ljava/lang/Object;
Exception table:
from to target type
5 8 9 Class java.lang.InstantiationException
5 8 11 Class java.lang.IllegalAccessException
1 23 27 any
24 26 27 any
27 28 27 any
Exceptions:
throws com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException
Signature: <N:Ljava/lang/Object;>(Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverContext;)Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;
MethodParameters:
Name Flags
context
public static com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver getInstance(org.w3c.dom.Attr, java.lang.String, java.util.List<com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver>);
descriptor: (Lorg/w3c/dom/Attr;Ljava/lang/String;Ljava/util/List;)Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
invokestatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.getInstance:(Lorg/w3c/dom/Attr;Ljava/lang/String;Ljava/util/List;Z)Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 uri Lorg/w3c/dom/Attr;
0 1 1 baseURI Ljava/lang/String;
0 1 2 individualResolvers Ljava/util/List<Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;>;
Exceptions:
throws com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException
Signature: (Lorg/w3c/dom/Attr;Ljava/lang/String;Ljava/util/List<Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;>;)Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;
MethodParameters:
Name Flags
uri
baseURI
individualResolvers
public static com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver getInstance(org.w3c.dom.Attr, java.lang.String, java.util.List<com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver>, boolean);
descriptor: (Lorg/w3c/dom/Attr;Ljava/lang/String;Ljava/util/List;Z)Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.LOG:Lcom/sun/org/slf4j/internal/Logger;
1: ldc "I was asked to create a ResourceResolver and got {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
2: aload 2
ifnonnull 3
iconst_0
goto 4
StackMap locals: org.w3c.dom.Attr java.lang.String java.util.List int
StackMap stack: com.sun.org.slf4j.internal.Logger java.lang.String java.lang.Object[] java.lang.Object[] int
3: aload 2
invokeinterface java.util.List.size:()I
StackMap locals: org.w3c.dom.Attr java.lang.String java.util.List int
StackMap stack: com.sun.org.slf4j.internal.Logger java.lang.String java.lang.Object[] java.lang.Object[] int int
4: invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
5: invokevirtual com.sun.org.slf4j.internal.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
6: new com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext
dup
aload 0
aload 1
iload 3
invokespecial com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.<init>:(Lorg/w3c/dom/Attr;Ljava/lang/String;Z)V
astore 4
start local 4 7: aload 2
ifnull 18
8: iconst_0
istore 5
start local 5 9: goto 17
10: StackMap locals: com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext int
StackMap stack:
aload 2
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver
astore 6
start local 6 11: aload 6
ifnull 16
12: aload 6
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolverSpi:Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 7
start local 7 13: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.LOG:Lcom/sun/org/slf4j/internal/Logger;
ldc "check resolvability by class {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 7
aastore
invokevirtual com.sun.org.slf4j.internal.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
14: aload 6
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.canResolve:(Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverContext;)Z
ifeq 16
15: aload 6
areturn
end local 7 end local 6 16: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
17: iload 5
aload 2
invokeinterface java.util.List.size:()I
if_icmplt 10
end local 5 18: StackMap locals:
StackMap stack:
aload 4
invokestatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.internalGetInstance:(Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverContext;)Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 uri Lorg/w3c/dom/Attr;
0 19 1 baseURI Ljava/lang/String;
0 19 2 individualResolvers Ljava/util/List<Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;>;
0 19 3 secureValidation Z
7 19 4 context Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverContext;
9 18 5 i I
11 16 6 resolver Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;
13 16 7 currentClass Ljava/lang/String;
Exceptions:
throws com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException
Signature: (Lorg/w3c/dom/Attr;Ljava/lang/String;Ljava/util/List<Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;>;Z)Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;
MethodParameters:
Name Flags
uri
baseURI
individualResolvers
secureValidation
public static void register(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: invokestatic com.sun.org.apache.xml.internal.security.utils.JavaUtils.checkRegisterPermission:()V
1: aload 0
ldc Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;
invokestatic com.sun.org.apache.xml.internal.security.utils.resolver.ClassLoaderUtils.loadClass:(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Class;
2: astore 1
start local 1 3: aload 1
iconst_0
invokestatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.register:(Ljava/lang/Class;Z)V
end local 1 4: goto 7
StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
5: pop
6: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.LOG:Lcom/sun/org/slf4j/internal/Logger;
new java.lang.StringBuilder
dup
ldc "Error loading resolver "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " disabling it"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.org.slf4j.internal.Logger.warn:(Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 className Ljava/lang/String;
3 4 1 resourceResolverClass Ljava/lang/Class<Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;>;
Exception table:
from to target type
1 4 5 Class java.lang.ClassNotFoundException
MethodParameters:
Name Flags
className
public static void registerAtStart(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: invokestatic com.sun.org.apache.xml.internal.security.utils.JavaUtils.checkRegisterPermission:()V
1: aload 0
ldc Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;
invokestatic com.sun.org.apache.xml.internal.security.utils.resolver.ClassLoaderUtils.loadClass:(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Class;
2: astore 1
start local 1 3: aload 1
iconst_1
invokestatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.register:(Ljava/lang/Class;Z)V
end local 1 4: goto 7
StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
5: pop
6: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.LOG:Lcom/sun/org/slf4j/internal/Logger;
new java.lang.StringBuilder
dup
ldc "Error loading resolver "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " disabling it"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.org.slf4j.internal.Logger.warn:(Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 className Ljava/lang/String;
3 4 1 resourceResolverClass Ljava/lang/Class<Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;>;
Exception table:
from to target type
1 4 5 Class java.lang.ClassNotFoundException
MethodParameters:
Name Flags
className
public static void register(java.lang.Class<? extends com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi>, );
descriptor: (Ljava/lang/Class;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: invokestatic com.sun.org.apache.xml.internal.security.utils.JavaUtils.checkRegisterPermission:()V
1: aload 0
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi
astore 2
start local 2 2: aload 2
iload 1
invokestatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.register:(Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;Z)V
end local 2 3: goto 8
StackMap locals:
StackMap stack: java.lang.IllegalAccessException
4: pop
5: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.LOG:Lcom/sun/org/slf4j/internal/Logger;
new java.lang.StringBuilder
dup
ldc "Error loading resolver "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " disabling it"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.org.slf4j.internal.Logger.warn:(Ljava/lang/String;)V
goto 8
6: StackMap locals:
StackMap stack: java.lang.InstantiationException
pop
7: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.LOG:Lcom/sun/org/slf4j/internal/Logger;
new java.lang.StringBuilder
dup
ldc "Error loading resolver "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " disabling it"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.org.slf4j.internal.Logger.warn:(Ljava/lang/String;)V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 className Ljava/lang/Class<+Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;>;
0 9 1 start Z
2 3 2 resourceResolverSpi Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
Exception table:
from to target type
1 3 4 Class java.lang.IllegalAccessException
1 3 6 Class java.lang.InstantiationException
Signature: (Ljava/lang/Class<+Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;>;Z)V
MethodParameters:
Name Flags
className
start
public static void register(com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi, boolean);
descriptor: (Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: invokestatic com.sun.org.apache.xml.internal.security.utils.JavaUtils.checkRegisterPermission:()V
1: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolverList:Ljava/util/List;
dup
astore 2
monitorenter
2: iload 1
ifeq 5
3: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolverList:Ljava/util/List;
iconst_0
new com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver
dup
aload 0
invokespecial com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.<init>:(Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;)V
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
4: goto 6
5: StackMap locals: java.util.List
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolverList:Ljava/util/List;
new com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver
dup
aload 0
invokespecial com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.<init>:(Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: StackMap locals:
StackMap stack:
aload 2
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 2
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.LOG:Lcom/sun/org/slf4j/internal/Logger;
ldc "Registered resolver: {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
invokevirtual com.sun.org.slf4j.internal.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 resourceResolverSpi Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
0 12 1 start Z
Exception table:
from to target type
2 7 8 any
8 9 8 any
MethodParameters:
Name Flags
resourceResolverSpi
start
public static void registerDefaultResolvers();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolverList:Ljava/util/List;
dup
astore 0
monitorenter
1: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolverList:Ljava/util/List;
new com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver
dup
new com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverFragment
dup
invokespecial com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverFragment.<init>:()V
invokespecial com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.<init>:(Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolverList:Ljava/util/List;
new com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver
dup
new com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverLocalFilesystem
dup
invokespecial com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverLocalFilesystem.<init>:()V
invokespecial com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.<init>:(Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolverList:Ljava/util/List;
new com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver
dup
new com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverXPointer
dup
invokespecial com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverXPointer.<init>:()V
invokespecial com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.<init>:(Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: getstatic com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolverList:Ljava/util/List;
new com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver
dup
new com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP
dup
invokespecial com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverDirectHTTP.<init>:()V
invokespecial com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.<init>:(Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: aload 0
monitorexit
6: goto 9
StackMap locals: java.util.List
StackMap stack: java.lang.Throwable
7: aload 0
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
1 6 7 any
7 8 7 any
public com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput resolve(org.w3c.dom.Attr, java.lang.String, boolean);
descriptor: (Lorg/w3c/dom/Attr;Ljava/lang/String;Z)Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext
dup
aload 1
aload 2
iload 3
invokespecial com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext.<init>:(Lorg/w3c/dom/Attr;Ljava/lang/String;Z)V
astore 4
start local 4 1: aload 0
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolverSpi:Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.engineResolveURI:(Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverContext;)Lcom/sun/org/apache/xml/internal/security/signature/XMLSignatureInput;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;
0 2 1 uri Lorg/w3c/dom/Attr;
0 2 2 baseURI Ljava/lang/String;
0 2 3 secureValidation Z
1 2 4 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
uri
baseURI
secureValidation
public void setProperty(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.ResourceResolver.resolverSpi:Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
aload 1
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.engineSetProperty:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;
0 2 1 key Ljava/lang/String;
0 2 2 value Ljava/lang/String;
MethodParameters:
Name Flags
key
value
public java.lang.String getProperty(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.ResourceResolver.resolverSpi:Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.engineGetProperty:(Ljava/lang/String;)Ljava/lang/String;
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/ResourceResolver;
0 1 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public void addProperties(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)V
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.ResourceResolver.resolverSpi:Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.engineAddProperies:(Ljava/util/Map;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolver;
0 2 1 properties Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
properties
public java.lang.String[] getPropertyKeys();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolverSpi:Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
invokevirtual com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.engineGetPropertyKeys:()[Ljava/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/ResourceResolver;
public boolean understandsProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Z
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.ResourceResolver.resolverSpi:Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.understandsProperty:(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/ResourceResolver;
0 1 1 propertyToTest Ljava/lang/String;
MethodParameters:
Name Flags
propertyToTest
private boolean canResolve(com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverContext);
descriptor: (Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverContext;)Z
flags: (0x0002) ACC_PRIVATE
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.ResourceResolver.resolverSpi:Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverSpi;
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi.engineCanResolveURI:(Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverContext;)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/ResourceResolver;
0 1 1 context Lcom/sun/org/apache/xml/internal/security/utils/resolver/ResourceResolverContext;
MethodParameters:
Name Flags
context
}
SourceFile: "ResourceResolver.java"