public final class com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr extends com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr
super_class: com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory
{
private final javax.xml.stream.XMLOutputFactory xof;
descriptor: Ljavax/xml/stream/XMLOutputFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.ThreadLocal<javax.xml.stream.XMLStreamWriter> pool;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Ljavax/xml/stream/XMLStreamWriter;>;
private final java.lang.reflect.Method resetMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.reflect.Method setOutputMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Class zephyrClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory newInstance(javax.xml.stream.XMLOutputFactory);
descriptor: (Ljavax/xml/stream/XMLOutputFactory;)Lcom/sun/xml/internal/ws/api/streaming/XMLStreamWriterFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
new java.io.StringWriter
dup
invokespecial java.io.StringWriter.<init>:()V
invokevirtual javax.xml.stream.XMLOutputFactory.createXMLStreamWriter:(Ljava/io/Writer;)Ljavax/xml/stream/XMLStreamWriter;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
ldc "com.sun.xml.internal.stream."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 3
2: aconst_null
areturn
3: StackMap locals: java.lang.Class
StackMap stack:
new com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr
dup
aload 0
aload 1
invokespecial com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr.<init>:(Ljavax/xml/stream/XMLOutputFactory;Ljava/lang/Class;)V
4: areturn
end local 1 5: StackMap locals: javax.xml.stream.XMLOutputFactory
StackMap stack: javax.xml.stream.XMLStreamException
pop
6: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 xof Ljavax/xml/stream/XMLOutputFactory;
1 5 1 clazz Ljava/lang/Class<*>;
Exception table:
from to target type
0 2 5 Class javax.xml.stream.XMLStreamException
3 4 5 Class javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
xof
private void <init>(javax.xml.stream.XMLOutputFactory, java.lang.Class);
descriptor: (Ljavax/xml/stream/XMLOutputFactory;Ljava/lang/Class;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory.<init>:()V
1: aload 0
new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putfield com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr.pool:Ljava/lang/ThreadLocal;
2: aload 0
aload 1
putfield com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr.xof:Ljavax/xml/stream/XMLOutputFactory;
3: aload 0
aload 2
putfield com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr.zephyrClass:Ljava/lang/Class;
4: aload 0
aload 2
ldc "setOutput"
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljavax/xml/transform/stream/StreamResult;
aastore
dup
iconst_1
ldc Ljava/lang/String;
aastore
invokestatic com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr.getMethod:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putfield com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr.setOutputMethod:Ljava/lang/reflect/Method;
5: aload 0
aload 2
ldc "reset"
iconst_0
anewarray java.lang.Class
invokestatic com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr.getMethod:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putfield com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr.resetMethod:Ljava/lang/reflect/Method;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/xml/internal/ws/api/streaming/XMLStreamWriterFactory$Zephyr;
0 7 1 xof Ljavax/xml/stream/XMLOutputFactory;
0 7 2 clazz Ljava/lang/Class;
MethodParameters:
Name Flags
xof
clazz
private static java.lang.reflect.Method getMethod(java.lang.Class<?>, java.lang.String, java.lang.Class<?>[]);
descriptor: (Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr$1
dup
aload 0
aload 1
aload 2
invokespecial com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr$1.<init>:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.reflect.Method
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 c Ljava/lang/Class<*>;
0 2 1 methodname Ljava/lang/String;
0 2 2 params [Ljava/lang/Class;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;[Ljava/lang/Class<*>;)Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
c final
methodname final
params final
private javax.xml.stream.XMLStreamWriter fetch();
descriptor: ()Ljavax/xml/stream/XMLStreamWriter;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr.pool:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast javax.xml.stream.XMLStreamWriter
astore 1
start local 1 1: aload 1
ifnonnull 2
aconst_null
areturn
2: StackMap locals: javax.xml.stream.XMLStreamWriter
StackMap stack:
aload 0
getfield com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr.pool:Ljava/lang/ThreadLocal;
aconst_null
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/ws/api/streaming/XMLStreamWriterFactory$Zephyr;
1 4 1 sr Ljavax/xml/stream/XMLStreamWriter;
RuntimeInvisibleAnnotations:
com.sun.istack.internal.Nullable()
public javax.xml.stream.XMLStreamWriter doCreate(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)Ljavax/xml/stream/XMLStreamWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "UTF-8"
invokevirtual com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr.doCreate:(Ljava/io/OutputStream;Ljava/lang/String;)Ljavax/xml/stream/XMLStreamWriter;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/ws/api/streaming/XMLStreamWriterFactory$Zephyr;
0 1 1 out Ljava/io/OutputStream;
MethodParameters:
Name Flags
out
public javax.xml.stream.XMLStreamWriter doCreate(java.io.OutputStream, java.lang.String);
descriptor: (Ljava/io/OutputStream;Ljava/lang/String;)Ljavax/xml/stream/XMLStreamWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr.fetch:()Ljavax/xml/stream/XMLStreamWriter;
astore 3
start local 3 1: aload 3
ifnull 9
2: aload 0
getfield com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr.resetMethod:Ljava/lang/reflect/Method;
aload 3
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
getfield com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr.setOutputMethod:Ljava/lang/reflect/Method;
aload 3
iconst_2
anewarray java.lang.Object
dup
iconst_0
new javax.xml.transform.stream.StreamResult
dup
aload 1
invokespecial javax.xml.transform.stream.StreamResult.<init>:(Ljava/io/OutputStream;)V
aastore
dup
iconst_1
aload 2
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
4: goto 13
StackMap locals: com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr java.io.OutputStream java.lang.String javax.xml.stream.XMLStreamWriter
StackMap stack: java.lang.IllegalAccessException
5: astore 4
start local 4 6: new com.sun.xml.internal.ws.streaming.XMLReaderException
dup
ldc "stax.cantCreate"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokespecial com.sun.xml.internal.ws.streaming.XMLReaderException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 4 7: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 4
start local 4 8: new com.sun.xml.internal.ws.streaming.XMLReaderException
dup
ldc "stax.cantCreate"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokespecial com.sun.xml.internal.ws.streaming.XMLReaderException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 4 9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr.xof:Ljavax/xml/stream/XMLOutputFactory;
aload 1
aload 2
invokevirtual javax.xml.stream.XMLOutputFactory.createXMLStreamWriter:(Ljava/io/OutputStream;Ljava/lang/String;)Ljavax/xml/stream/XMLStreamWriter;
astore 3
10: goto 13
StackMap locals:
StackMap stack: javax.xml.stream.XMLStreamException
11: astore 4
start local 4 12: new com.sun.xml.internal.ws.streaming.XMLReaderException
dup
ldc "stax.cantCreate"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokespecial com.sun.xml.internal.ws.streaming.XMLReaderException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 4 13: StackMap locals:
StackMap stack:
new com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$HasEncodingWriter
dup
aload 3
aload 2
invokespecial com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$HasEncodingWriter.<init>:(Ljavax/xml/stream/XMLStreamWriter;Ljava/lang/String;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/xml/internal/ws/api/streaming/XMLStreamWriterFactory$Zephyr;
0 14 1 out Ljava/io/OutputStream;
0 14 2 encoding Ljava/lang/String;
1 14 3 xsw Ljavax/xml/stream/XMLStreamWriter;
6 7 4 e Ljava/lang/IllegalAccessException;
8 9 4 e Ljava/lang/reflect/InvocationTargetException;
12 13 4 e Ljavax/xml/stream/XMLStreamException;
Exception table:
from to target type
2 4 5 Class java.lang.IllegalAccessException
2 4 7 Class java.lang.reflect.InvocationTargetException
9 10 11 Class javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
out
encoding
public void doRecycle(javax.xml.stream.XMLStreamWriter);
descriptor: (Ljavax/xml/stream/XMLStreamWriter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$HasEncodingWriter
ifeq 2
1: aload 1
checkcast com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$HasEncodingWriter
invokevirtual com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$HasEncodingWriter.getWriter:()Ljavax/xml/stream/XMLStreamWriter;
astore 1
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr.zephyrClass:Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 8
3: aload 1
invokeinterface javax.xml.stream.XMLStreamWriter.close:()V
4: goto 7
StackMap locals:
StackMap stack: javax.xml.stream.XMLStreamException
5: astore 2
start local 2 6: new javax.xml.ws.WebServiceException
dup
aload 2
invokespecial javax.xml.ws.WebServiceException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr.pool:Ljava/lang/ThreadLocal;
aload 1
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$RecycleAware
ifeq 10
9: aload 1
checkcast com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$RecycleAware
invokeinterface com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$RecycleAware.onRecycled:()V
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/xml/internal/ws/api/streaming/XMLStreamWriterFactory$Zephyr;
0 11 1 r Ljavax/xml/stream/XMLStreamWriter;
6 7 2 e Ljavax/xml/stream/XMLStreamException;
Exception table:
from to target type
3 4 5 Class javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
r
}
SourceFile: "XMLStreamWriterFactory.java"
NestHost: com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory
InnerClasses:
private HasEncodingWriter = com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$HasEncodingWriter of com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory
public abstract RecycleAware = com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$RecycleAware of com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory
public final Zephyr = com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr of com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory
com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory$Zephyr$1