public class com.sun.xml.internal.messaging.saaj.soap.XmlDataContentHandler implements javax.activation.DataContentHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.messaging.saaj.soap.XmlDataContentHandler
super_class: java.lang.Object
{
public static final java.lang.String STR_SRC;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "javax.xml.transform.stream.StreamSource"
private static java.lang.Class<?> streamSourceClass;
descriptor: Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/lang/Class<*>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
putstatic com.sun.xml.internal.messaging.saaj.soap.XmlDataContentHandler.streamSourceClass:Ljava/lang/Class;
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
1: getstatic com.sun.xml.internal.messaging.saaj.soap.XmlDataContentHandler.streamSourceClass:Ljava/lang/Class;
ifnonnull 3
2: ldc "javax.xml.transform.stream.StreamSource"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
putstatic com.sun.xml.internal.messaging.saaj.soap.XmlDataContentHandler.streamSourceClass:Ljava/lang/Class;
3: StackMap locals: com.sun.xml.internal.messaging.saaj.soap.XmlDataContentHandler
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/messaging/saaj/soap/XmlDataContentHandler;
Exceptions:
throws java.lang.ClassNotFoundException
public DataFlavor[] getTransferDataFlavors();
descriptor: ()[LDataFlavor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tDataFlavor cannot be resolved to a type\n\tDataFlavor cannot be resolved to a type\n\tDataFlavor cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/messaging/saaj/soap/XmlDataContentHandler;
public java.lang.Object getTransferData(DataFlavor, javax.activation.DataSource);
descriptor: (LDataFlavor;Ljavax/activation/DataSource;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tDataFlavor cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/messaging/saaj/soap/XmlDataContentHandler;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
flavor
dataSource
public java.lang.Object getContent(javax.activation.DataSource);
descriptor: (Ljavax/activation/DataSource;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new javax.xml.transform.stream.StreamSource
dup
aload 1
invokeinterface javax.activation.DataSource.getInputStream:()Ljava/io/InputStream;
invokespecial javax.xml.transform.stream.StreamSource.<init>:(Ljava/io/InputStream;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/messaging/saaj/soap/XmlDataContentHandler;
0 1 1 dataSource Ljavax/activation/DataSource;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dataSource
public void writeTo(java.lang.Object, java.lang.String, java.io.OutputStream);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ldc "text/xml"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 4
aload 2
ldc "application/xml"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 4
1: new java.io.IOException
dup
2: new java.lang.StringBuilder
dup
ldc "Invalid content type \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" for XmlDCH"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
invokestatic com.sun.xml.internal.messaging.saaj.util.transform.EfficientStreamingTransformer.newTransformer:()Ljavax/xml/transform/Transformer;
astore 4
start local 4 5: new javax.xml.transform.stream.StreamResult
dup
aload 3
invokespecial javax.xml.transform.stream.StreamResult.<init>:(Ljava/io/OutputStream;)V
astore 5
start local 5 6: aload 1
instanceof javax.activation.DataSource
ifeq 9
7: aload 4
aload 0
aload 1
checkcast javax.activation.DataSource
invokevirtual com.sun.xml.internal.messaging.saaj.soap.XmlDataContentHandler.getContent:(Ljavax/activation/DataSource;)Ljava/lang/Object;
checkcast javax.xml.transform.Source
aload 5
invokevirtual javax.xml.transform.Transformer.transform:(Ljavax/xml/transform/Source;Ljavax/xml/transform/Result;)V
8: goto 22
9: StackMap locals: javax.xml.transform.Transformer javax.xml.transform.stream.StreamResult
StackMap stack:
aconst_null
astore 6
start local 6 10: aload 1
instanceof java.lang.String
ifeq 13
11: new javax.xml.transform.stream.StreamSource
dup
new java.io.StringReader
dup
aload 1
checkcast java.lang.String
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
invokespecial javax.xml.transform.stream.StreamSource.<init>:(Ljava/io/Reader;)V
astore 6
12: goto 14
13: StackMap locals: javax.xml.transform.Source
StackMap stack:
aload 1
checkcast javax.xml.transform.Source
astore 6
14: StackMap locals:
StackMap stack:
aload 4
aload 6
aload 5
invokevirtual javax.xml.transform.Transformer.transform:(Ljavax/xml/transform/Source;Ljavax/xml/transform/Result;)V
end local 6 end local 5 end local 4 15: goto 22
StackMap locals: com.sun.xml.internal.messaging.saaj.soap.XmlDataContentHandler java.lang.Object java.lang.String java.io.OutputStream
StackMap stack: java.lang.Exception
16: astore 4
start local 4 17: new java.io.IOException
dup
18: new java.lang.StringBuilder
dup
ldc "Unable to run the JAXP transformer on a stream "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
19: aload 4
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
20: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
21: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 4 22: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/sun/xml/internal/messaging/saaj/soap/XmlDataContentHandler;
0 23 1 obj Ljava/lang/Object;
0 23 2 mimeType Ljava/lang/String;
0 23 3 os Ljava/io/OutputStream;
5 15 4 transformer Ljavax/xml/transform/Transformer;
6 15 5 result Ljavax/xml/transform/stream/StreamResult;
10 15 6 src Ljavax/xml/transform/Source;
17 22 4 ex Ljava/lang/Exception;
Exception table:
from to target type
4 15 16 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
obj
mimeType
os
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor, javax.activation.DataSource);
descriptor: (Ljava/awt/datatransfer/DataFlavor;Ljavax/activation/DataSource;)Ljava/lang/Object;
flags: (0x1001) ACC_PUBLIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe type XmlDataContentHandler must implement the inherited abstract method DataContentHandler.getTransferData(DataFlavor, DataSource)\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.awt.datatransfer.UnsupportedFlavorException, java.io.IOException
MethodParameters:
Name Flags
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors();
descriptor: ()[Ljava/awt/datatransfer/DataFlavor;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.sun.xml.internal.messaging.saaj.soap.XmlDataContentHandler.getTransferDataFlavors:()[LDataFlavor;
checkcast java.awt.datatransfer.DataFlavor[]
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "XmlDataContentHandler.java"