public class org.springframework.beans.factory.xml.DefaultDocumentLoader implements org.springframework.beans.factory.xml.DocumentLoader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.beans.factory.xml.DefaultDocumentLoader
super_class: java.lang.Object
{
private static final java.lang.String SCHEMA_LANGUAGE_ATTRIBUTE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "http://java.sun.com/xml/jaxp/properties/schemaLanguage"
private static final java.lang.String XSD_SCHEMA_LANGUAGE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2001/XMLSchema"
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/DefaultDocumentLoader;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putstatic org.springframework.beans.factory.xml.DefaultDocumentLoader.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/DefaultDocumentLoader;
public org.w3c.dom.Document loadDocument(org.xml.sax.InputSource, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler, int, boolean);
descriptor: (Lorg/xml/sax/InputSource;Lorg/xml/sax/EntityResolver;Lorg/xml/sax/ErrorHandler;IZ)Lorg/w3c/dom/Document;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
iload 4
iload 5
invokevirtual org.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory:(IZ)Ljavax/xml/parsers/DocumentBuilderFactory;
astore 6
start local 6 1: getstatic org.springframework.beans.factory.xml.DefaultDocumentLoader.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isTraceEnabled:()Z
ifeq 3
2: getstatic org.springframework.beans.factory.xml.DefaultDocumentLoader.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Using JAXP provider ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
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;
invokeinterface org.apache.commons.logging.Log.trace:(Ljava/lang/Object;)V
3: StackMap locals: javax.xml.parsers.DocumentBuilderFactory
StackMap stack:
aload 0
aload 6
aload 2
aload 3
invokevirtual org.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilder:(Ljavax/xml/parsers/DocumentBuilderFactory;Lorg/xml/sax/EntityResolver;Lorg/xml/sax/ErrorHandler;)Ljavax/xml/parsers/DocumentBuilder;
astore 7
start local 7 4: aload 7
aload 1
invokevirtual javax.xml.parsers.DocumentBuilder.parse:(Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;
areturn
end local 7 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 5 0 this Lorg/springframework/beans/factory/xml/DefaultDocumentLoader;
0 5 1 inputSource Lorg/xml/sax/InputSource;
0 5 2 entityResolver Lorg/xml/sax/EntityResolver;
0 5 3 errorHandler Lorg/xml/sax/ErrorHandler;
0 5 4 validationMode I
0 5 5 namespaceAware Z
1 5 6 factory Ljavax/xml/parsers/DocumentBuilderFactory;
4 5 7 builder Ljavax/xml/parsers/DocumentBuilder;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
inputSource
entityResolver
errorHandler
validationMode
namespaceAware
protected javax.xml.parsers.DocumentBuilderFactory createDocumentBuilderFactory(int, boolean);
descriptor: (IZ)Ljavax/xml/parsers/DocumentBuilderFactory;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: invokestatic javax.xml.parsers.DocumentBuilderFactory.newInstance:()Ljavax/xml/parsers/DocumentBuilderFactory;
astore 3
start local 3 1: aload 3
iload 2
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setNamespaceAware:(Z)V
2: iload 1
ifeq 17
3: aload 3
iconst_1
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setValidating:(Z)V
4: iload 1
iconst_3
if_icmpne 17
5: aload 3
iconst_1
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setNamespaceAware:(Z)V
6: aload 3
ldc "http://java.sun.com/xml/jaxp/properties/schemaLanguage"
ldc "http://www.w3.org/2001/XMLSchema"
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
7: goto 17
8: StackMap locals: org.springframework.beans.factory.xml.DefaultDocumentLoader int int javax.xml.parsers.DocumentBuilderFactory
StackMap stack: java.lang.IllegalArgumentException
astore 4
start local 4 9: new javax.xml.parsers.ParserConfigurationException
dup
10: new java.lang.StringBuilder
dup
ldc "Unable to validate using XSD: Your JAXP provider ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
11: ldc "] does not support XML Schema. Are you running on Java 1.4 with Apache Crimson? "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: ldc "Upgrade to Apache Xerces (or Java 1.5) for full XSD support."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: invokespecial javax.xml.parsers.ParserConfigurationException.<init>:(Ljava/lang/String;)V
astore 5
start local 5 15: aload 5
aload 4
invokevirtual javax.xml.parsers.ParserConfigurationException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
16: aload 5
athrow
end local 5 end local 4 17: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/springframework/beans/factory/xml/DefaultDocumentLoader;
0 18 1 validationMode I
0 18 2 namespaceAware Z
1 18 3 factory Ljavax/xml/parsers/DocumentBuilderFactory;
9 17 4 ex Ljava/lang/IllegalArgumentException;
15 17 5 pcex Ljavax/xml/parsers/ParserConfigurationException;
Exception table:
from to target type
6 7 8 Class java.lang.IllegalArgumentException
Exceptions:
throws javax.xml.parsers.ParserConfigurationException
MethodParameters:
Name Flags
validationMode
namespaceAware
protected javax.xml.parsers.DocumentBuilder createDocumentBuilder(javax.xml.parsers.DocumentBuilderFactory, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler);
descriptor: (Ljavax/xml/parsers/DocumentBuilderFactory;Lorg/xml/sax/EntityResolver;Lorg/xml/sax/ErrorHandler;)Ljavax/xml/parsers/DocumentBuilder;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual javax.xml.parsers.DocumentBuilderFactory.newDocumentBuilder:()Ljavax/xml/parsers/DocumentBuilder;
astore 4
start local 4 1: aload 2
ifnull 3
2: aload 4
aload 2
invokevirtual javax.xml.parsers.DocumentBuilder.setEntityResolver:(Lorg/xml/sax/EntityResolver;)V
3: StackMap locals: javax.xml.parsers.DocumentBuilder
StackMap stack:
aload 3
ifnull 5
4: aload 4
aload 3
invokevirtual javax.xml.parsers.DocumentBuilder.setErrorHandler:(Lorg/xml/sax/ErrorHandler;)V
5: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/beans/factory/xml/DefaultDocumentLoader;
0 6 1 factory Ljavax/xml/parsers/DocumentBuilderFactory;
0 6 2 entityResolver Lorg/xml/sax/EntityResolver;
0 6 3 errorHandler Lorg/xml/sax/ErrorHandler;
1 6 4 docBuilder Ljavax/xml/parsers/DocumentBuilder;
Exceptions:
throws javax.xml.parsers.ParserConfigurationException
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
2:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
factory
entityResolver
errorHandler
}
SourceFile: "DefaultDocumentLoader.java"