public final class com.sun.xml.internal.ws.encoding.xml.XMLCodec implements com.sun.xml.internal.ws.api.pipe.Codec
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.xml.internal.ws.encoding.xml.XMLCodec
super_class: java.lang.Object
{
public static final java.lang.String XML_APPLICATION_MIME_TYPE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "application/xml"
public static final java.lang.String XML_TEXT_MIME_TYPE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "text/xml"
private static final com.sun.xml.internal.ws.api.pipe.ContentType contentType;
descriptor: Lcom/sun/xml/internal/ws/api/pipe/ContentType;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private com.sun.xml.internal.ws.api.WSFeatureList features;
descriptor: Lcom/sun/xml/internal/ws/api/WSFeatureList;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.sun.xml.internal.ws.encoding.ContentTypeImpl
dup
ldc "text/xml"
invokespecial com.sun.xml.internal.ws.encoding.ContentTypeImpl.<init>:(Ljava/lang/String;)V
putstatic com.sun.xml.internal.ws.encoding.xml.XMLCodec.contentType:Lcom/sun/xml/internal/ws/api/pipe/ContentType;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(com.sun.xml.internal.ws.api.WSFeatureList);
descriptor: (Lcom/sun/xml/internal/ws/api/WSFeatureList;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.xml.internal.ws.encoding.xml.XMLCodec.features:Lcom/sun/xml/internal/ws/api/WSFeatureList;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/ws/encoding/xml/XMLCodec;
0 3 1 f Lcom/sun/xml/internal/ws/api/WSFeatureList;
MethodParameters:
Name Flags
f
public java.lang.String getMimeType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "application/xml"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/ws/encoding/xml/XMLCodec;
public com.sun.xml.internal.ws.api.pipe.ContentType getStaticContentType(com.sun.xml.internal.ws.api.message.Packet);
descriptor: (Lcom/sun/xml/internal/ws/api/message/Packet;)Lcom/sun/xml/internal/ws/api/pipe/ContentType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.xml.internal.ws.encoding.xml.XMLCodec.contentType:Lcom/sun/xml/internal/ws/api/pipe/ContentType;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/ws/encoding/xml/XMLCodec;
0 1 1 packet Lcom/sun/xml/internal/ws/api/message/Packet;
MethodParameters:
Name Flags
packet
public com.sun.xml.internal.ws.api.pipe.ContentType encode(com.sun.xml.internal.ws.api.message.Packet, java.io.OutputStream);
descriptor: (Lcom/sun/xml/internal/ws/api/message/Packet;Ljava/io/OutputStream;)Lcom/sun/xml/internal/ws/api/pipe/ContentType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield com.sun.xml.internal.ws.api.message.Packet.invocationProperties:Ljava/util/Map;
1: ldc "com.sun.jaxws.rest.contenttype"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
2: astore 3
start local 3 3: aconst_null
astore 4
start local 4 4: aload 3
ifnull 7
aload 3
invokevirtual java.lang.String.length:()I
ifle 7
5: aload 2
aload 3
invokestatic com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory.create:(Ljava/io/OutputStream;Ljava/lang/String;)Ljavax/xml/stream/XMLStreamWriter;
astore 4
6: goto 8
7: StackMap locals: java.lang.String javax.xml.stream.XMLStreamWriter
StackMap stack:
aload 2
invokestatic com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory.create:(Ljava/io/OutputStream;)Ljavax/xml/stream/XMLStreamWriter;
astore 4
8: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.xml.internal.ws.api.message.Packet.getMessage:()Lcom/sun/xml/internal/ws/api/message/Message;
invokevirtual com.sun.xml.internal.ws.api.message.Message.hasPayload:()Z
ifeq 15
9: aload 4
invokeinterface javax.xml.stream.XMLStreamWriter.writeStartDocument:()V
10: aload 1
invokevirtual com.sun.xml.internal.ws.api.message.Packet.getMessage:()Lcom/sun/xml/internal/ws/api/message/Message;
aload 4
invokevirtual com.sun.xml.internal.ws.api.message.Message.writePayloadTo:(Ljavax/xml/stream/XMLStreamWriter;)V
11: aload 4
invokeinterface javax.xml.stream.XMLStreamWriter.flush:()V
12: goto 15
StackMap locals:
StackMap stack: javax.xml.stream.XMLStreamException
13: astore 5
start local 5 14: new javax.xml.ws.WebServiceException
dup
aload 5
invokespecial javax.xml.ws.WebServiceException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 15: StackMap locals:
StackMap stack:
getstatic com.sun.xml.internal.ws.encoding.xml.XMLCodec.contentType:Lcom/sun/xml/internal/ws/api/pipe/ContentType;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/xml/internal/ws/encoding/xml/XMLCodec;
0 16 1 packet Lcom/sun/xml/internal/ws/api/message/Packet;
0 16 2 out Ljava/io/OutputStream;
3 16 3 encoding Ljava/lang/String;
4 16 4 writer Ljavax/xml/stream/XMLStreamWriter;
14 15 5 e Ljavax/xml/stream/XMLStreamException;
Exception table:
from to target type
8 12 13 Class javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
packet
out
public com.sun.xml.internal.ws.api.pipe.ContentType encode(com.sun.xml.internal.ws.api.message.Packet, java.nio.channels.WritableByteChannel);
descriptor: (Lcom/sun/xml/internal/ws/api/message/Packet;Ljava/nio/channels/WritableByteChannel;)Lcom/sun/xml/internal/ws/api/pipe/ContentType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/ws/encoding/xml/XMLCodec;
0 1 1 packet Lcom/sun/xml/internal/ws/api/message/Packet;
0 1 2 buffer Ljava/nio/channels/WritableByteChannel;
MethodParameters:
Name Flags
packet
buffer
public com.sun.xml.internal.ws.api.pipe.Codec copy();
descriptor: ()Lcom/sun/xml/internal/ws/api/pipe/Codec;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/ws/encoding/xml/XMLCodec;
public void decode(java.io.InputStream, java.lang.String, com.sun.xml.internal.ws.api.message.Packet);
descriptor: (Ljava/io/InputStream;Ljava/lang/String;Lcom/sun/xml/internal/ws/api/message/Packet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
aload 1
aload 0
getfield com.sun.xml.internal.ws.encoding.xml.XMLCodec.features:Lcom/sun/xml/internal/ws/api/WSFeatureList;
invokestatic com.sun.xml.internal.ws.encoding.xml.XMLMessage.create:(Ljava/lang/String;Ljava/io/InputStream;Lcom/sun/xml/internal/ws/api/WSFeatureList;)Lcom/sun/xml/internal/ws/api/message/Message;
astore 4
start local 4 1: aload 3
aload 4
invokevirtual com.sun.xml.internal.ws.api.message.Packet.setMessage:(Lcom/sun/xml/internal/ws/api/message/Message;)V
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/ws/encoding/xml/XMLCodec;
0 3 1 in Ljava/io/InputStream;
0 3 2 contentType Ljava/lang/String;
0 3 3 packet Lcom/sun/xml/internal/ws/api/message/Packet;
1 3 4 message Lcom/sun/xml/internal/ws/api/message/Message;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
contentType
packet
public void decode(java.nio.channels.ReadableByteChannel, java.lang.String, com.sun.xml.internal.ws.api.message.Packet);
descriptor: (Ljava/nio/channels/ReadableByteChannel;Ljava/lang/String;Lcom/sun/xml/internal/ws/api/message/Packet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/ws/encoding/xml/XMLCodec;
0 1 1 in Ljava/nio/channels/ReadableByteChannel;
0 1 2 contentType Ljava/lang/String;
0 1 3 packet Lcom/sun/xml/internal/ws/api/message/Packet;
MethodParameters:
Name Flags
in
contentType
packet
}
SourceFile: "XMLCodec.java"