public class com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory
super_class: java.lang.Object
{
private static final java.lang.String SAX_PARSER_POOL_SIZE_PROP_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.xml.internal.messaging.saaj.soap.saxParserPoolSize"
private static final int DEFAULT_SAX_PARSER_POOL_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
protected static final java.util.logging.Logger log;
descriptor: Ljava/util/logging/Logger;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
private static com.sun.xml.internal.messaging.saaj.soap.ContextClassloaderLocal<com.sun.xml.internal.messaging.saaj.util.ParserPool> parserPool;
descriptor: Lcom/sun/xml/internal/messaging/saaj/soap/ContextClassloaderLocal;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Lcom/sun/xml/internal/messaging/saaj/soap/ContextClassloaderLocal<Lcom/sun/xml/internal/messaging/saaj/util/ParserPool;>;
private static javax.xml.stream.XMLInputFactory xmlInputFactory;
descriptor: Ljavax/xml/stream/XMLInputFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "com.sun.xml.internal.messaging.saaj.soap"
1: ldc "com.sun.xml.internal.messaging.saaj.soap.LocalStrings"
2: invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/logging/Logger;
putstatic com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.log:Ljava/util/logging/Logger;
3: new com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory$1
dup
invokespecial com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory$1.<init>:()V
4: putstatic com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.parserPool:Lcom/sun/xml/internal/messaging/saaj/soap/ContextClassloaderLocal;
5: aconst_null
putstatic com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.xmlInputFactory:Ljavax/xml/stream/XMLInputFactory;
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 Lcom/sun/xml/internal/messaging/saaj/soap/EnvelopeFactory;
public static com.sun.xml.internal.messaging.saaj.soap.Envelope createEnvelope(javax.xml.transform.Source, com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl);
descriptor: (Ljavax/xml/transform/Source;Lcom/sun/xml/internal/messaging/saaj/soap/SOAPPartImpl;)Lcom/sun/xml/internal/messaging/saaj/soap/Envelope;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
instanceof com.sun.xml.internal.messaging.saaj.util.JAXMStreamSource
ifeq 7
1: getstatic com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.lazyContentLength:Z
ifne 7
2: aload 0
checkcast com.sun.xml.internal.messaging.saaj.util.JAXMStreamSource
invokevirtual com.sun.xml.internal.messaging.saaj.util.JAXMStreamSource.reset:()V
3: goto 7
StackMap locals:
StackMap stack: java.io.IOException
4: astore 2
start local 2 5: getstatic com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.log:Ljava/util/logging/Logger;
ldc "SAAJ0515.source.reset.exception"
invokevirtual java.util.logging.Logger.severe:(Ljava/lang/String;)V
6: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
aload 2
invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 7: StackMap locals:
StackMap stack:
aload 0
instanceof com.sun.xml.internal.messaging.saaj.LazyEnvelopeSource
ifeq 9
8: aload 0
checkcast com.sun.xml.internal.messaging.saaj.LazyEnvelopeSource
aload 1
invokestatic com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.lazy:(Lcom/sun/xml/internal/messaging/saaj/LazyEnvelopeSource;Lcom/sun/xml/internal/messaging/saaj/soap/SOAPPartImpl;)Lcom/sun/xml/internal/messaging/saaj/soap/Envelope;
areturn
9: StackMap locals:
StackMap stack:
aload 1
getfield com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.message:Lcom/sun/xml/internal/messaging/saaj/soap/MessageImpl;
invokevirtual com.sun.xml.internal.messaging.saaj.soap.MessageImpl.isLazySoapBodyParsing:()Z
ifeq 11
10: aload 0
aload 1
invokestatic com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.parseEnvelopeStax:(Ljavax/xml/transform/Source;Lcom/sun/xml/internal/messaging/saaj/soap/SOAPPartImpl;)Lcom/sun/xml/internal/messaging/saaj/soap/Envelope;
areturn
11: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.parseEnvelopeSax:(Ljavax/xml/transform/Source;Lcom/sun/xml/internal/messaging/saaj/soap/SOAPPartImpl;)Lcom/sun/xml/internal/messaging/saaj/soap/Envelope;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 src Ljavax/xml/transform/Source;
0 12 1 soapPart Lcom/sun/xml/internal/messaging/saaj/soap/SOAPPartImpl;
5 7 2 ioe Ljava/io/IOException;
Exception table:
from to target type
1 3 4 Class java.io.IOException
Exceptions:
throws javax.xml.soap.SOAPException
MethodParameters:
Name Flags
src
soapPart
private static com.sun.xml.internal.messaging.saaj.soap.Envelope lazy(com.sun.xml.internal.messaging.saaj.LazyEnvelopeSource, com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl);
descriptor: (Lcom/sun/xml/internal/messaging/saaj/LazyEnvelopeSource;Lcom/sun/xml/internal/messaging/saaj/soap/SOAPPartImpl;)Lcom/sun/xml/internal/messaging/saaj/soap/Envelope;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: new com.sun.xml.internal.messaging.saaj.soap.StaxLazySourceBridge
dup
aload 0
aload 1
invokespecial com.sun.xml.internal.messaging.saaj.soap.StaxLazySourceBridge.<init>:(Lcom/sun/xml/internal/messaging/saaj/LazyEnvelopeSource;Lcom/sun/xml/internal/messaging/saaj/soap/SOAPPartImpl;)V
astore 2
start local 2 1: aload 2
invokevirtual com.sun.xml.internal.messaging.saaj.soap.StaxBridge.bridgeEnvelopeAndHeaders:()V
2: aload 1
invokevirtual com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.getEnvelope:()Ljavax/xml/soap/SOAPEnvelope;
checkcast com.sun.xml.internal.messaging.saaj.soap.Envelope
astore 3
start local 3 3: aload 3
aload 2
invokeinterface com.sun.xml.internal.messaging.saaj.soap.Envelope.setStaxBridge:(Lcom/sun/xml/internal/messaging/saaj/soap/StaxBridge;)V
4: aload 3
5: areturn
end local 3 end local 2 6: StackMap locals:
StackMap stack: javax.xml.stream.XMLStreamException
astore 2
start local 2 7: new javax.xml.soap.SOAPException
dup
aload 2
invokespecial javax.xml.soap.SOAPException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 src Lcom/sun/xml/internal/messaging/saaj/LazyEnvelopeSource;
0 8 1 soapPart Lcom/sun/xml/internal/messaging/saaj/soap/SOAPPartImpl;
1 6 2 staxBridge Lcom/sun/xml/internal/messaging/saaj/soap/StaxBridge;
3 6 3 env Lcom/sun/xml/internal/messaging/saaj/soap/Envelope;
7 8 2 e Ljavax/xml/stream/XMLStreamException;
Exception table:
from to target type
0 5 6 Class javax.xml.stream.XMLStreamException
Exceptions:
throws javax.xml.soap.SOAPException
MethodParameters:
Name Flags
src
soapPart
private static com.sun.xml.internal.messaging.saaj.soap.Envelope parseEnvelopeStax(javax.xml.transform.Source, com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl);
descriptor: (Ljavax/xml/transform/Source;Lcom/sun/xml/internal/messaging/saaj/soap/SOAPPartImpl;)Lcom/sun/xml/internal/messaging/saaj/soap/Envelope;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
instanceof javax.xml.transform.stax.StAXSource
ifeq 3
2: aload 0
checkcast javax.xml.transform.stax.StAXSource
invokevirtual javax.xml.transform.stax.StAXSource.getXMLStreamReader:()Ljavax/xml/stream/XMLStreamReader;
astore 2
3: StackMap locals: javax.xml.stream.XMLStreamReader
StackMap stack:
aload 2
ifnonnull 6
4: getstatic com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.xmlInputFactory:Ljavax/xml/stream/XMLInputFactory;
ifnonnull 5
invokestatic javax.xml.stream.XMLInputFactory.newInstance:()Ljavax/xml/stream/XMLInputFactory;
putstatic com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.xmlInputFactory:Ljavax/xml/stream/XMLInputFactory;
5: StackMap locals:
StackMap stack:
getstatic com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.xmlInputFactory:Ljavax/xml/stream/XMLInputFactory;
aload 0
invokevirtual javax.xml.stream.XMLInputFactory.createXMLStreamReader:(Ljavax/xml/transform/Source;)Ljavax/xml/stream/XMLStreamReader;
astore 2
6: StackMap locals:
StackMap stack:
new com.sun.xml.internal.messaging.saaj.soap.StaxReaderBridge
dup
aload 2
aload 1
invokespecial com.sun.xml.internal.messaging.saaj.soap.StaxReaderBridge.<init>:(Ljavax/xml/stream/XMLStreamReader;Lcom/sun/xml/internal/messaging/saaj/soap/SOAPPartImpl;)V
astore 3
start local 3 7: aload 3
invokevirtual com.sun.xml.internal.messaging.saaj.soap.StaxBridge.bridgeEnvelopeAndHeaders:()V
8: aload 1
invokevirtual com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.getEnvelope:()Ljavax/xml/soap/SOAPEnvelope;
checkcast com.sun.xml.internal.messaging.saaj.soap.Envelope
astore 4
start local 4 9: aload 4
aload 3
invokeinterface com.sun.xml.internal.messaging.saaj.soap.Envelope.setStaxBridge:(Lcom/sun/xml/internal/messaging/saaj/soap/StaxBridge;)V
10: aload 4
11: areturn
end local 4 end local 3 12: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 13: new javax.xml.soap.SOAPException
dup
aload 3
invokespecial javax.xml.soap.SOAPException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 src Ljavax/xml/transform/Source;
0 14 1 soapPart Lcom/sun/xml/internal/messaging/saaj/soap/SOAPPartImpl;
1 14 2 streamReader Ljavax/xml/stream/XMLStreamReader;
7 12 3 readerWriterBridge Lcom/sun/xml/internal/messaging/saaj/soap/StaxBridge;
9 12 4 env Lcom/sun/xml/internal/messaging/saaj/soap/Envelope;
13 14 3 e Ljava/lang/Exception;
Exception table:
from to target type
3 11 12 Class java.lang.Exception
Exceptions:
throws javax.xml.soap.SOAPException
MethodParameters:
Name Flags
src
soapPart
private static com.sun.xml.internal.messaging.saaj.soap.Envelope parseEnvelopeSax(javax.xml.transform.Source, com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl);
descriptor: (Ljavax/xml/transform/Source;Lcom/sun/xml/internal/messaging/saaj/soap/SOAPPartImpl;)Lcom/sun/xml/internal/messaging/saaj/soap/Envelope;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
instanceof javax.xml.transform.stream.StreamSource
ifeq 22
2: getstatic com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.parserPool:Lcom/sun/xml/internal/messaging/saaj/soap/ContextClassloaderLocal;
invokevirtual com.sun.xml.internal.messaging.saaj.soap.ContextClassloaderLocal.get:()Ljava/lang/Object;
checkcast com.sun.xml.internal.messaging.saaj.util.ParserPool
invokevirtual com.sun.xml.internal.messaging.saaj.util.ParserPool.get:()Ljavax/xml/parsers/SAXParser;
astore 2
3: goto 10
StackMap locals: javax.xml.transform.Source com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl javax.xml.parsers.SAXParser
StackMap stack: java.lang.Exception
4: astore 3
start local 3 5: getstatic com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.log:Ljava/util/logging/Logger;
ldc "SAAJ0601.util.newSAXParser.exception"
invokevirtual java.util.logging.Logger.severe:(Ljava/lang/String;)V
6: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
7: ldc "Couldn't get a SAX parser while constructing a envelope"
8: aload 3
9: invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 10: StackMap locals:
StackMap stack:
aload 0
invokestatic javax.xml.transform.sax.SAXSource.sourceToInputSource:(Ljavax/xml/transform/Source;)Lorg/xml/sax/InputSource;
astore 3
start local 3 11: aload 3
invokevirtual org.xml.sax.InputSource.getEncoding:()Ljava/lang/String;
ifnonnull 13
aload 1
invokevirtual com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.getSourceCharsetEncoding:()Ljava/lang/String;
ifnull 13
12: aload 3
aload 1
invokevirtual com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.getSourceCharsetEncoding:()Ljava/lang/String;
invokevirtual org.xml.sax.InputSource.setEncoding:(Ljava/lang/String;)V
13: StackMap locals: org.xml.sax.InputSource
StackMap stack:
new com.sun.xml.internal.messaging.saaj.util.RejectDoctypeSaxFilter
dup
aload 2
invokespecial com.sun.xml.internal.messaging.saaj.util.RejectDoctypeSaxFilter.<init>:(Ljavax/xml/parsers/SAXParser;)V
astore 4
start local 4 14: goto 21
end local 4 StackMap locals:
StackMap stack: java.lang.Exception
15: astore 5
start local 5 16: getstatic com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.log:Ljava/util/logging/Logger;
ldc "SAAJ0510.soap.cannot.create.envelope"
invokevirtual java.util.logging.Logger.severe:(Ljava/lang/String;)V
17: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
18: ldc "Unable to create envelope from given source: "
19: aload 5
20: invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 start local 4 21: StackMap locals: org.xml.sax.XMLReader
StackMap stack:
new javax.xml.transform.sax.SAXSource
dup
aload 4
aload 3
invokespecial javax.xml.transform.sax.SAXSource.<init>:(Lorg/xml/sax/XMLReader;Lorg/xml/sax/InputSource;)V
astore 0
end local 4 end local 3 22: StackMap locals:
StackMap stack:
invokestatic com.sun.xml.internal.messaging.saaj.util.transform.EfficientStreamingTransformer.newTransformer:()Ljavax/xml/transform/Transformer;
23: astore 3
start local 3 24: new javax.xml.transform.dom.DOMResult
dup
aload 1
invokespecial javax.xml.transform.dom.DOMResult.<init>:(Lorg/w3c/dom/Node;)V
astore 4
start local 4 25: aload 3
aload 0
aload 4
invokevirtual javax.xml.transform.Transformer.transform:(Ljavax/xml/transform/Source;Ljavax/xml/transform/Result;)V
26: aload 1
invokevirtual com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.getEnvelope:()Ljavax/xml/soap/SOAPEnvelope;
checkcast com.sun.xml.internal.messaging.saaj.soap.Envelope
astore 5
start local 5 27: aload 5
astore 7
28: aload 2
ifnull 30
29: getstatic com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.parserPool:Lcom/sun/xml/internal/messaging/saaj/soap/ContextClassloaderLocal;
invokevirtual com.sun.xml.internal.messaging.saaj.soap.ContextClassloaderLocal.get:()Ljava/lang/Object;
checkcast com.sun.xml.internal.messaging.saaj.util.ParserPool
aload 2
invokevirtual com.sun.xml.internal.messaging.saaj.util.ParserPool.returnParser:(Ljavax/xml/parsers/SAXParser;)V
30: StackMap locals: javax.xml.transform.Source com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl javax.xml.parsers.SAXParser javax.xml.transform.Transformer javax.xml.transform.dom.DOMResult com.sun.xml.internal.messaging.saaj.soap.Envelope top com.sun.xml.internal.messaging.saaj.soap.Envelope
StackMap stack:
aload 7
areturn
end local 5 end local 4 end local 3 31: StackMap locals: javax.xml.transform.Source com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl javax.xml.parsers.SAXParser
StackMap stack: java.lang.Exception
astore 3
start local 3 32: aload 3
instanceof com.sun.xml.internal.messaging.saaj.soap.SOAPVersionMismatchException
ifeq 34
33: aload 3
checkcast com.sun.xml.internal.messaging.saaj.soap.SOAPVersionMismatchException
athrow
34: StackMap locals: java.lang.Exception
StackMap stack:
getstatic com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.log:Ljava/util/logging/Logger;
ldc "SAAJ0511.soap.cannot.create.envelope"
invokevirtual java.util.logging.Logger.severe:(Ljava/lang/String;)V
35: new com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl
dup
36: ldc "Unable to create envelope from given source: "
37: aload 3
38: invokespecial com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 39: StackMap locals: javax.xml.transform.Source com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl javax.xml.parsers.SAXParser
StackMap stack: java.lang.Throwable
astore 6
40: aload 2
ifnull 42
41: getstatic com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.parserPool:Lcom/sun/xml/internal/messaging/saaj/soap/ContextClassloaderLocal;
invokevirtual com.sun.xml.internal.messaging.saaj.soap.ContextClassloaderLocal.get:()Ljava/lang/Object;
checkcast com.sun.xml.internal.messaging.saaj.util.ParserPool
aload 2
invokevirtual com.sun.xml.internal.messaging.saaj.util.ParserPool.returnParser:(Ljavax/xml/parsers/SAXParser;)V
42: StackMap locals: javax.xml.transform.Source com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl javax.xml.parsers.SAXParser top top top java.lang.Throwable
StackMap stack:
aload 6
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 src Ljavax/xml/transform/Source;
0 43 1 soapPart Lcom/sun/xml/internal/messaging/saaj/soap/SOAPPartImpl;
1 43 2 saxParser Ljavax/xml/parsers/SAXParser;
5 10 3 e Ljava/lang/Exception;
11 22 3 is Lorg/xml/sax/InputSource;
14 15 4 rejectFilter Lorg/xml/sax/XMLReader;
21 22 4 rejectFilter Lorg/xml/sax/XMLReader;
16 21 5 ex Ljava/lang/Exception;
24 31 3 transformer Ljavax/xml/transform/Transformer;
25 31 4 result Ljavax/xml/transform/dom/DOMResult;
27 31 5 env Lcom/sun/xml/internal/messaging/saaj/soap/Envelope;
32 39 3 ex Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
13 14 15 Class java.lang.Exception
22 28 31 Class java.lang.Exception
1 28 39 any
31 39 39 any
Exceptions:
throws javax.xml.soap.SOAPException
MethodParameters:
Name Flags
src
soapPart
}
SourceFile: "EnvelopeFactory.java"
NestMembers:
com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory$1 com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory$1$1
InnerClasses:
com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory$1