public class org.springframework.beans.factory.xml.XmlReaderContext extends org.springframework.beans.factory.parsing.ReaderContext
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.beans.factory.xml.XmlReaderContext
super_class: org.springframework.beans.factory.parsing.ReaderContext
{
private final org.springframework.beans.factory.xml.XmlBeanDefinitionReader reader;
descriptor: Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.beans.factory.xml.NamespaceHandlerResolver namespaceHandlerResolver;
descriptor: Lorg/springframework/beans/factory/xml/NamespaceHandlerResolver;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.springframework.core.io.Resource, org.springframework.beans.factory.parsing.ProblemReporter, org.springframework.beans.factory.parsing.ReaderEventListener, org.springframework.beans.factory.parsing.SourceExtractor, org.springframework.beans.factory.xml.XmlBeanDefinitionReader, org.springframework.beans.factory.xml.NamespaceHandlerResolver);
descriptor: (Lorg/springframework/core/io/Resource;Lorg/springframework/beans/factory/parsing/ProblemReporter;Lorg/springframework/beans/factory/parsing/ReaderEventListener;Lorg/springframework/beans/factory/parsing/SourceExtractor;Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;Lorg/springframework/beans/factory/xml/NamespaceHandlerResolver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial org.springframework.beans.factory.parsing.ReaderContext.<init>:(Lorg/springframework/core/io/Resource;Lorg/springframework/beans/factory/parsing/ProblemReporter;Lorg/springframework/beans/factory/parsing/ReaderEventListener;Lorg/springframework/beans/factory/parsing/SourceExtractor;)V
1: aload 0
aload 5
putfield org.springframework.beans.factory.xml.XmlReaderContext.reader:Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
2: aload 0
aload 6
putfield org.springframework.beans.factory.xml.XmlReaderContext.namespaceHandlerResolver:Lorg/springframework/beans/factory/xml/NamespaceHandlerResolver;
3: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/beans/factory/xml/XmlReaderContext;
0 4 1 resource Lorg/springframework/core/io/Resource;
0 4 2 problemReporter Lorg/springframework/beans/factory/parsing/ProblemReporter;
0 4 3 eventListener Lorg/springframework/beans/factory/parsing/ReaderEventListener;
0 4 4 sourceExtractor Lorg/springframework/beans/factory/parsing/SourceExtractor;
0 4 5 reader Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 4 6 namespaceHandlerResolver Lorg/springframework/beans/factory/xml/NamespaceHandlerResolver;
MethodParameters:
Name Flags
resource
problemReporter
eventListener
sourceExtractor
reader
namespaceHandlerResolver
public final org.springframework.beans.factory.xml.XmlBeanDefinitionReader getReader();
descriptor: ()Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.beans.factory.xml.XmlReaderContext.reader:Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/XmlReaderContext;
public final org.springframework.beans.factory.support.BeanDefinitionRegistry getRegistry();
descriptor: ()Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.beans.factory.xml.XmlReaderContext.reader:Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getRegistry:()Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/XmlReaderContext;
public final org.springframework.core.io.ResourceLoader getResourceLoader();
descriptor: ()Lorg/springframework/core/io/ResourceLoader;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.beans.factory.xml.XmlReaderContext.reader:Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getResourceLoader:()Lorg/springframework/core/io/ResourceLoader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/XmlReaderContext;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public final java.lang.ClassLoader getBeanClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.beans.factory.xml.XmlReaderContext.reader:Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getBeanClassLoader:()Ljava/lang/ClassLoader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/XmlReaderContext;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public final org.springframework.core.env.Environment getEnvironment();
descriptor: ()Lorg/springframework/core/env/Environment;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.beans.factory.xml.XmlReaderContext.reader:Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getEnvironment:()Lorg/springframework/core/env/Environment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/XmlReaderContext;
public final org.springframework.beans.factory.xml.NamespaceHandlerResolver getNamespaceHandlerResolver();
descriptor: ()Lorg/springframework/beans/factory/xml/NamespaceHandlerResolver;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.beans.factory.xml.XmlReaderContext.namespaceHandlerResolver:Lorg/springframework/beans/factory/xml/NamespaceHandlerResolver;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/XmlReaderContext;
public java.lang.String generateBeanName(org.springframework.beans.factory.config.BeanDefinition);
descriptor: (Lorg/springframework/beans/factory/config/BeanDefinition;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.beans.factory.xml.XmlReaderContext.reader:Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getBeanNameGenerator:()Lorg/springframework/beans/factory/support/BeanNameGenerator;
aload 1
aload 0
invokevirtual org.springframework.beans.factory.xml.XmlReaderContext.getRegistry:()Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
invokeinterface org.springframework.beans.factory.support.BeanNameGenerator.generateBeanName:(Lorg/springframework/beans/factory/config/BeanDefinition;Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/XmlReaderContext;
0 1 1 beanDefinition Lorg/springframework/beans/factory/config/BeanDefinition;
MethodParameters:
Name Flags
beanDefinition
public java.lang.String registerWithGeneratedName(org.springframework.beans.factory.config.BeanDefinition);
descriptor: (Lorg/springframework/beans/factory/config/BeanDefinition;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.springframework.beans.factory.xml.XmlReaderContext.generateBeanName:(Lorg/springframework/beans/factory/config/BeanDefinition;)Ljava/lang/String;
astore 2
start local 2 1: aload 0
invokevirtual org.springframework.beans.factory.xml.XmlReaderContext.getRegistry:()Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
aload 2
aload 1
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.registerBeanDefinition:(Ljava/lang/String;Lorg/springframework/beans/factory/config/BeanDefinition;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/beans/factory/xml/XmlReaderContext;
0 3 1 beanDefinition Lorg/springframework/beans/factory/config/BeanDefinition;
1 3 2 generatedName Ljava/lang/String;
MethodParameters:
Name Flags
beanDefinition
public org.w3c.dom.Document readDocumentFromString(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/w3c/dom/Document;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: new org.xml.sax.InputSource
dup
new java.io.StringReader
dup
aload 1
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
invokespecial org.xml.sax.InputSource.<init>:(Ljava/io/Reader;)V
astore 2
start local 2 1: aload 0
getfield org.springframework.beans.factory.xml.XmlReaderContext.reader:Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
aload 2
aload 0
invokevirtual org.springframework.beans.factory.xml.XmlReaderContext.getResource:()Lorg/springframework/core/io/Resource;
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadDocument:(Lorg/xml/sax/InputSource;Lorg/springframework/core/io/Resource;)Lorg/w3c/dom/Document;
2: areturn
3: StackMap locals: org.springframework.beans.factory.xml.XmlReaderContext java.lang.String org.xml.sax.InputSource
StackMap stack: java.lang.Exception
astore 3
start local 3 4: new org.springframework.beans.factory.BeanDefinitionStoreException
dup
ldc "Failed to read XML document"
aload 3
invokespecial org.springframework.beans.factory.BeanDefinitionStoreException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/beans/factory/xml/XmlReaderContext;
0 5 1 documentContent Ljava/lang/String;
1 5 2 is Lorg/xml/sax/InputSource;
4 5 3 ex Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
MethodParameters:
Name Flags
documentContent
}
SourceFile: "XmlReaderContext.java"