public class com.sun.tools.internal.xjc.reader.xmlschema.parser.SchemaConstraintChecker
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.internal.xjc.reader.xmlschema.parser.SchemaConstraintChecker
super_class: java.lang.Object
{
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 Lcom/sun/tools/internal/xjc/reader/xmlschema/parser/SchemaConstraintChecker;
public static boolean check(org.xml.sax.InputSource[], com.sun.tools.internal.xjc.ErrorReceiver, org.xml.sax.EntityResolver, boolean);
descriptor: ([Lorg/xml/sax/InputSource;Lcom/sun/tools/internal/xjc/ErrorReceiver;Lorg/xml/sax/EntityResolver;Z)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new com.sun.tools.internal.xjc.util.ErrorReceiverFilter
dup
aload 1
invokespecial com.sun.tools.internal.xjc.util.ErrorReceiverFilter.<init>:(Lcom/sun/tools/internal/xjc/api/ErrorListener;)V
astore 4
start local 4 1: iconst_0
istore 5
start local 5 2: ldc "http://www.w3.org/2001/XMLSchema"
iload 3
invokestatic com.sun.xml.internal.bind.v2.util.XmlFactory.createSchemaFactory:(Ljava/lang/String;Z)Ljavax/xml/validation/SchemaFactory;
astore 6
start local 6 3: aload 6
ldc "all"
iload 3
invokestatic com.sun.xml.internal.bind.v2.util.XmlFactory.allowExternalAccess:(Ljavax/xml/validation/SchemaFactory;Ljava/lang/String;Z)Ljavax/xml/validation/SchemaFactory;
pop
4: aload 6
aload 4
invokevirtual javax.xml.validation.SchemaFactory.setErrorHandler:(Lorg/xml/sax/ErrorHandler;)V
5: aload 2
ifnull 7
6: aload 6
new com.sun.tools.internal.xjc.reader.xmlschema.parser.SchemaConstraintChecker$1
dup
aload 2
invokespecial com.sun.tools.internal.xjc.reader.xmlschema.parser.SchemaConstraintChecker$1.<init>:(Lorg/xml/sax/EntityResolver;)V
invokevirtual javax.xml.validation.SchemaFactory.setResourceResolver:(Lorg/w3c/dom/ls/LSResourceResolver;)V
7: StackMap locals: com.sun.tools.internal.xjc.util.ErrorReceiverFilter int javax.xml.validation.SchemaFactory
StackMap stack:
aload 6
ldc "all"
iload 3
invokestatic com.sun.xml.internal.bind.v2.util.XmlFactory.allowExternalDTDAccess:(Ljavax/xml/validation/SchemaFactory;Ljava/lang/String;Z)Ljavax/xml/validation/SchemaFactory;
pop
8: aload 6
aload 0
aload 2
invokestatic com.sun.tools.internal.xjc.reader.xmlschema.parser.SchemaConstraintChecker.getSchemaSource:([Lorg/xml/sax/InputSource;Lorg/xml/sax/EntityResolver;)[Ljavax/xml/transform/Source;
invokevirtual javax.xml.validation.SchemaFactory.newSchema:([Ljavax/xml/transform/Source;)Ljavax/xml/validation/Schema;
pop
9: goto 14
StackMap locals:
StackMap stack: org.xml.sax.SAXException
10: pop
11: iconst_1
istore 5
goto 14
12: StackMap locals:
StackMap stack: java.lang.OutOfMemoryError
pop
13: aload 1
aconst_null
ldc "SchemaConstraintChecker.UnableToCheckCorrectness"
iconst_0
anewarray java.lang.Object
invokestatic com.sun.tools.internal.xjc.reader.xmlschema.parser.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.xjc.ErrorReceiver.warning:(Lorg/xml/sax/Locator;Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
iload 5
ifne 15
aload 4
invokevirtual com.sun.tools.internal.xjc.util.ErrorReceiverFilter.hadError:()Z
ifeq 16
StackMap locals:
StackMap stack:
15: iconst_0
goto 17
StackMap locals:
StackMap stack:
16: iconst_1
StackMap locals:
StackMap stack: int
17: ireturn
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 18 0 schemas [Lorg/xml/sax/InputSource;
0 18 1 errorHandler Lcom/sun/tools/internal/xjc/ErrorReceiver;
0 18 2 entityResolver Lorg/xml/sax/EntityResolver;
0 18 3 disableXmlSecurity Z
1 18 4 errorFilter Lcom/sun/tools/internal/xjc/util/ErrorReceiverFilter;
2 18 5 hadErrors Z
3 18 6 sf Ljavax/xml/validation/SchemaFactory;
Exception table:
from to target type
7 9 10 Class org.xml.sax.SAXException
7 9 12 Class java.lang.OutOfMemoryError
MethodParameters:
Name Flags
schemas
errorHandler
entityResolver final
disableXmlSecurity
private static javax.xml.transform.Source[] getSchemaSource(org.xml.sax.InputSource[], org.xml.sax.EntityResolver);
descriptor: ([Lorg/xml/sax/InputSource;Lorg/xml/sax/EntityResolver;)[Ljavax/xml/transform/Source;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
arraylength
anewarray javax.xml.transform.sax.SAXSource
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: javax.xml.transform.sax.SAXSource[] int
StackMap stack:
aload 2
iload 3
new javax.xml.transform.sax.SAXSource
dup
aload 0
iload 3
aaload
invokespecial javax.xml.transform.sax.SAXSource.<init>:(Lorg/xml/sax/InputSource;)V
aastore
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 0
arraylength
if_icmplt 3
end local 3 6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 schemas [Lorg/xml/sax/InputSource;
0 7 1 entityResolver Lorg/xml/sax/EntityResolver;
1 7 2 sources [Ljavax/xml/transform/sax/SAXSource;
2 6 3 i I
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
schemas
entityResolver
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=3, args_size=1
start local 0 0: aload 0
arraylength
anewarray org.xml.sax.InputSource
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: org.xml.sax.InputSource[] int
StackMap stack:
aload 1
iload 2
new org.xml.sax.InputSource
dup
new java.io.File
dup
aload 0
iload 2
aaload
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.toURL:()Ljava/net/URL;
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
invokespecial org.xml.sax.InputSource.<init>:(Ljava/lang/String;)V
aastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 6: aload 1
new com.sun.tools.internal.xjc.ConsoleErrorReporter
dup
invokespecial com.sun.tools.internal.xjc.ConsoleErrorReporter.<init>:()V
aconst_null
iconst_1
invokestatic com.sun.tools.internal.xjc.reader.xmlschema.parser.SchemaConstraintChecker.check:([Lorg/xml/sax/InputSource;Lcom/sun/tools/internal/xjc/ErrorReceiver;Lorg/xml/sax/EntityResolver;Z)Z
pop
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 args [Ljava/lang/String;
1 8 1 sources [Lorg/xml/sax/InputSource;
2 6 2 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
args
}
SourceFile: "SchemaConstraintChecker.java"
NestMembers:
com.sun.tools.internal.xjc.reader.xmlschema.parser.SchemaConstraintChecker$1
InnerClasses:
com.sun.tools.internal.xjc.reader.xmlschema.parser.SchemaConstraintChecker$1