public class org.springframework.beans.factory.xml.DelegatingEntityResolver 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.DelegatingEntityResolver
super_class: java.lang.Object
{
public static final java.lang.String DTD_SUFFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: ".dtd"
public static final java.lang.String XSD_SUFFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: ".xsd"
private final org.xml.sax.EntityResolver dtdResolver;
descriptor: Lorg/xml/sax/EntityResolver;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.xml.sax.EntityResolver schemaResolver;
descriptor: Lorg/xml/sax/EntityResolver;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.springframework.beans.factory.xml.BeansDtdResolver
dup
invokespecial org.springframework.beans.factory.xml.BeansDtdResolver.<init>:()V
putfield org.springframework.beans.factory.xml.DelegatingEntityResolver.dtdResolver:Lorg/xml/sax/EntityResolver;
2: aload 0
new org.springframework.beans.factory.xml.PluggableSchemaResolver
dup
aload 1
invokespecial org.springframework.beans.factory.xml.PluggableSchemaResolver.<init>:(Ljava/lang/ClassLoader;)V
putfield org.springframework.beans.factory.xml.DelegatingEntityResolver.schemaResolver:Lorg/xml/sax/EntityResolver;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/beans/factory/xml/DelegatingEntityResolver;
0 4 1 classLoader Ljava/lang/ClassLoader;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
classLoader
public void <init>(org.xml.sax.EntityResolver, org.xml.sax.EntityResolver);
descriptor: (Lorg/xml/sax/EntityResolver;Lorg/xml/sax/EntityResolver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ldc "'dtdResolver' is required"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 2
ldc "'schemaResolver' is required"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 0
aload 1
putfield org.springframework.beans.factory.xml.DelegatingEntityResolver.dtdResolver:Lorg/xml/sax/EntityResolver;
4: aload 0
aload 2
putfield org.springframework.beans.factory.xml.DelegatingEntityResolver.schemaResolver:Lorg/xml/sax/EntityResolver;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/beans/factory/xml/DelegatingEntityResolver;
0 6 1 dtdResolver Lorg/xml/sax/EntityResolver;
0 6 2 schemaResolver Lorg/xml/sax/EntityResolver;
MethodParameters:
Name Flags
dtdResolver
schemaResolver
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=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 5
1: aload 2
ldc ".dtd"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 3
2: aload 0
getfield org.springframework.beans.factory.xml.DelegatingEntityResolver.dtdResolver:Lorg/xml/sax/EntityResolver;
aload 1
aload 2
invokeinterface org.xml.sax.EntityResolver.resolveEntity:(Ljava/lang/String;Ljava/lang/String;)Lorg/xml/sax/InputSource;
areturn
3: StackMap locals:
StackMap stack:
aload 2
ldc ".xsd"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 5
4: aload 0
getfield org.springframework.beans.factory.xml.DelegatingEntityResolver.schemaResolver:Lorg/xml/sax/EntityResolver;
aload 1
aload 2
invokeinterface org.xml.sax.EntityResolver.resolveEntity:(Ljava/lang/String;Ljava/lang/String;)Lorg/xml/sax/InputSource;
areturn
5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/beans/factory/xml/DelegatingEntityResolver;
0 6 1 publicId Ljava/lang/String;
0 6 2 systemId Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException, 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=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "EntityResolver delegating .xsd to "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.springframework.beans.factory.xml.DelegatingEntityResolver.schemaResolver:Lorg/xml/sax/EntityResolver;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
1: ldc " and "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".dtd"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.springframework.beans.factory.xml.DelegatingEntityResolver.dtdResolver:Lorg/xml/sax/EntityResolver;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/beans/factory/xml/DelegatingEntityResolver;
}
SourceFile: "DelegatingEntityResolver.java"