public class com.ctc.wstx.stax.WstxOutputFactory extends org.codehaus.stax2.XMLOutputFactory2 implements com.ctc.wstx.cfg.OutputConfigFlags
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.ctc.wstx.stax.WstxOutputFactory
super_class: org.codehaus.stax2.XMLOutputFactory2
{
protected final com.ctc.wstx.api.WriterConfig mConfig;
descriptor: Lcom/ctc/wstx/api/WriterConfig;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.codehaus.stax2.XMLOutputFactory2.<init>:()V
1: aload 0
invokestatic com.ctc.wstx.api.WriterConfig.createFullDefaults:()Lcom/ctc/wstx/api/WriterConfig;
putfield com.ctc.wstx.stax.WstxOutputFactory.mConfig:Lcom/ctc/wstx/api/WriterConfig;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/stax/WstxOutputFactory;
public javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)Ljavax/xml/stream/XMLEventWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual com.ctc.wstx.stax.WstxOutputFactory.createXMLEventWriter:(Ljava/io/OutputStream;Ljava/lang/String;)Ljavax/xml/stream/XMLEventWriter;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/stax/WstxOutputFactory;
0 1 1 out Ljava/io/OutputStream;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
out
public javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.OutputStream, java.lang.String);
descriptor: (Ljava/io/OutputStream;Ljava/lang/String;)Ljavax/xml/stream/XMLEventWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Null OutputStream is not a valid argument"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new org.codehaus.stax2.ri.Stax2EventWriterImpl
dup
aload 0
aload 1
aconst_null
aload 2
iconst_0
invokevirtual com.ctc.wstx.stax.WstxOutputFactory.createSW:(Ljava/io/OutputStream;Ljava/io/Writer;Ljava/lang/String;Z)Lorg/codehaus/stax2/XMLStreamWriter2;
invokespecial org.codehaus.stax2.ri.Stax2EventWriterImpl.<init>:(Lorg/codehaus/stax2/XMLStreamWriter2;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/stax/WstxOutputFactory;
0 3 1 out Ljava/io/OutputStream;
0 3 2 enc Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
out
enc
public javax.xml.stream.XMLEventWriter createXMLEventWriter(javax.xml.transform.Result);
descriptor: (Ljavax/xml/transform/Result;)Ljavax/xml/stream/XMLEventWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.codehaus.stax2.ri.Stax2EventWriterImpl
dup
aload 0
aload 1
invokevirtual com.ctc.wstx.stax.WstxOutputFactory.createSW:(Ljavax/xml/transform/Result;)Lorg/codehaus/stax2/XMLStreamWriter2;
invokespecial org.codehaus.stax2.ri.Stax2EventWriterImpl.<init>:(Lorg/codehaus/stax2/XMLStreamWriter2;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/stax/WstxOutputFactory;
0 1 1 result Ljavax/xml/transform/Result;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
result
public javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.Writer);
descriptor: (Ljava/io/Writer;)Ljavax/xml/stream/XMLEventWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Null Writer is not a valid argument"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new org.codehaus.stax2.ri.Stax2EventWriterImpl
dup
aload 0
aconst_null
aload 1
aconst_null
iconst_0
invokevirtual com.ctc.wstx.stax.WstxOutputFactory.createSW:(Ljava/io/OutputStream;Ljava/io/Writer;Ljava/lang/String;Z)Lorg/codehaus/stax2/XMLStreamWriter2;
invokespecial org.codehaus.stax2.ri.Stax2EventWriterImpl.<init>:(Lorg/codehaus/stax2/XMLStreamWriter2;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/stax/WstxOutputFactory;
0 3 1 w Ljava/io/Writer;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
w
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(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
aconst_null
invokevirtual com.ctc.wstx.stax.WstxOutputFactory.createXMLStreamWriter:(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/ctc/wstx/stax/WstxOutputFactory;
0 1 1 out Ljava/io/OutputStream;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
out
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.OutputStream, java.lang.String);
descriptor: (Ljava/io/OutputStream;Ljava/lang/String;)Ljavax/xml/stream/XMLStreamWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Null OutputStream is not a valid argument"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aconst_null
aload 2
iconst_0
invokevirtual com.ctc.wstx.stax.WstxOutputFactory.createSW:(Ljava/io/OutputStream;Ljava/io/Writer;Ljava/lang/String;Z)Lorg/codehaus/stax2/XMLStreamWriter2;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/stax/WstxOutputFactory;
0 3 1 out Ljava/io/OutputStream;
0 3 2 enc Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
out
enc
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(javax.xml.transform.Result);
descriptor: (Ljavax/xml/transform/Result;)Ljavax/xml/stream/XMLStreamWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.ctc.wstx.stax.WstxOutputFactory.createSW:(Ljavax/xml/transform/Result;)Lorg/codehaus/stax2/XMLStreamWriter2;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/stax/WstxOutputFactory;
0 1 1 result Ljavax/xml/transform/Result;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
result
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.Writer);
descriptor: (Ljava/io/Writer;)Ljavax/xml/stream/XMLStreamWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Null Writer is not a valid argument"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
aload 1
aconst_null
iconst_0
invokevirtual com.ctc.wstx.stax.WstxOutputFactory.createSW:(Ljava/io/OutputStream;Ljava/io/Writer;Ljava/lang/String;Z)Lorg/codehaus/stax2/XMLStreamWriter2;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/stax/WstxOutputFactory;
0 3 1 w Ljava/io/Writer;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
w
public java.lang.Object getProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.stax.WstxOutputFactory.mConfig:Lcom/ctc/wstx/api/WriterConfig;
aload 1
invokevirtual com.ctc.wstx.api.WriterConfig.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/stax/WstxOutputFactory;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public boolean isPropertySupported(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.stax.WstxOutputFactory.mConfig:Lcom/ctc/wstx/api/WriterConfig;
aload 1
invokevirtual com.ctc.wstx.api.WriterConfig.isPropertySupported:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/stax/WstxOutputFactory;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void setProperty(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.ctc.wstx.stax.WstxOutputFactory.mConfig:Lcom/ctc/wstx/api/WriterConfig;
aload 1
aload 2
invokevirtual com.ctc.wstx.api.WriterConfig.setProperty:(Ljava/lang/String;Ljava/lang/Object;)Z
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/stax/WstxOutputFactory;
0 2 1 name Ljava/lang/String;
0 2 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
name
value
public javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.Writer, java.lang.String);
descriptor: (Ljava/io/Writer;Ljava/lang/String;)Ljavax/xml/stream/XMLEventWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.codehaus.stax2.ri.Stax2EventWriterImpl
dup
aload 0
aconst_null
aload 1
aload 2
iconst_0
invokevirtual com.ctc.wstx.stax.WstxOutputFactory.createSW:(Ljava/io/OutputStream;Ljava/io/Writer;Ljava/lang/String;Z)Lorg/codehaus/stax2/XMLStreamWriter2;
invokespecial org.codehaus.stax2.ri.Stax2EventWriterImpl.<init>:(Lorg/codehaus/stax2/XMLStreamWriter2;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/stax/WstxOutputFactory;
0 1 1 w Ljava/io/Writer;
0 1 2 enc Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
w
enc
public javax.xml.stream.XMLEventWriter createXMLEventWriter(javax.xml.stream.XMLStreamWriter);
descriptor: (Ljavax/xml/stream/XMLStreamWriter;)Ljavax/xml/stream/XMLEventWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.codehaus.stax2.ri.Stax2WriterAdapter.wrapIfNecessary:(Ljavax/xml/stream/XMLStreamWriter;)Lorg/codehaus/stax2/XMLStreamWriter2;
astore 2
start local 2 1: new org.codehaus.stax2.ri.Stax2EventWriterImpl
dup
aload 2
invokespecial org.codehaus.stax2.ri.Stax2EventWriterImpl.<init>:(Lorg/codehaus/stax2/XMLStreamWriter2;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/stax/WstxOutputFactory;
0 2 1 sw Ljavax/xml/stream/XMLStreamWriter;
1 2 2 sw2 Lorg/codehaus/stax2/XMLStreamWriter2;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
sw
public org.codehaus.stax2.XMLStreamWriter2 createXMLStreamWriter(java.io.Writer, java.lang.String);
descriptor: (Ljava/io/Writer;Ljava/lang/String;)Lorg/codehaus/stax2/XMLStreamWriter2;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
aload 1
aload 2
iconst_0
invokevirtual com.ctc.wstx.stax.WstxOutputFactory.createSW:(Ljava/io/OutputStream;Ljava/io/Writer;Ljava/lang/String;Z)Lorg/codehaus/stax2/XMLStreamWriter2;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/stax/WstxOutputFactory;
0 1 1 w Ljava/io/Writer;
0 1 2 enc Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
w
enc
public void configureForXmlConformance();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.stax.WstxOutputFactory.mConfig:Lcom/ctc/wstx/api/WriterConfig;
invokevirtual com.ctc.wstx.api.WriterConfig.configureForXmlConformance:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/stax/WstxOutputFactory;
public void configureForRobustness();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.stax.WstxOutputFactory.mConfig:Lcom/ctc/wstx/api/WriterConfig;
invokevirtual com.ctc.wstx.api.WriterConfig.configureForRobustness:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/stax/WstxOutputFactory;
public void configureForSpeed();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.stax.WstxOutputFactory.mConfig:Lcom/ctc/wstx/api/WriterConfig;
invokevirtual com.ctc.wstx.api.WriterConfig.configureForSpeed:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/stax/WstxOutputFactory;
public com.ctc.wstx.api.WriterConfig getConfig();
descriptor: ()Lcom/ctc/wstx/api/WriterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.stax.WstxOutputFactory.mConfig:Lcom/ctc/wstx/api/WriterConfig;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/stax/WstxOutputFactory;
private org.codehaus.stax2.XMLStreamWriter2 createSW(java.io.OutputStream, java.io.Writer, java.lang.String, boolean);
descriptor: (Ljava/io/OutputStream;Ljava/io/Writer;Ljava/lang/String;Z)Lorg/codehaus/stax2/XMLStreamWriter2;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield com.ctc.wstx.stax.WstxOutputFactory.mConfig:Lcom/ctc/wstx/api/WriterConfig;
invokevirtual com.ctc.wstx.api.WriterConfig.createNonShared:()Lcom/ctc/wstx/api/WriterConfig;
astore 5
start local 5 1: iload 4
ifne 2
aload 0
getfield com.ctc.wstx.stax.WstxOutputFactory.mConfig:Lcom/ctc/wstx/api/WriterConfig;
invokevirtual com.ctc.wstx.api.WriterConfig.willAutoCloseOutput:()Z
ifne 2
iconst_0
goto 3
StackMap locals: com.ctc.wstx.api.WriterConfig
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: istore 7
start local 7 4: aload 2
ifnonnull 27
5: aload 3
ifnonnull 8
6: ldc "UTF-8"
astore 3
7: goto 12
8: StackMap locals: com.ctc.wstx.stax.WstxOutputFactory java.io.OutputStream java.io.Writer java.lang.String int com.ctc.wstx.api.WriterConfig top int
StackMap stack:
aload 3
ldc "UTF-8"
if_acmpeq 12
9: aload 3
ldc "ISO-8859-1"
if_acmpeq 12
10: aload 3
ldc "US-ASCII"
if_acmpeq 12
11: aload 3
invokestatic com.ctc.wstx.io.CharsetNames.normalize:(Ljava/lang/String;)Ljava/lang/String;
astore 3
12: StackMap locals:
StackMap stack:
aload 3
ldc "UTF-8"
if_acmpne 16
13: new com.ctc.wstx.io.UTF8Writer
dup
aload 5
aload 1
iload 7
invokespecial com.ctc.wstx.io.UTF8Writer.<init>:(Lcom/ctc/wstx/api/WriterConfig;Ljava/io/OutputStream;Z)V
astore 2
14: new com.ctc.wstx.sw.BufferingXmlWriter
dup
aload 2
aload 5
aload 3
iload 7
aload 1
bipush 16
invokespecial com.ctc.wstx.sw.BufferingXmlWriter.<init>:(Ljava/io/Writer;Lcom/ctc/wstx/api/WriterConfig;Ljava/lang/String;ZLjava/io/OutputStream;I)V
astore 6
start local 6 15: goto 33
end local 6 StackMap locals:
StackMap stack:
16: aload 3
ldc "ISO-8859-1"
if_acmpne 19
17: new com.ctc.wstx.sw.ISOLatin1XmlWriter
dup
aload 1
aload 5
iload 7
invokespecial com.ctc.wstx.sw.ISOLatin1XmlWriter.<init>:(Ljava/io/OutputStream;Lcom/ctc/wstx/api/WriterConfig;Z)V
astore 6
start local 6 18: goto 33
end local 6 StackMap locals:
StackMap stack:
19: aload 3
ldc "US-ASCII"
if_acmpne 22
20: new com.ctc.wstx.sw.AsciiXmlWriter
dup
aload 1
aload 5
iload 7
invokespecial com.ctc.wstx.sw.AsciiXmlWriter.<init>:(Ljava/io/OutputStream;Lcom/ctc/wstx/api/WriterConfig;Z)V
astore 6
start local 6 21: goto 33
end local 6 22: StackMap locals:
StackMap stack:
new java.io.OutputStreamWriter
dup
aload 1
aload 3
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;Ljava/lang/String;)V
astore 2
23: new com.ctc.wstx.sw.BufferingXmlWriter
dup
aload 2
aload 5
aload 3
iload 7
aload 1
iconst_m1
invokespecial com.ctc.wstx.sw.BufferingXmlWriter.<init>:(Ljava/io/Writer;Lcom/ctc/wstx/api/WriterConfig;Ljava/lang/String;ZLjava/io/OutputStream;I)V
astore 6
start local 6 24: goto 33
end local 6 StackMap locals:
StackMap stack: java.io.IOException
25: astore 8
start local 8 26: new javax.xml.stream.XMLStreamException
dup
aload 8
invokespecial javax.xml.stream.XMLStreamException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 8 27: StackMap locals:
StackMap stack:
aload 3
ifnonnull 29
28: aload 2
invokestatic com.ctc.wstx.io.CharsetNames.findEncodingFor:(Ljava/io/Writer;)Ljava/lang/String;
astore 3
29: StackMap locals:
StackMap stack:
new com.ctc.wstx.sw.BufferingXmlWriter
dup
aload 2
aload 5
aload 3
iload 7
aconst_null
iconst_m1
invokespecial com.ctc.wstx.sw.BufferingXmlWriter.<init>:(Ljava/io/Writer;Lcom/ctc/wstx/api/WriterConfig;Ljava/lang/String;ZLjava/io/OutputStream;I)V
astore 6
start local 6 30: goto 33
end local 6 StackMap locals:
StackMap stack: java.io.IOException
31: astore 8
start local 8 32: new javax.xml.stream.XMLStreamException
dup
aload 8
invokespecial javax.xml.stream.XMLStreamException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 8 start local 6 33: StackMap locals: com.ctc.wstx.stax.WstxOutputFactory java.io.OutputStream java.io.Writer java.lang.String int com.ctc.wstx.api.WriterConfig com.ctc.wstx.sw.XmlWriter int
StackMap stack:
aload 0
aload 3
aload 5
aload 6
invokevirtual com.ctc.wstx.stax.WstxOutputFactory.createSW:(Ljava/lang/String;Lcom/ctc/wstx/api/WriterConfig;Lcom/ctc/wstx/sw/XmlWriter;)Lorg/codehaus/stax2/XMLStreamWriter2;
areturn
end local 7 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 34 0 this Lcom/ctc/wstx/stax/WstxOutputFactory;
0 34 1 out Ljava/io/OutputStream;
0 34 2 w Ljava/io/Writer;
0 34 3 enc Ljava/lang/String;
0 34 4 requireAutoClose Z
1 34 5 cfg Lcom/ctc/wstx/api/WriterConfig;
15 16 6 xw Lcom/ctc/wstx/sw/XmlWriter;
18 19 6 xw Lcom/ctc/wstx/sw/XmlWriter;
21 22 6 xw Lcom/ctc/wstx/sw/XmlWriter;
24 25 6 xw Lcom/ctc/wstx/sw/XmlWriter;
30 31 6 xw Lcom/ctc/wstx/sw/XmlWriter;
33 34 6 xw Lcom/ctc/wstx/sw/XmlWriter;
4 34 7 autoCloseOutput Z
26 27 8 ex Ljava/io/IOException;
32 33 8 ex Ljava/io/IOException;
Exception table:
from to target type
12 24 25 Class java.io.IOException
29 30 31 Class java.io.IOException
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
out
w
enc
requireAutoClose
protected org.codehaus.stax2.XMLStreamWriter2 createSW(java.lang.String, com.ctc.wstx.api.WriterConfig, com.ctc.wstx.sw.XmlWriter);
descriptor: (Ljava/lang/String;Lcom/ctc/wstx/api/WriterConfig;Lcom/ctc/wstx/sw/XmlWriter;)Lorg/codehaus/stax2/XMLStreamWriter2;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual com.ctc.wstx.api.WriterConfig.willSupportNamespaces:()Z
ifeq 4
1: aload 2
invokevirtual com.ctc.wstx.api.WriterConfig.automaticNamespacesEnabled:()Z
ifeq 3
2: new com.ctc.wstx.sw.RepairingNsStreamWriter
dup
aload 3
aload 1
aload 2
invokespecial com.ctc.wstx.sw.RepairingNsStreamWriter.<init>:(Lcom/ctc/wstx/sw/XmlWriter;Ljava/lang/String;Lcom/ctc/wstx/api/WriterConfig;)V
areturn
3: StackMap locals:
StackMap stack:
new com.ctc.wstx.sw.SimpleNsStreamWriter
dup
aload 3
aload 1
aload 2
invokespecial com.ctc.wstx.sw.SimpleNsStreamWriter.<init>:(Lcom/ctc/wstx/sw/XmlWriter;Ljava/lang/String;Lcom/ctc/wstx/api/WriterConfig;)V
areturn
4: StackMap locals:
StackMap stack:
new com.ctc.wstx.sw.NonNsStreamWriter
dup
aload 3
aload 1
aload 2
invokespecial com.ctc.wstx.sw.NonNsStreamWriter.<init>:(Lcom/ctc/wstx/sw/XmlWriter;Ljava/lang/String;Lcom/ctc/wstx/api/WriterConfig;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/ctc/wstx/stax/WstxOutputFactory;
0 5 1 enc Ljava/lang/String;
0 5 2 cfg Lcom/ctc/wstx/api/WriterConfig;
0 5 3 xw Lcom/ctc/wstx/sw/XmlWriter;
MethodParameters:
Name Flags
enc
cfg
xw
private org.codehaus.stax2.XMLStreamWriter2 createSW(javax.xml.transform.Result);
descriptor: (Ljavax/xml/transform/Result;)Lorg/codehaus/stax2/XMLStreamWriter2;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aconst_null
astore 4
start local 4 3: aconst_null
astore 6
start local 6 4: aload 1
instanceof org.codehaus.stax2.io.Stax2Result
ifeq 14
5: aload 1
checkcast org.codehaus.stax2.io.Stax2Result
astore 7
start local 7 6: aload 7
invokevirtual org.codehaus.stax2.io.Stax2Result.constructOutputStream:()Ljava/io/OutputStream;
astore 2
7: aload 2
ifnonnull 12
8: aload 7
invokevirtual org.codehaus.stax2.io.Stax2Result.constructWriter:()Ljava/io/Writer;
astore 3
9: goto 12
StackMap locals: com.ctc.wstx.stax.WstxOutputFactory javax.xml.transform.Result java.io.OutputStream java.io.Writer java.lang.String top java.lang.String org.codehaus.stax2.io.Stax2Result
StackMap stack: java.io.IOException
10: astore 8
start local 8 11: new com.ctc.wstx.exc.WstxIOException
dup
aload 8
invokespecial com.ctc.wstx.exc.WstxIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 8 12: StackMap locals:
StackMap stack:
iconst_1
istore 5
end local 7 start local 5 13: goto 32
end local 5 StackMap locals:
StackMap stack:
14: aload 1
instanceof javax.xml.transform.stream.StreamResult
ifeq 22
15: aload 1
checkcast javax.xml.transform.stream.StreamResult
astore 7
start local 7 16: aload 7
invokevirtual javax.xml.transform.stream.StreamResult.getOutputStream:()Ljava/io/OutputStream;
astore 2
17: aload 7
invokevirtual javax.xml.transform.stream.StreamResult.getSystemId:()Ljava/lang/String;
astore 6
18: aload 2
ifnonnull 20
19: aload 7
invokevirtual javax.xml.transform.stream.StreamResult.getWriter:()Ljava/io/Writer;
astore 3
20: StackMap locals: javax.xml.transform.stream.StreamResult
StackMap stack:
iconst_0
istore 5
end local 7 start local 5 21: goto 32
end local 5 StackMap locals:
StackMap stack:
22: aload 1
instanceof javax.xml.transform.sax.SAXResult
ifeq 29
23: aload 1
checkcast javax.xml.transform.sax.SAXResult
astore 7
start local 7 24: aload 7
invokevirtual javax.xml.transform.sax.SAXResult.getSystemId:()Ljava/lang/String;
astore 6
25: aload 6
ifnull 26
aload 6
invokevirtual java.lang.String.length:()I
ifne 27
26: StackMap locals: javax.xml.transform.sax.SAXResult
StackMap stack:
new javax.xml.stream.XMLStreamException
dup
ldc "Can not create a stream writer for a SAXResult that does not have System Id (support for using SAX input source not implemented)"
invokespecial javax.xml.stream.XMLStreamException.<init>:(Ljava/lang/String;)V
athrow
27: StackMap locals:
StackMap stack:
iconst_1
istore 5
end local 7 start local 5 28: goto 32
end local 5 StackMap locals:
StackMap stack:
29: aload 1
instanceof javax.xml.transform.dom.DOMResult
ifeq 31
30: aload 0
getfield com.ctc.wstx.stax.WstxOutputFactory.mConfig:Lcom/ctc/wstx/api/WriterConfig;
invokevirtual com.ctc.wstx.api.WriterConfig.createNonShared:()Lcom/ctc/wstx/api/WriterConfig;
aload 1
checkcast javax.xml.transform.dom.DOMResult
invokestatic com.ctc.wstx.dom.WstxDOMWrappingWriter.createFrom:(Lcom/ctc/wstx/api/WriterConfig;Ljavax/xml/transform/dom/DOMResult;)Lcom/ctc/wstx/dom/WstxDOMWrappingWriter;
areturn
31: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Can not instantiate a writer for XML result type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " (unrecognized type)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
start local 5 32: StackMap locals: com.ctc.wstx.stax.WstxOutputFactory javax.xml.transform.Result java.io.OutputStream java.io.Writer java.lang.String int java.lang.String
StackMap stack:
aload 2
ifnull 34
33: aload 0
aload 2
aconst_null
aload 4
iload 5
invokevirtual com.ctc.wstx.stax.WstxOutputFactory.createSW:(Ljava/io/OutputStream;Ljava/io/Writer;Ljava/lang/String;Z)Lorg/codehaus/stax2/XMLStreamWriter2;
areturn
34: StackMap locals:
StackMap stack:
aload 3
ifnull 36
35: aload 0
aconst_null
aload 3
aload 4
iload 5
invokevirtual com.ctc.wstx.stax.WstxOutputFactory.createSW:(Ljava/io/OutputStream;Ljava/io/Writer;Ljava/lang/String;Z)Lorg/codehaus/stax2/XMLStreamWriter2;
areturn
36: StackMap locals:
StackMap stack:
aload 6
ifnull 43
aload 6
invokevirtual java.lang.String.length:()I
ifle 43
37: iconst_1
istore 5
38: aload 6
invokestatic com.ctc.wstx.util.URLUtil.urlFromSystemId:(Ljava/lang/String;)Ljava/net/URL;
invokestatic com.ctc.wstx.util.URLUtil.outputStreamFromURL:(Ljava/net/URL;)Ljava/io/OutputStream;
astore 2
39: goto 42
StackMap locals:
StackMap stack: java.io.IOException
40: astore 7
start local 7 41: new com.ctc.wstx.exc.WstxIOException
dup
aload 7
invokespecial com.ctc.wstx.exc.WstxIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 7 42: StackMap locals:
StackMap stack:
aload 0
aload 2
aconst_null
aload 4
iload 5
invokevirtual com.ctc.wstx.stax.WstxOutputFactory.createSW:(Ljava/io/OutputStream;Ljava/io/Writer;Ljava/lang/String;Z)Lorg/codehaus/stax2/XMLStreamWriter2;
areturn
43: StackMap locals:
StackMap stack:
new javax.xml.stream.XMLStreamException
dup
ldc "Can not create Stax writer for passed-in Result -- neither writer, output stream or system id was accessible"
invokespecial javax.xml.stream.XMLStreamException.<init>:(Ljava/lang/String;)V
athrow
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 44 0 this Lcom/ctc/wstx/stax/WstxOutputFactory;
0 44 1 res Ljavax/xml/transform/Result;
1 44 2 out Ljava/io/OutputStream;
2 44 3 w Ljava/io/Writer;
3 44 4 encoding Ljava/lang/String;
13 14 5 requireAutoClose Z
21 22 5 requireAutoClose Z
28 29 5 requireAutoClose Z
32 44 5 requireAutoClose Z
4 44 6 sysId Ljava/lang/String;
6 13 7 sr Lorg/codehaus/stax2/io/Stax2Result;
11 12 8 ioe Ljava/io/IOException;
16 21 7 sr Ljavax/xml/transform/stream/StreamResult;
24 28 7 sr Ljavax/xml/transform/sax/SAXResult;
41 42 7 ioe Ljava/io/IOException;
Exception table:
from to target type
6 9 10 Class java.io.IOException
38 39 40 Class java.io.IOException
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
res
}
SourceFile: "WstxOutputFactory.java"