public final class org.w3c.dom.bootstrap.DOMImplementationRegistry
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.w3c.dom.bootstrap.DOMImplementationRegistry
super_class: java.lang.Object
{
public static final java.lang.String PROPERTY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "org.w3c.dom.DOMImplementationSourceList"
private static final int DEFAULT_LINE_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 80
private java.util.List<org.w3c.dom.DOMImplementationSource> sources;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/w3c/dom/DOMImplementationSource;>;
private static final java.lang.String FALLBACK_CLASS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.org.apache.xerces.internal.dom.DOMXSImplementationSourceImpl"
private static final java.lang.String DEFAULT_PACKAGE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.org.apache.xerces.internal.dom"
private void <init>(java.util.List<org.w3c.dom.DOMImplementationSource>);
descriptor: (Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
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 org.w3c.dom.bootstrap.DOMImplementationRegistry.sources:Ljava/util/List;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/w3c/dom/bootstrap/DOMImplementationRegistry;
0 3 1 srcs Ljava/util/List<Lorg/w3c/dom/DOMImplementationSource;>;
Signature: (Ljava/util/List<Lorg/w3c/dom/DOMImplementationSource;>;)V
MethodParameters:
Name Flags
srcs final
public static org.w3c.dom.bootstrap.DOMImplementationRegistry newInstance();
descriptor: ()Lorg/w3c/dom/bootstrap/DOMImplementationRegistry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=8, args_size=0
0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 0
start local 0 1: invokestatic org.w3c.dom.bootstrap.DOMImplementationRegistry.getClassLoader:()Ljava/lang/ClassLoader;
astore 1
start local 1 2: ldc "org.w3c.dom.DOMImplementationSourceList"
invokestatic org.w3c.dom.bootstrap.DOMImplementationRegistry.getSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: aload 1
invokestatic org.w3c.dom.bootstrap.DOMImplementationRegistry.getServiceValue:(Ljava/lang/ClassLoader;)Ljava/lang/String;
astore 2
5: StackMap locals: java.util.List java.lang.ClassLoader java.lang.String
StackMap stack:
aload 2
ifnonnull 7
6: ldc "com.sun.org.apache.xerces.internal.dom.DOMXSImplementationSourceImpl"
astore 2
7: StackMap locals:
StackMap stack:
aload 2
ifnull 27
8: new java.util.StringTokenizer
dup
aload 2
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 3
start local 3 9: goto 26
10: StackMap locals: java.util.StringTokenizer
StackMap stack:
aload 3
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 4
start local 4 11: iconst_0
istore 5
start local 5 12: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 15
13: aload 4
ifnull 15
aload 4
ldc "com.sun.org.apache.xerces.internal.dom"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 15
14: iconst_1
istore 5
15: StackMap locals: java.lang.String int
StackMap stack:
aconst_null
astore 6
start local 6 16: aload 1
ifnull 19
iload 5
ifne 19
17: aload 1
aload 4
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 6
18: goto 20
19: StackMap locals: java.lang.Class
StackMap stack:
aload 4
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 6
20: StackMap locals:
StackMap stack:
aload 6
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.w3c.dom.DOMImplementationSource
21: astore 7
start local 7 22: aload 0
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 23: goto 26
StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
24: astore 7
start local 7 25: new java.lang.InstantiationException
dup
aload 7
invokevirtual java.lang.ReflectiveOperationException.getMessage:()Ljava/lang/String;
invokespecial java.lang.InstantiationException.<init>:(Ljava/lang/String;)V
athrow
end local 7 end local 6 end local 5 end local 4 26: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 10
end local 3 27: StackMap locals:
StackMap stack:
new org.w3c.dom.bootstrap.DOMImplementationRegistry
dup
aload 0
invokespecial org.w3c.dom.bootstrap.DOMImplementationRegistry.<init>:(Ljava/util/List;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 28 0 sources Ljava/util/List<Lorg/w3c/dom/DOMImplementationSource;>;
2 28 1 classLoader Ljava/lang/ClassLoader;
3 28 2 p Ljava/lang/String;
9 27 3 st Ljava/util/StringTokenizer;
11 26 4 sourceName Ljava/lang/String;
12 26 5 internal Z
16 26 6 sourceClass Ljava/lang/Class<*>;
22 23 7 source Lorg/w3c/dom/DOMImplementationSource;
25 26 7 e Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
20 23 24 Class java.lang.NoSuchMethodException
20 23 24 Class java.lang.reflect.InvocationTargetException
Exceptions:
throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassCastException
public org.w3c.dom.DOMImplementation getDOMImplementation(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/w3c/dom/DOMImplementation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.w3c.dom.bootstrap.DOMImplementationRegistry.sources:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 8
3: StackMap locals: int int
StackMap stack:
aload 0
getfield org.w3c.dom.bootstrap.DOMImplementationRegistry.sources:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.w3c.dom.DOMImplementationSource
astore 4
start local 4 4: aload 4
aload 1
invokeinterface org.w3c.dom.DOMImplementationSource.getDOMImplementation:(Ljava/lang/String;)Lorg/w3c/dom/DOMImplementation;
astore 5
start local 5 5: aload 5
ifnull 7
6: aload 5
areturn
end local 5 end local 4 7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 2
if_icmplt 3
end local 3 9: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/w3c/dom/bootstrap/DOMImplementationRegistry;
0 10 1 features Ljava/lang/String;
1 10 2 size I
2 9 3 i I
4 7 4 source Lorg/w3c/dom/DOMImplementationSource;
5 7 5 impl Lorg/w3c/dom/DOMImplementation;
MethodParameters:
Name Flags
features final
public org.w3c.dom.DOMImplementationList getDOMImplementationList(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/w3c/dom/DOMImplementationList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 0
getfield org.w3c.dom.bootstrap.DOMImplementationRegistry.sources:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 14
4: StackMap locals: java.util.List int int
StackMap stack:
aload 0
getfield org.w3c.dom.bootstrap.DOMImplementationRegistry.sources:Ljava/util/List;
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.w3c.dom.DOMImplementationSource
astore 5
start local 5 5: aload 5
aload 1
invokeinterface org.w3c.dom.DOMImplementationSource.getDOMImplementationList:(Ljava/lang/String;)Lorg/w3c/dom/DOMImplementationList;
6: astore 6
start local 6 7: iconst_0
istore 7
start local 7 8: goto 12
9: StackMap locals: org.w3c.dom.DOMImplementationSource org.w3c.dom.DOMImplementationList int
StackMap stack:
aload 6
iload 7
invokeinterface org.w3c.dom.DOMImplementationList.item:(I)Lorg/w3c/dom/DOMImplementation;
astore 8
start local 8 10: aload 2
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 11: iinc 7 1
StackMap locals:
StackMap stack:
12: iload 7
aload 6
invokeinterface org.w3c.dom.DOMImplementationList.getLength:()I
if_icmplt 9
end local 7 end local 6 end local 5 13: iinc 4 1
StackMap locals:
StackMap stack:
14: iload 4
iload 3
if_icmplt 4
end local 4 15: new org.w3c.dom.bootstrap.DOMImplementationRegistry$1
dup
aload 0
aload 2
invokespecial org.w3c.dom.bootstrap.DOMImplementationRegistry$1.<init>:(Lorg/w3c/dom/bootstrap/DOMImplementationRegistry;Ljava/util/List;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/w3c/dom/bootstrap/DOMImplementationRegistry;
0 16 1 features Ljava/lang/String;
1 16 2 implementations Ljava/util/List<Lorg/w3c/dom/DOMImplementation;>;
2 16 3 size I
3 15 4 i I
5 13 5 source Lorg/w3c/dom/DOMImplementationSource;
7 13 6 impls Lorg/w3c/dom/DOMImplementationList;
8 13 7 j I
10 11 8 impl Lorg/w3c/dom/DOMImplementation;
MethodParameters:
Name Flags
features final
public void addSource(org.w3c.dom.DOMImplementationSource);
descriptor: (Lorg/w3c/dom/DOMImplementationSource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.w3c.dom.bootstrap.DOMImplementationRegistry.sources:Ljava/util/List;
aload 1
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 4
3: aload 0
getfield org.w3c.dom.bootstrap.DOMImplementationRegistry.sources:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/w3c/dom/bootstrap/DOMImplementationRegistry;
0 5 1 s Lorg/w3c/dom/DOMImplementationSource;
MethodParameters:
Name Flags
s final
private static java.lang.ClassLoader getClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: invokestatic org.w3c.dom.bootstrap.DOMImplementationRegistry.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 0
start local 0 1: aload 0
ifnull 6
2: aload 0
3: areturn
end local 0 4: StackMap locals:
StackMap stack: java.lang.Exception
pop
5: ldc Lorg/w3c/dom/bootstrap/DOMImplementationRegistry;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
areturn
6: StackMap locals:
StackMap stack:
ldc Lorg/w3c/dom/bootstrap/DOMImplementationRegistry;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
areturn
LocalVariableTable:
Start End Slot Name Signature
1 4 0 contextClassLoader Ljava/lang/ClassLoader;
Exception table:
from to target type
0 3 4 Class java.lang.Exception
private static java.lang.String getServiceValue(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: ldc "META-INF/services/org.w3c.dom.DOMImplementationSourceList"
astore 1
start local 1 1: aload 0
aload 1
invokestatic org.w3c.dom.bootstrap.DOMImplementationRegistry.getResourceAsStream:(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/io/InputStream;
astore 2
start local 2 2: aload 2
ifnull 20
3: new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 2
ldc "UTF-8"
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
4: bipush 80
5: invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;I)V
6: astore 3
start local 3 7: goto 13
end local 3 StackMap locals: java.lang.ClassLoader java.lang.String java.io.InputStream
StackMap stack: java.io.UnsupportedEncodingException
8: pop
9: new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 2
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
10: bipush 80
11: invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;I)V
12: astore 3
start local 3 13: StackMap locals: java.io.BufferedReader
StackMap stack:
aload 3
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 4
start local 4 14: aload 3
invokevirtual java.io.BufferedReader.close:()V
15: aload 4
ifnull 20
aload 4
invokevirtual java.lang.String.length:()I
ifle 20
16: aload 4
17: areturn
end local 4 end local 3 end local 2 18: StackMap locals: java.lang.ClassLoader java.lang.String
StackMap stack: java.lang.Exception
pop
19: aconst_null
areturn
20: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 classLoader Ljava/lang/ClassLoader;
1 21 1 serviceId Ljava/lang/String;
2 18 2 is Ljava/io/InputStream;
7 8 3 rd Ljava/io/BufferedReader;
13 18 3 rd Ljava/io/BufferedReader;
14 18 4 serviceValue Ljava/lang/String;
Exception table:
from to target type
3 7 8 Class java.io.UnsupportedEncodingException
1 17 18 Class java.lang.Exception
MethodParameters:
Name Flags
classLoader final
private static java.lang.ClassLoader getContextClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.w3c.dom.bootstrap.DOMImplementationRegistry$2
dup
invokespecial org.w3c.dom.bootstrap.DOMImplementationRegistry$2.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String getSystemProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.w3c.dom.bootstrap.DOMImplementationRegistry$3
dup
aload 0
invokespecial org.w3c.dom.bootstrap.DOMImplementationRegistry$3.<init>:(Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
private static java.io.InputStream getResourceAsStream(java.lang.ClassLoader, java.lang.String);
descriptor: (Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/io/InputStream;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.w3c.dom.bootstrap.DOMImplementationRegistry$4
dup
aload 0
aload 1
invokespecial org.w3c.dom.bootstrap.DOMImplementationRegistry$4.<init>:(Ljava/lang/ClassLoader;Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.io.InputStream
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 classLoader Ljava/lang/ClassLoader;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
classLoader final
name final
}
SourceFile: "DOMImplementationRegistry.java"
NestMembers:
org.w3c.dom.bootstrap.DOMImplementationRegistry$1 org.w3c.dom.bootstrap.DOMImplementationRegistry$2 org.w3c.dom.bootstrap.DOMImplementationRegistry$3 org.w3c.dom.bootstrap.DOMImplementationRegistry$4
InnerClasses:
org.w3c.dom.bootstrap.DOMImplementationRegistry$1
org.w3c.dom.bootstrap.DOMImplementationRegistry$2
org.w3c.dom.bootstrap.DOMImplementationRegistry$3
org.w3c.dom.bootstrap.DOMImplementationRegistry$4