public final class com.sun.tools.internal.xjc.reader.internalizer.DOMForest
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.tools.internal.xjc.reader.internalizer.DOMForest
super_class: java.lang.Object
{
private final java.util.Map<java.lang.String, org.w3c.dom.Document> core;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/w3c/dom/Document;>;
private final java.util.Set<java.lang.String> rootDocuments;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
public final com.sun.tools.internal.xjc.reader.internalizer.LocatorTable locatorTable;
descriptor: Lcom/sun/tools/internal/xjc/reader/internalizer/LocatorTable;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.util.Set<org.w3c.dom.Element> outerMostBindings;
descriptor: Ljava/util/Set;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/Set<Lorg/w3c/dom/Element;>;
private org.xml.sax.EntityResolver entityResolver;
descriptor: Lorg/xml/sax/EntityResolver;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.internal.xjc.ErrorReceiver errorReceiver;
descriptor: Lcom/sun/tools/internal/xjc/ErrorReceiver;
flags: (0x0002) ACC_PRIVATE
protected final com.sun.tools.internal.xjc.reader.internalizer.InternalizationLogic logic;
descriptor: Lcom/sun/tools/internal/xjc/reader/internalizer/InternalizationLogic;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final javax.xml.parsers.SAXParserFactory parserFactory;
descriptor: Ljavax/xml/parsers/SAXParserFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.xml.parsers.DocumentBuilder documentBuilder;
descriptor: Ljavax/xml/parsers/DocumentBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.tools.internal.xjc.Options options;
descriptor: Lcom/sun/tools/internal/xjc/Options;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(javax.xml.parsers.SAXParserFactory, javax.xml.parsers.DocumentBuilder, com.sun.tools.internal.xjc.reader.internalizer.InternalizationLogic);
descriptor: (Ljavax/xml/parsers/SAXParserFactory;Ljavax/xml/parsers/DocumentBuilder;Lcom/sun/tools/internal/xjc/reader/internalizer/InternalizationLogic;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.core:Ljava/util/Map;
2: aload 0
new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.rootDocuments:Ljava/util/Set;
3: aload 0
new com.sun.tools.internal.xjc.reader.internalizer.LocatorTable
dup
invokespecial com.sun.tools.internal.xjc.reader.internalizer.LocatorTable.<init>:()V
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.locatorTable:Lcom/sun/tools/internal/xjc/reader/internalizer/LocatorTable;
4: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.outerMostBindings:Ljava/util/Set;
5: aload 0
aconst_null
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.entityResolver:Lorg/xml/sax/EntityResolver;
6: aload 0
aconst_null
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.errorReceiver:Lcom/sun/tools/internal/xjc/ErrorReceiver;
7: aload 0
aload 1
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.parserFactory:Ljavax/xml/parsers/SAXParserFactory;
8: aload 0
aload 2
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.documentBuilder:Ljavax/xml/parsers/DocumentBuilder;
9: aload 0
aload 3
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.logic:Lcom/sun/tools/internal/xjc/reader/internalizer/InternalizationLogic;
10: aload 0
aconst_null
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.options:Lcom/sun/tools/internal/xjc/Options;
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
0 12 1 parserFactory Ljavax/xml/parsers/SAXParserFactory;
0 12 2 documentBuilder Ljavax/xml/parsers/DocumentBuilder;
0 12 3 logic Lcom/sun/tools/internal/xjc/reader/internalizer/InternalizationLogic;
MethodParameters:
Name Flags
parserFactory
documentBuilder
logic
public void <init>(com.sun.tools.internal.xjc.reader.internalizer.InternalizationLogic, com.sun.tools.internal.xjc.Options);
descriptor: (Lcom/sun/tools/internal/xjc/reader/internalizer/InternalizationLogic;Lcom/sun/tools/internal/xjc/Options;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.core:Ljava/util/Map;
2: aload 0
new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.rootDocuments:Ljava/util/Set;
3: aload 0
new com.sun.tools.internal.xjc.reader.internalizer.LocatorTable
dup
invokespecial com.sun.tools.internal.xjc.reader.internalizer.LocatorTable.<init>:()V
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.locatorTable:Lcom/sun/tools/internal/xjc/reader/internalizer/LocatorTable;
4: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.outerMostBindings:Ljava/util/Set;
5: aload 0
aconst_null
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.entityResolver:Lorg/xml/sax/EntityResolver;
6: aload 0
aconst_null
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.errorReceiver:Lcom/sun/tools/internal/xjc/ErrorReceiver;
7: aload 2
ifnonnull 8
new java.lang.AssertionError
dup
ldc "Options object null"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
8: StackMap locals: com.sun.tools.internal.xjc.reader.internalizer.DOMForest com.sun.tools.internal.xjc.reader.internalizer.InternalizationLogic com.sun.tools.internal.xjc.Options
StackMap stack:
aload 0
aload 2
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.options:Lcom/sun/tools/internal/xjc/Options;
9: aload 2
getfield com.sun.tools.internal.xjc.Options.disableXmlSecurity:Z
invokestatic com.sun.xml.internal.bind.v2.util.XmlFactory.createDocumentBuilderFactory:(Z)Ljavax/xml/parsers/DocumentBuilderFactory;
astore 3
start local 3 10: aload 0
aload 3
invokevirtual javax.xml.parsers.DocumentBuilderFactory.newDocumentBuilder:()Ljavax/xml/parsers/DocumentBuilder;
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.documentBuilder:Ljavax/xml/parsers/DocumentBuilder;
11: aload 0
aload 2
getfield com.sun.tools.internal.xjc.Options.disableXmlSecurity:Z
invokestatic com.sun.xml.internal.bind.v2.util.XmlFactory.createParserFactory:(Z)Ljavax/xml/parsers/SAXParserFactory;
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.parserFactory:Ljavax/xml/parsers/SAXParserFactory;
end local 3 12: goto 15
StackMap locals:
StackMap stack: javax.xml.parsers.ParserConfigurationException
13: astore 3
start local 3 14: new java.lang.AssertionError
dup
aload 3
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 3 15: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.logic:Lcom/sun/tools/internal/xjc/reader/internalizer/InternalizationLogic;
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
0 17 1 logic Lcom/sun/tools/internal/xjc/reader/internalizer/InternalizationLogic;
0 17 2 opt Lcom/sun/tools/internal/xjc/Options;
10 12 3 dbf Ljavax/xml/parsers/DocumentBuilderFactory;
14 15 3 e Ljavax/xml/parsers/ParserConfigurationException;
Exception table:
from to target type
9 12 13 Class javax.xml.parsers.ParserConfigurationException
MethodParameters:
Name Flags
logic
opt
public org.w3c.dom.Document get(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/w3c/dom/Document;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.core:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.w3c.dom.Document
astore 2
start local 2 1: aload 2
ifnonnull 3
aload 1
ldc "file:/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 3
aload 1
ldc "file://"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 3
2: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.core:Ljava/util/Map;
new java.lang.StringBuilder
dup
ldc "file://"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
iconst_5
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.w3c.dom.Document
astore 2
3: StackMap locals: org.w3c.dom.Document
StackMap stack:
aload 2
ifnonnull 11
aload 1
ldc "file:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 11
4: aload 0
aload 1
invokevirtual com.sun.tools.internal.xjc.reader.internalizer.DOMForest.getPath:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 5: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.core:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 10
StackMap locals: com.sun.tools.internal.xjc.reader.internalizer.DOMForest java.lang.String org.w3c.dom.Document java.lang.String top java.util.Iterator
StackMap stack:
6: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 7: aload 4
ldc "file:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 10
aload 0
aload 4
invokevirtual com.sun.tools.internal.xjc.reader.internalizer.DOMForest.getPath:(Ljava/lang/String;)Ljava/lang/String;
aload 3
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
8: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.core:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.w3c.dom.Document
astore 2
9: goto 11
end local 4 10: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 3 11: StackMap locals: com.sun.tools.internal.xjc.reader.internalizer.DOMForest java.lang.String org.w3c.dom.Document
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
0 12 1 systemId Ljava/lang/String;
1 12 2 doc Lorg/w3c/dom/Document;
5 11 3 systemPath Ljava/lang/String;
7 10 4 key Ljava/lang/String;
MethodParameters:
Name Flags
systemId
private java.lang.String getPath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
iconst_5
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
1: goto 3
2: StackMap locals:
StackMap stack:
aload 1
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
ifle 4
aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpeq 2
4: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
0 5 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public java.util.Set<java.lang.String> getRootDocuments();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.rootDocuments:Ljava/util/Set;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public org.w3c.dom.Document getOneDocument();
descriptor: ()Lorg/w3c/dom/Document;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.core:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: com.sun.tools.internal.xjc.reader.internalizer.DOMForest top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.w3c.dom.Document
astore 1
start local 1 2: aload 1
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
invokeinterface org.w3c.dom.Element.getNamespaceURI:()Ljava/lang/String;
ldc "http://java.sun.com/xml/ns/jaxb"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
3: aload 1
areturn
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
2 4 1 dom Lorg/w3c/dom/Document;
public boolean checkSchemaCorrectness(com.sun.tools.internal.xjc.ErrorReceiver);
descriptor: (Lcom/sun/tools/internal/xjc/ErrorReceiver;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.options:Lcom/sun/tools/internal/xjc/Options;
ifnull 3
2: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.options:Lcom/sun/tools/internal/xjc/Options;
getfield com.sun.tools.internal.xjc.Options.disableXmlSecurity:Z
istore 2
3: StackMap locals: int
StackMap stack:
ldc "http://www.w3.org/2001/XMLSchema"
iload 2
invokestatic com.sun.xml.internal.bind.v2.util.XmlFactory.createSchemaFactory:(Ljava/lang/String;Z)Ljavax/xml/validation/SchemaFactory;
astore 3
start local 3 4: 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 5: aload 3
aload 4
invokevirtual javax.xml.validation.SchemaFactory.setErrorHandler:(Lorg/xml/sax/ErrorHandler;)V
6: aload 0
invokevirtual com.sun.tools.internal.xjc.reader.internalizer.DOMForest.getRootDocuments:()Ljava/util/Set;
astore 5
start local 5 7: aload 5
invokeinterface java.util.Set.size:()I
anewarray javax.xml.transform.Source
astore 6
start local 6 8: iconst_0
istore 7
start local 7 9: aload 5
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 12
StackMap locals: com.sun.tools.internal.xjc.reader.internalizer.DOMForest com.sun.tools.internal.xjc.ErrorReceiver int javax.xml.validation.SchemaFactory com.sun.tools.internal.xjc.util.ErrorReceiverFilter java.util.Set javax.xml.transform.Source[] int top java.util.Iterator
StackMap stack:
10: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 11: aload 6
iload 7
iinc 7 1
new javax.xml.transform.dom.DOMSource
dup
aload 0
aload 8
invokevirtual com.sun.tools.internal.xjc.reader.internalizer.DOMForest.get:(Ljava/lang/String;)Lorg/w3c/dom/Document;
aload 8
invokespecial javax.xml.transform.dom.DOMSource.<init>:(Lorg/w3c/dom/Node;Ljava/lang/String;)V
aastore
end local 8 12: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
13: aload 3
aload 6
invokevirtual javax.xml.validation.SchemaFactory.newSchema:([Ljavax/xml/transform/Source;)Ljavax/xml/validation/Schema;
pop
14: aload 4
invokevirtual com.sun.tools.internal.xjc.util.ErrorReceiverFilter.hadError:()Z
ifeq 15
iconst_0
goto 16
StackMap locals: com.sun.tools.internal.xjc.reader.internalizer.DOMForest com.sun.tools.internal.xjc.ErrorReceiver int javax.xml.validation.SchemaFactory com.sun.tools.internal.xjc.util.ErrorReceiverFilter java.util.Set javax.xml.transform.Source[] int
StackMap stack:
15: iconst_1
StackMap locals:
StackMap stack: int
16: ireturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 17: StackMap locals: com.sun.tools.internal.xjc.reader.internalizer.DOMForest com.sun.tools.internal.xjc.ErrorReceiver
StackMap stack: org.xml.sax.SAXException
pop
18: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
0 19 1 errorHandler Lcom/sun/tools/internal/xjc/ErrorReceiver;
1 17 2 disableXmlSecurity Z
4 17 3 sf Ljavax/xml/validation/SchemaFactory;
5 17 4 filter Lcom/sun/tools/internal/xjc/util/ErrorReceiverFilter;
7 17 5 roots Ljava/util/Set<Ljava/lang/String;>;
8 17 6 sources [Ljavax/xml/transform/Source;
9 17 7 i I
11 12 8 root Ljava/lang/String;
Exception table:
from to target type
0 16 17 Class org.xml.sax.SAXException
MethodParameters:
Name Flags
errorHandler
public java.lang.String getSystemId(org.w3c.dom.Document);
descriptor: (Lorg/w3c/dom/Document;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.core:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: com.sun.tools.internal.xjc.reader.internalizer.DOMForest org.w3c.dom.Document top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 2: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
aload 1
if_acmpne 4
3: aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
0 6 1 dom Lorg/w3c/dom/Document;
2 4 2 e Ljava/util/Map$Entry<Ljava/lang/String;Lorg/w3c/dom/Document;>;
MethodParameters:
Name Flags
dom
public org.w3c.dom.Document parse(org.xml.sax.InputSource, boolean);
descriptor: (Lorg/xml/sax/InputSource;Z)Lorg/w3c/dom/Document;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.xml.sax.InputSource.getSystemId:()Ljava/lang/String;
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.xml.sax.InputSource.getSystemId:()Ljava/lang/String;
aload 1
iload 2
invokevirtual com.sun.tools.internal.xjc.reader.internalizer.DOMForest.parse:(Ljava/lang/String;Lorg/xml/sax/InputSource;Z)Lorg/w3c/dom/Document;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
0 3 1 source Lorg/xml/sax/InputSource;
0 3 2 root Z
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
source
root
public org.w3c.dom.Document parse(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lorg/w3c/dom/Document;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic com.sun.tools.internal.xjc.Options.normalizeSystemId:(Ljava/lang/String;)Ljava/lang/String;
astore 1
1: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.core:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 3
2: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.core:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.w3c.dom.Document
areturn
3: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 4: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.entityResolver:Lorg/xml/sax/EntityResolver;
ifnull 6
5: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.entityResolver:Lorg/xml/sax/EntityResolver;
aconst_null
aload 1
invokeinterface org.xml.sax.EntityResolver.resolveEntity:(Ljava/lang/String;Ljava/lang/String;)Lorg/xml/sax/InputSource;
astore 3
6: StackMap locals: org.xml.sax.InputSource
StackMap stack:
aload 3
ifnonnull 8
7: new org.xml.sax.InputSource
dup
aload 1
invokespecial org.xml.sax.InputSource.<init>:(Ljava/lang/String;)V
astore 3
8: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 3
iload 2
invokevirtual com.sun.tools.internal.xjc.reader.internalizer.DOMForest.parse:(Ljava/lang/String;Lorg/xml/sax/InputSource;Z)Lorg/w3c/dom/Document;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
0 9 1 systemId Ljava/lang/String;
0 9 2 root Z
4 9 3 is Lorg/xml/sax/InputSource;
Exceptions:
throws org.xml.sax.SAXException, java.io.IOException
MethodParameters:
Name Flags
systemId
root
private org.xml.sax.ContentHandler getParserHandler(org.w3c.dom.Document);
descriptor: (Lorg/w3c/dom/Document;)Lorg/xml/sax/ContentHandler;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: new com.sun.tools.internal.xjc.reader.internalizer.DOMBuilder
dup
aload 1
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.locatorTable:Lcom/sun/tools/internal/xjc/reader/internalizer/LocatorTable;
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.outerMostBindings:Ljava/util/Set;
invokespecial com.sun.tools.internal.xjc.reader.internalizer.DOMBuilder.<init>:(Lorg/w3c/dom/Document;Lcom/sun/tools/internal/xjc/reader/internalizer/LocatorTable;Ljava/util/Set;)V
astore 2
start local 2 1: new com.sun.tools.internal.xjc.reader.internalizer.WhitespaceStripper
dup
aload 2
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.errorReceiver:Lcom/sun/tools/internal/xjc/ErrorReceiver;
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.entityResolver:Lorg/xml/sax/EntityResolver;
invokespecial com.sun.tools.internal.xjc.reader.internalizer.WhitespaceStripper.<init>:(Lorg/xml/sax/ContentHandler;Lorg/xml/sax/ErrorHandler;Lorg/xml/sax/EntityResolver;)V
astore 2
2: new com.sun.tools.internal.xjc.reader.internalizer.VersionChecker
dup
aload 2
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.errorReceiver:Lcom/sun/tools/internal/xjc/ErrorReceiver;
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.entityResolver:Lorg/xml/sax/EntityResolver;
invokespecial com.sun.tools.internal.xjc.reader.internalizer.VersionChecker.<init>:(Lorg/xml/sax/ContentHandler;Lorg/xml/sax/ErrorHandler;Lorg/xml/sax/EntityResolver;)V
astore 2
3: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.logic:Lcom/sun/tools/internal/xjc/reader/internalizer/InternalizationLogic;
aload 0
invokeinterface com.sun.tools.internal.xjc.reader.internalizer.InternalizationLogic.createExternalReferenceFinder:(Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;)Lorg/xml/sax/helpers/XMLFilterImpl;
astore 3
start local 3 4: aload 3
aload 2
invokevirtual org.xml.sax.helpers.XMLFilterImpl.setContentHandler:(Lorg/xml/sax/ContentHandler;)V
5: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.errorReceiver:Lcom/sun/tools/internal/xjc/ErrorReceiver;
ifnull 7
6: aload 3
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.errorReceiver:Lcom/sun/tools/internal/xjc/ErrorReceiver;
invokevirtual org.xml.sax.helpers.XMLFilterImpl.setErrorHandler:(Lorg/xml/sax/ErrorHandler;)V
7: StackMap locals: org.xml.sax.ContentHandler org.xml.sax.helpers.XMLFilterImpl
StackMap stack:
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.entityResolver:Lorg/xml/sax/EntityResolver;
ifnull 9
8: aload 3
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.entityResolver:Lorg/xml/sax/EntityResolver;
invokevirtual org.xml.sax.helpers.XMLFilterImpl.setEntityResolver:(Lorg/xml/sax/EntityResolver;)V
9: 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 10 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
0 10 1 dom Lorg/w3c/dom/Document;
1 10 2 handler Lorg/xml/sax/ContentHandler;
4 10 3 f Lorg/xml/sax/helpers/XMLFilterImpl;
MethodParameters:
Name Flags
dom
public com.sun.tools.internal.xjc.reader.internalizer.DOMForest$Handler getParserHandler(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest$Handler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.documentBuilder:Ljavax/xml/parsers/DocumentBuilder;
invokevirtual javax.xml.parsers.DocumentBuilder.newDocument:()Lorg/w3c/dom/Document;
astore 3
start local 3 1: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.core:Ljava/util/Map;
aload 1
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: iload 2
ifeq 4
3: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.rootDocuments:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals: org.w3c.dom.Document
StackMap stack:
aload 0
aload 3
invokevirtual com.sun.tools.internal.xjc.reader.internalizer.DOMForest.getParserHandler:(Lorg/w3c/dom/Document;)Lorg/xml/sax/ContentHandler;
astore 4
start local 4 5: new com.sun.tools.internal.xjc.reader.internalizer.DOMForest$1
dup
aload 0
aload 3
invokespecial com.sun.tools.internal.xjc.reader.internalizer.DOMForest$1.<init>:(Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;Lorg/w3c/dom/Document;)V
astore 5
start local 5 6: aload 5
aload 4
invokevirtual com.sun.tools.internal.xjc.reader.internalizer.DOMForest$HandlerImpl.setContentHandler:(Lorg/xml/sax/ContentHandler;)V
7: aload 5
areturn
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 8 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
0 8 1 systemId Ljava/lang/String;
0 8 2 root Z
1 8 3 dom Lorg/w3c/dom/Document;
5 8 4 handler Lorg/xml/sax/ContentHandler;
6 8 5 x Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest$HandlerImpl;
MethodParameters:
Name Flags
systemId
root
public org.w3c.dom.Document parse(java.lang.String, org.xml.sax.InputSource, boolean);
descriptor: (Ljava/lang/String;Lorg/xml/sax/InputSource;Z)Lorg/w3c/dom/Document;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.documentBuilder:Ljavax/xml/parsers/DocumentBuilder;
invokevirtual javax.xml.parsers.DocumentBuilder.newDocument:()Lorg/w3c/dom/Document;
astore 4
start local 4 1: aload 1
invokestatic com.sun.tools.internal.xjc.Options.normalizeSystemId:(Ljava/lang/String;)Ljava/lang/String;
astore 1
2: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.core:Ljava/util/Map;
aload 1
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: iload 3
ifeq 5
4: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.rootDocuments:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals: org.w3c.dom.Document
StackMap stack:
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.parserFactory:Ljavax/xml/parsers/SAXParserFactory;
invokevirtual javax.xml.parsers.SAXParserFactory.newSAXParser:()Ljavax/xml/parsers/SAXParser;
invokevirtual javax.xml.parsers.SAXParser.getXMLReader:()Lorg/xml/sax/XMLReader;
astore 5
start local 5 6: aload 5
aload 0
aload 4
invokevirtual com.sun.tools.internal.xjc.reader.internalizer.DOMForest.getParserHandler:(Lorg/w3c/dom/Document;)Lorg/xml/sax/ContentHandler;
invokeinterface org.xml.sax.XMLReader.setContentHandler:(Lorg/xml/sax/ContentHandler;)V
7: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.errorReceiver:Lcom/sun/tools/internal/xjc/ErrorReceiver;
ifnull 9
8: aload 5
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.errorReceiver:Lcom/sun/tools/internal/xjc/ErrorReceiver;
invokeinterface org.xml.sax.XMLReader.setErrorHandler:(Lorg/xml/sax/ErrorHandler;)V
9: StackMap locals: org.xml.sax.XMLReader
StackMap stack:
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.entityResolver:Lorg/xml/sax/EntityResolver;
ifnull 11
10: aload 5
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.entityResolver:Lorg/xml/sax/EntityResolver;
invokeinterface org.xml.sax.XMLReader.setEntityResolver:(Lorg/xml/sax/EntityResolver;)V
11: StackMap locals:
StackMap stack:
aload 5
aload 2
invokeinterface org.xml.sax.XMLReader.parse:(Lorg/xml/sax/InputSource;)V
end local 5 12: goto 23
StackMap locals: com.sun.tools.internal.xjc.reader.internalizer.DOMForest java.lang.String org.xml.sax.InputSource int org.w3c.dom.Document
StackMap stack: javax.xml.parsers.ParserConfigurationException
13: astore 5
start local 5 14: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.errorReceiver:Lcom/sun/tools/internal/xjc/ErrorReceiver;
aload 5
invokevirtual javax.xml.parsers.ParserConfigurationException.getMessage:()Ljava/lang/String;
aload 5
invokevirtual com.sun.tools.internal.xjc.ErrorReceiver.error:(Ljava/lang/String;Ljava/lang/Exception;)V
15: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.core:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
16: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.rootDocuments:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
17: aconst_null
areturn
end local 5 18: StackMap locals:
StackMap stack: java.io.IOException
astore 5
start local 5 19: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.errorReceiver:Lcom/sun/tools/internal/xjc/ErrorReceiver;
ldc "DOMFOREST_INPUTSOURCE_IOEXCEPTION"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 5
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
aastore
invokestatic com.sun.tools.internal.xjc.reader.internalizer.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 5
invokevirtual com.sun.tools.internal.xjc.ErrorReceiver.error:(Ljava/lang/String;Ljava/lang/Exception;)V
20: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.core:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
21: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.rootDocuments:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
22: aconst_null
areturn
end local 5 23: 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 24 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
0 24 1 systemId Ljava/lang/String;
0 24 2 inputSource Lorg/xml/sax/InputSource;
0 24 3 root Z
1 24 4 dom Lorg/w3c/dom/Document;
6 12 5 reader Lorg/xml/sax/XMLReader;
14 18 5 e Ljavax/xml/parsers/ParserConfigurationException;
19 23 5 e Ljava/io/IOException;
Exception table:
from to target type
5 12 13 Class javax.xml.parsers.ParserConfigurationException
5 12 18 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
systemId
inputSource
root
public org.w3c.dom.Document parse(java.lang.String, javax.xml.stream.XMLStreamReader, boolean);
descriptor: (Ljava/lang/String;Ljavax/xml/stream/XMLStreamReader;Z)Lorg/w3c/dom/Document;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.documentBuilder:Ljavax/xml/parsers/DocumentBuilder;
invokevirtual javax.xml.parsers.DocumentBuilder.newDocument:()Lorg/w3c/dom/Document;
astore 4
start local 4 1: aload 1
invokestatic com.sun.tools.internal.xjc.Options.normalizeSystemId:(Ljava/lang/String;)Ljava/lang/String;
astore 1
2: iload 3
ifeq 4
3: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.rootDocuments:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals: org.w3c.dom.Document
StackMap stack:
aload 1
ifnonnull 6
5: new java.lang.IllegalArgumentException
dup
ldc "system id cannot be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.core:Ljava/util/Map;
aload 1
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: new com.sun.istack.internal.XMLStreamReaderToContentHandler
dup
aload 2
aload 0
aload 4
invokevirtual com.sun.tools.internal.xjc.reader.internalizer.DOMForest.getParserHandler:(Lorg/w3c/dom/Document;)Lorg/xml/sax/ContentHandler;
iconst_0
iconst_0
invokespecial com.sun.istack.internal.XMLStreamReaderToContentHandler.<init>:(Ljavax/xml/stream/XMLStreamReader;Lorg/xml/sax/ContentHandler;ZZ)V
invokevirtual com.sun.istack.internal.XMLStreamReaderToContentHandler.bridge:()V
8: 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 9 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
0 9 1 systemId Ljava/lang/String;
0 9 2 parser Ljavax/xml/stream/XMLStreamReader;
0 9 3 root Z
1 9 4 dom Lorg/w3c/dom/Document;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
systemId
parser
root
public com.sun.tools.internal.xjc.reader.internalizer.SCDBasedBindingSet transform(boolean);
descriptor: (Z)Lcom/sun/tools/internal/xjc/reader/internalizer/SCDBasedBindingSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.options:Lcom/sun/tools/internal/xjc/Options;
getfield com.sun.tools.internal.xjc.Options.disableXmlSecurity:Z
invokestatic com.sun.tools.internal.xjc.reader.internalizer.Internalizer.transform:(Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;ZZ)Lcom/sun/tools/internal/xjc/reader/internalizer/SCDBasedBindingSet;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
0 1 1 enableSCD Z
MethodParameters:
Name Flags
enableSCD
public void weakSchemaCorrectnessCheck(javax.xml.validation.SchemaFactory);
descriptor: (Ljavax/xml/validation/SchemaFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=8, 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
invokevirtual com.sun.tools.internal.xjc.reader.internalizer.DOMForest.getRootDocuments:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 12
StackMap locals: com.sun.tools.internal.xjc.reader.internalizer.DOMForest javax.xml.validation.SchemaFactory java.util.List top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 3: aload 0
aload 3
invokevirtual com.sun.tools.internal.xjc.reader.internalizer.DOMForest.get:(Ljava/lang/String;)Lorg/w3c/dom/Document;
astore 5
start local 5 4: aload 5
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
invokeinterface org.w3c.dom.Element.getNamespaceURI:()Ljava/lang/String;
ldc "http://java.sun.com/xml/ns/jaxb"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: goto 12
6: StackMap locals: com.sun.tools.internal.xjc.reader.internalizer.DOMForest javax.xml.validation.SchemaFactory java.util.List java.lang.String java.util.Iterator org.w3c.dom.Document
StackMap stack:
aload 0
aload 3
invokevirtual com.sun.tools.internal.xjc.reader.internalizer.DOMForest.createSAXSource:(Ljava/lang/String;)Ljavax/xml/transform/sax/SAXSource;
astore 6
start local 6 7: aload 6
invokevirtual javax.xml.transform.sax.SAXSource.getXMLReader:()Lorg/xml/sax/XMLReader;
ldc "http://xml.org/sax/features/namespace-prefixes"
iconst_1
invokeinterface org.xml.sax.XMLReader.setFeature:(Ljava/lang/String;Z)V
8: goto 11
StackMap locals: com.sun.tools.internal.xjc.reader.internalizer.DOMForest javax.xml.validation.SchemaFactory java.util.List java.lang.String java.util.Iterator org.w3c.dom.Document javax.xml.transform.sax.SAXSource
StackMap stack: org.xml.sax.SAXException
9: astore 7
start local 7 10: new java.lang.AssertionError
dup
aload 7
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 7 11: StackMap locals:
StackMap stack:
aload 2
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 5 end local 3 12: StackMap locals: com.sun.tools.internal.xjc.reader.internalizer.DOMForest javax.xml.validation.SchemaFactory java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
13: aload 1
ldc "file,http"
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.options:Lcom/sun/tools/internal/xjc/Options;
getfield com.sun.tools.internal.xjc.Options.disableXmlSecurity:Z
invokestatic com.sun.xml.internal.bind.v2.util.XmlFactory.allowExternalAccess:(Ljavax/xml/validation/SchemaFactory;Ljava/lang/String;Z)Ljavax/xml/validation/SchemaFactory;
aload 2
iconst_0
anewarray javax.xml.transform.sax.SAXSource
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.xml.transform.Source[]
invokevirtual javax.xml.validation.SchemaFactory.newSchema:([Ljavax/xml/transform/Source;)Ljavax/xml/validation/Schema;
pop
14: goto 26
StackMap locals: com.sun.tools.internal.xjc.reader.internalizer.DOMForest javax.xml.validation.SchemaFactory java.util.List
StackMap stack: org.xml.sax.SAXException
15: pop
goto 26
16: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 3
start local 3 17: aload 1
invokevirtual javax.xml.validation.SchemaFactory.getErrorHandler:()Lorg/xml/sax/ErrorHandler;
18: new org.xml.sax.SAXParseException
dup
19: ldc "ERR_GENERAL_SCHEMA_CORRECTNESS_ERROR"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
invokevirtual java.lang.RuntimeException.getMessage:()Ljava/lang/String;
aastore
20: invokestatic com.sun.tools.internal.xjc.reader.internalizer.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
21: aconst_null
aconst_null
iconst_m1
iconst_m1
aload 3
22: invokespecial org.xml.sax.SAXParseException.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IILjava/lang/Exception;)V
23: invokeinterface org.xml.sax.ErrorHandler.warning:(Lorg/xml/sax/SAXParseException;)V
24: goto 26
StackMap locals: com.sun.tools.internal.xjc.reader.internalizer.DOMForest javax.xml.validation.SchemaFactory java.util.List java.lang.RuntimeException
StackMap stack: org.xml.sax.SAXException
25: pop
end local 3 26: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
0 27 1 sf Ljavax/xml/validation/SchemaFactory;
1 27 2 sources Ljava/util/List<Ljavax/xml/transform/sax/SAXSource;>;
3 12 3 systemId Ljava/lang/String;
4 12 5 dom Lorg/w3c/dom/Document;
7 12 6 ss Ljavax/xml/transform/sax/SAXSource;
10 11 7 e Lorg/xml/sax/SAXException;
17 26 3 re Ljava/lang/RuntimeException;
Exception table:
from to target type
7 8 9 Class org.xml.sax.SAXException
13 14 15 Class org.xml.sax.SAXException
13 14 16 Class java.lang.RuntimeException
17 24 25 Class org.xml.sax.SAXException
MethodParameters:
Name Flags
sf
public javax.xml.transform.sax.SAXSource createSAXSource(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/xml/transform/sax/SAXSource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: new com.sun.tools.internal.xjc.reader.internalizer.ContentHandlerNamespacePrefixAdapter
dup
new com.sun.tools.internal.xjc.reader.internalizer.DOMForest$2
dup
aload 0
invokespecial com.sun.tools.internal.xjc.reader.internalizer.DOMForest$2.<init>:(Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;)V
invokespecial com.sun.tools.internal.xjc.reader.internalizer.ContentHandlerNamespacePrefixAdapter.<init>:(Lorg/xml/sax/XMLReader;)V
astore 2
start local 2 1: new javax.xml.transform.sax.SAXSource
dup
aload 2
new org.xml.sax.InputSource
dup
aload 1
invokespecial org.xml.sax.InputSource.<init>:(Ljava/lang/String;)V
invokespecial javax.xml.transform.sax.SAXSource.<init>:(Lorg/xml/sax/XMLReader;Lorg/xml/sax/InputSource;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
0 2 1 systemId Ljava/lang/String;
1 2 2 reader Lcom/sun/tools/internal/xjc/reader/internalizer/ContentHandlerNamespacePrefixAdapter;
RuntimeInvisibleAnnotations:
com.sun.istack.internal.NotNull()
MethodParameters:
Name Flags
systemId
public com.sun.xml.internal.xsom.parser.XMLParser createParser();
descriptor: ()Lcom/sun/xml/internal/xsom/parser/XMLParser;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new com.sun.tools.internal.xjc.reader.internalizer.DOMForestParser
dup
aload 0
new com.sun.xml.internal.xsom.parser.JAXPParser
dup
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.options:Lcom/sun/tools/internal/xjc/Options;
getfield com.sun.tools.internal.xjc.Options.disableXmlSecurity:Z
invokestatic com.sun.xml.internal.bind.v2.util.XmlFactory.createParserFactory:(Z)Ljavax/xml/parsers/SAXParserFactory;
invokespecial com.sun.xml.internal.xsom.parser.JAXPParser.<init>:(Ljavax/xml/parsers/SAXParserFactory;)V
invokespecial com.sun.tools.internal.xjc.reader.internalizer.DOMForestParser.<init>:(Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;Lcom/sun/xml/internal/xsom/parser/XMLParser;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
public org.xml.sax.EntityResolver getEntityResolver();
descriptor: ()Lorg/xml/sax/EntityResolver;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.entityResolver:Lorg/xml/sax/EntityResolver;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
public void setEntityResolver(org.xml.sax.EntityResolver);
descriptor: (Lorg/xml/sax/EntityResolver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.entityResolver:Lorg/xml/sax/EntityResolver;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
0 2 1 entityResolver Lorg/xml/sax/EntityResolver;
MethodParameters:
Name Flags
entityResolver
public com.sun.tools.internal.xjc.ErrorReceiver getErrorHandler();
descriptor: ()Lcom/sun/tools/internal/xjc/ErrorReceiver;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.errorReceiver:Lcom/sun/tools/internal/xjc/ErrorReceiver;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
public void setErrorHandler(com.sun.tools.internal.xjc.ErrorReceiver);
descriptor: (Lcom/sun/tools/internal/xjc/ErrorReceiver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.errorReceiver:Lcom/sun/tools/internal/xjc/ErrorReceiver;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
0 2 1 errorHandler Lcom/sun/tools/internal/xjc/ErrorReceiver;
MethodParameters:
Name Flags
errorHandler
public org.w3c.dom.Document[] listDocuments();
descriptor: ()[Lorg/w3c/dom/Document;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.core:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.core:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
anewarray org.w3c.dom.Document
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.w3c.dom.Document[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
public java.lang.String[] listSystemIDs();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.core:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.core:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.size:()I
anewarray java.lang.String
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
public void dump(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.options:Lcom/sun/tools/internal/xjc/Options;
ifnull 3
2: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.options:Lcom/sun/tools/internal/xjc/Options;
getfield com.sun.tools.internal.xjc.Options.disableXmlSecurity:Z
istore 2
3: StackMap locals: int
StackMap stack:
iload 2
invokestatic com.sun.xml.internal.bind.v2.util.XmlFactory.createTransformerFactory:(Z)Ljavax/xml/transform/TransformerFactory;
astore 3
start local 3 4: aload 3
invokevirtual javax.xml.transform.TransformerFactory.newTransformer:()Ljavax/xml/transform/Transformer;
astore 4
start local 4 5: aload 0
getfield com.sun.tools.internal.xjc.reader.internalizer.DOMForest.core:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 14
StackMap locals: com.sun.tools.internal.xjc.reader.internalizer.DOMForest java.io.OutputStream int javax.xml.transform.TransformerFactory javax.xml.transform.Transformer top java.util.Iterator
StackMap stack:
6: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 5
start local 5 7: aload 1
new java.lang.StringBuilder
dup
ldc "---<< "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.getBytes:()[B
invokevirtual java.io.OutputStream.write:([B)V
8: new com.sun.xml.internal.bind.marshaller.DataWriter
dup
new java.io.OutputStreamWriter
dup
aload 1
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
aconst_null
invokespecial com.sun.xml.internal.bind.marshaller.DataWriter.<init>:(Ljava/io/Writer;Ljava/lang/String;)V
astore 7
start local 7 9: aload 7
ldc " "
invokevirtual com.sun.xml.internal.bind.marshaller.DataWriter.setIndentStep:(Ljava/lang/String;)V
10: aload 4
new javax.xml.transform.dom.DOMSource
dup
aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.w3c.dom.Node
invokespecial javax.xml.transform.dom.DOMSource.<init>:(Lorg/w3c/dom/Node;)V
11: new javax.xml.transform.sax.SAXResult
dup
aload 7
invokespecial javax.xml.transform.sax.SAXResult.<init>:(Lorg/xml/sax/ContentHandler;)V
12: invokevirtual javax.xml.transform.Transformer.transform:(Ljavax/xml/transform/Source;Ljavax/xml/transform/Result;)V
13: aload 1
ldc "\n\n\n"
invokevirtual java.lang.String.getBytes:()[B
invokevirtual java.io.OutputStream.write:([B)V
end local 7 end local 5 14: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 4 end local 3 end local 2 15: goto 18
StackMap locals: com.sun.tools.internal.xjc.reader.internalizer.DOMForest java.io.OutputStream
StackMap stack: javax.xml.transform.TransformerException
16: astore 2
start local 2 17: aload 2
invokevirtual javax.xml.transform.TransformerException.printStackTrace:()V
end local 2 18: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
0 19 1 out Ljava/io/OutputStream;
1 15 2 disableXmlSecurity Z
4 15 3 tf Ljavax/xml/transform/TransformerFactory;
5 15 4 it Ljavax/xml/transform/Transformer;
7 14 5 e Ljava/util/Map$Entry<Ljava/lang/String;Lorg/w3c/dom/Document;>;
9 14 7 dw Lcom/sun/xml/internal/bind/marshaller/DataWriter;
17 18 2 e Ljavax/xml/transform/TransformerException;
Exception table:
from to target type
0 15 16 Class javax.xml.transform.TransformerException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
}
SourceFile: "DOMForest.java"
NestMembers:
com.sun.tools.internal.xjc.reader.internalizer.DOMForest$1 com.sun.tools.internal.xjc.reader.internalizer.DOMForest$2 com.sun.tools.internal.xjc.reader.internalizer.DOMForest$Handler com.sun.tools.internal.xjc.reader.internalizer.DOMForest$HandlerImpl
InnerClasses:
com.sun.tools.internal.xjc.reader.internalizer.DOMForest$1
com.sun.tools.internal.xjc.reader.internalizer.DOMForest$2
public abstract Handler = com.sun.tools.internal.xjc.reader.internalizer.DOMForest$Handler of com.sun.tools.internal.xjc.reader.internalizer.DOMForest
private abstract HandlerImpl = com.sun.tools.internal.xjc.reader.internalizer.DOMForest$HandlerImpl of com.sun.tools.internal.xjc.reader.internalizer.DOMForest
public abstract Entry = java.util.Map$Entry of java.util.Map