public class com.sun.xml.internal.ws.streaming.XMLStreamWriterUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.ws.streaming.XMLStreamWriterUtil
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/ws/streaming/XMLStreamWriterUtil;
public static java.io.OutputStream getOutputStream(javax.xml.stream.XMLStreamWriter);
descriptor: (Ljavax/xml/stream/XMLStreamWriter;)Ljava/io/OutputStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
instanceof java.util.Map
ifeq 3
2: aload 0
checkcast java.util.Map
ldc "sjsxp-outputstream"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
3: StackMap locals: java.lang.Object
StackMap stack:
aload 1
ifnonnull 7
4: aload 0
ldc "com.ctc.wstx.outputUnderlyingStream"
invokeinterface javax.xml.stream.XMLStreamWriter.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
astore 1
5: goto 7
StackMap locals:
StackMap stack: java.lang.Exception
6: pop
7: StackMap locals:
StackMap stack:
aload 1
ifnonnull 11
8: aload 0
ldc "http://java.sun.com/xml/stream/properties/outputstream"
invokeinterface javax.xml.stream.XMLStreamWriter.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
astore 1
9: goto 11
StackMap locals:
StackMap stack: java.lang.Exception
10: pop
11: StackMap locals:
StackMap stack:
aload 1
ifnull 15
12: aload 0
ldc ""
invokeinterface javax.xml.stream.XMLStreamWriter.writeCharacters:(Ljava/lang/String;)V
13: aload 0
invokeinterface javax.xml.stream.XMLStreamWriter.flush:()V
14: aload 1
checkcast java.io.OutputStream
areturn
15: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 writer Ljavax/xml/stream/XMLStreamWriter;
1 16 1 obj Ljava/lang/Object;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
8 9 10 Class java.lang.Exception
Exceptions:
throws javax.xml.stream.XMLStreamException
RuntimeInvisibleAnnotations:
com.sun.istack.internal.Nullable()
MethodParameters:
Name Flags
writer
public static java.lang.String getEncoding(javax.xml.stream.XMLStreamWriter);
descriptor: (Ljavax/xml/stream/XMLStreamWriter;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof com.sun.xml.internal.ws.encoding.HasEncoding
ifeq 2
1: aload 0
checkcast com.sun.xml.internal.ws.encoding.HasEncoding
invokeinterface com.sun.xml.internal.ws.encoding.HasEncoding.getEncoding:()Ljava/lang/String;
goto 3
2: StackMap locals:
StackMap stack:
aconst_null
3: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 writer Ljavax/xml/stream/XMLStreamWriter;
RuntimeInvisibleAnnotations:
com.sun.istack.internal.Nullable()
MethodParameters:
Name Flags
writer
public static java.lang.String encodeQName(javax.xml.stream.XMLStreamWriter, javax.xml.namespace.QName, com.sun.xml.internal.ws.streaming.PrefixFactory);
descriptor: (Ljavax/xml/stream/XMLStreamWriter;Ljavax/xml/namespace/QName;Lcom/sun/xml/internal/ws/streaming/PrefixFactory;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
astore 3
start local 3 1: aload 1
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
astore 4
start local 4 2: aload 3
ifnull 3
aload 3
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
3: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 4
4: areturn
5: StackMap locals:
StackMap stack:
aload 0
aload 3
invokeinterface javax.xml.stream.XMLStreamWriter.getPrefix:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 6: aload 5
ifnonnull 9
7: aload 2
aload 3
invokeinterface com.sun.xml.internal.ws.streaming.PrefixFactory.getPrefix:(Ljava/lang/String;)Ljava/lang/String;
astore 5
8: aload 0
aload 5
aload 3
invokeinterface javax.xml.stream.XMLStreamWriter.writeNamespace:(Ljava/lang/String;Ljava/lang/String;)V
9: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: areturn
end local 5 end local 4 end local 3 11: StackMap locals: javax.xml.stream.XMLStreamWriter javax.xml.namespace.QName com.sun.xml.internal.ws.streaming.PrefixFactory
StackMap stack: javax.xml.stream.XMLStreamException
astore 3
start local 3 12: new java.lang.RuntimeException
dup
aload 3
invokespecial java.lang.RuntimeException.<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 13 0 writer Ljavax/xml/stream/XMLStreamWriter;
0 13 1 qname Ljavax/xml/namespace/QName;
0 13 2 prefixFactory Lcom/sun/xml/internal/ws/streaming/PrefixFactory;
1 11 3 namespaceURI Ljava/lang/String;
2 11 4 localPart Ljava/lang/String;
6 11 5 prefix Ljava/lang/String;
12 13 3 e Ljavax/xml/stream/XMLStreamException;
Exception table:
from to target type
0 4 11 Class javax.xml.stream.XMLStreamException
5 10 11 Class javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
writer
qname
prefixFactory
}
SourceFile: "XMLStreamWriterUtil.java"