public class org.springframework.beans.factory.xml.BeansDtdResolver implements org.xml.sax.EntityResolver
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.beans.factory.xml.BeansDtdResolver
super_class: java.lang.Object
{
private static final java.lang.String DTD_EXTENSION;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: ".dtd"
private static final java.lang.String DTD_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "spring-beans"
private static final org.apache.commons.logging.Log logger;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/springframework/beans/factory/xml/BeansDtdResolver;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putstatic org.springframework.beans.factory.xml.BeansDtdResolver.logger:Lorg/apache/commons/logging/Log;
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 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/BeansDtdResolver;
public org.xml.sax.InputSource resolveEntity(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/xml/sax/InputSource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.springframework.beans.factory.xml.BeansDtdResolver.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isTraceEnabled:()Z
ifeq 4
1: getstatic org.springframework.beans.factory.xml.BeansDtdResolver.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Trying to resolve XML entity with public ID ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc "] and system ID ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokeinterface org.apache.commons.logging.Log.trace:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 2
ifnull 22
aload 2
ldc ".dtd"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 22
5: aload 2
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 3
start local 3 6: aload 2
ldc "spring-beans"
iload 3
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
istore 4
start local 4 7: iload 4
iconst_m1
if_icmpeq 22
8: ldc "spring-beans.dtd"
astore 5
start local 5 9: getstatic org.springframework.beans.factory.xml.BeansDtdResolver.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isTraceEnabled:()Z
ifeq 11
10: getstatic org.springframework.beans.factory.xml.BeansDtdResolver.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Trying to locate ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] in Spring jar on classpath"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.trace:(Ljava/lang/Object;)V
11: StackMap locals: int int java.lang.String
StackMap stack:
new org.springframework.core.io.ClassPathResource
dup
aload 5
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokespecial org.springframework.core.io.ClassPathResource.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
astore 6
start local 6 12: new org.xml.sax.InputSource
dup
aload 6
invokeinterface org.springframework.core.io.Resource.getInputStream:()Ljava/io/InputStream;
invokespecial org.xml.sax.InputSource.<init>:(Ljava/io/InputStream;)V
astore 7
start local 7 13: aload 7
aload 1
invokevirtual org.xml.sax.InputSource.setPublicId:(Ljava/lang/String;)V
14: aload 7
aload 2
invokevirtual org.xml.sax.InputSource.setSystemId:(Ljava/lang/String;)V
15: getstatic org.springframework.beans.factory.xml.BeansDtdResolver.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isTraceEnabled:()Z
ifeq 17
16: getstatic org.springframework.beans.factory.xml.BeansDtdResolver.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Found beans DTD ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] in classpath: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.trace:(Ljava/lang/Object;)V
17: StackMap locals: org.springframework.core.io.Resource org.xml.sax.InputSource
StackMap stack:
aload 7
18: areturn
end local 7 end local 6 19: StackMap locals: org.springframework.beans.factory.xml.BeansDtdResolver java.lang.String java.lang.String int int java.lang.String
StackMap stack: java.io.FileNotFoundException
astore 6
start local 6 20: getstatic org.springframework.beans.factory.xml.BeansDtdResolver.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 22
21: getstatic org.springframework.beans.factory.xml.BeansDtdResolver.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Could not resolve beans DTD ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]: not found in classpath"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 6
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 6 end local 5 end local 4 end local 3 22: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/springframework/beans/factory/xml/BeansDtdResolver;
0 23 1 publicId Ljava/lang/String;
0 23 2 systemId Ljava/lang/String;
6 22 3 lastPathSeparator I
7 22 4 dtdNameStart I
9 22 5 dtdFile Ljava/lang/String;
12 19 6 resource Lorg/springframework/core/io/Resource;
13 19 7 source Lorg/xml/sax/InputSource;
20 22 6 ex Ljava/io/FileNotFoundException;
Exception table:
from to target type
11 18 19 Class java.io.FileNotFoundException
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
publicId
systemId
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "EntityResolver for spring-beans DTD"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/BeansDtdResolver;
}
SourceFile: "BeansDtdResolver.java"